DIY – WiFi Shield for GR-KURUMI

I tried to make the WiFi Shield for GR-KURUMI.
For GR-KURUMI WiFi shield,  WizFi250 is select as WiFi module which provides UART-to-WiFi and SPI-to-WiFi.
To test simply, FI250 library which is selected UART interface for Host Interface is used as WiFi Library.
Ref. : Comparison of WizFi250 (WiFi Module) Shield / Library in WIZnet and Seeeduino

GR-KURUMI and WizFi250  could be connect to “Serial1”: serial1 is UART interfae which is consist TXD(7) and RXD.(8) as below GR-KURUMI Pin map.

GR-KURUMI Pin Map

GR-KURUMI Pin Map

 

1. Hardware

  • Hardware conntections

GR-KURUMI

WizFi250

7

TXD:JP2

8

RXD:JP2

GND

GND

VCC

TP2

Follow these steps to connect the actual, is as shown in the following figure.

WiFi Shield for GR-KURUMI

1. prepare GR-KURUMI, WizFi250, WizFi250-EVB, FTDI board, Bread board, Ext. Anttena

Wiz250 (WiFi Shield) top for GR-KURUMI

2. connect TP2 to 3.3V in JP5 for 3.3 power input of GR-KURUMI

Wiz250 (WiFi Shield) bottom for GR-KURUMI

3. Wiz250 (WiFi Shield) bottom for GR-KURUMI: Connect TXD@JP2 to AD1@JP7 and Connect RXD@JP2 to AD0@JP7

Interface board (WiFi Shield) top for GR-KURUMI

4.1 Interface board (WiFi Shield) top for GR-KURUMI

Interface board (WiFi Shield) bottom for GR-KURUMI

4.2 Interface board (WiFi Shield) bottom for GR-KURUMI : Red : 3.3V / White : GND / Green : RXD / Yellow : TXD / Blue: WizFi250 RESET

GR-KURUMI with Wiz250 (WiFi Shield, Ext. Ant.)

5. Stack up with Wiz250 (WiFi Shield), Interface board and GR-KURUMI

2. Software

* Library

I forked Fi250 Library at Fi250 Webpage.
Lib. is modified for GR-KURUMI and added some function.
Lib. is upload at Github : https://github.com/embeddist/Seeeduino_WizFi250

* IDE : IDE for GR 0.4.0

 

3. programming and debugging interface

* programming interface

GR-KURUMI Programming

GR-KURUMI Programming

* debugging interface : USB Interface (power & USART1)

WizFi250-EVB

WizFi250-EVB

4. Set Sketch: wizfi250_test.ino

__Before setting wizfi250 example, you should be import the WizFi250 Lib. at IDE for GR. __

#define SSID “STEST”     //Input SSID
#define KEY “87654321” // Input Password
#define AUTH “WPA2”   // Input Encrytion Type

#define wizfi250_rst 9     // Chech and Set wizfi250 hw reset  pin

  1. Demo: Debugging Messages

AT
[OK]
AT+WSET=0,3PA-W //SSID of AP
[OK]
AT+WSEC=0,WPA2,wiznet— // password
[OK]
AT+WNET=1
[OK]
AT+WJOIN
Already Associated : Station Mode
[OK]
AT+WSTAT
IF/SSID/IP-Addr/Gateway/MAC/TxPower(dBm)/RSSI(-dBm)
STA/3PA-W/192.168.123.136/192.168.123.254/00:08:DC:1C:D8:73/31/33 //DHCP IP  address and Info… from AP
[OK]

 

 

Advertisements

Comparison of WizFi250 (WiFi Module) Shield / Library in WIZnet and Seeeduino

WizFi250 Shield is one of Arduino WiFi shield. WizFi250 Shield is consist of WizFi250(WiFi Module) and interface board which has Arduino connector. There are 2 kind of WiFi shield by using WizFi250. (WizFi250-EVB and Fi250)

WizFi250

WizFi250

WizFi250 is an WiFi module for embedded system and provides UART and SPI interfaces which enable connections to any embedded design utilizing an 8/16/32-bit microcontroller via simple AT commands.

-Features

Single band 2.4GHz IEEE 802.11b/g/n
Supports wireless data rates up to 65Mbit/s
Device Package : 28×20 mm (17×20 mm)
Serial Interface : UART, SPI
Powerful Web server provides
Soft AP
OTA(Over The Air F/W Upgrading)

Interface board for WiFi Shield

  • Fi250 : contain a Micro SD card socket and key for AP mode.
    Fi250

  • WizFi250-EVB : Function button provides alternative modes, as like Factory Recovery, AP mode, OTA mode and Factory Default
    WizFi250-EVB

Library for WiFi Shield

There also are 2 kind of WiFi shield library for WizFi250.
– Fi250: https://github.com/embeddist/Seeeduino_WizFi250 (current 05:58, 16 February 2014)
– WizFi250-EVB : https://github.com/embeddist/Arduino_WizFi250

*Comparison of WiFi Library by using WizFi250

<Fi250 WizFi250-EVB
BSD
Socket API
TCP

TCP

UDP

Serial
Interface
UART

SPI

Support
Multi-Socket
O
Lib.
Zip file Size
7KB 928KB
Example WizFi250_http

WizFi250_Client

WizFi250_Server

WizFi250_test

WizFi250RCCar
WizFi250UdpNtpClient
WizFi250WebClientTest
WizFi250WebServer
WizFi250XivleyClient

 

Fi250 library is simple. I think that Fi250 library is powerful for beginner. WizFi250-EVB library is possible to various tests of Serial-to-WiFi by using Multi-socket and BSD socket APIs.