WiFly City G28000 is a wireless device that allows you to connect your Arduino board to the internet via Wi-Fi. It is based on the WiFly wireless module series from Roving Networks. To use it, you need to install a driver and some libraries on your Arduino IDE.
In this article, we will show you how to download and install the WiFly City G28000 driver and the Arduino WiFly Driver library from SourceForge.net[^1^]. We will also provide some example sketches to test your connection and send data to a web server.
The WiFly City G28000 driver is a zip file that contains the necessary files to communicate with the WiFly module. You can download it from this link: https://sourceforge.net/projects/arduinowifly/files/WiFlySerial.zip/download
After downloading, unzip the file and copy the folder named "WiFlySerial" to your Arduino libraries folder. The default location of this folder is "C:\Program Files (x86)\Arduino\libraries" on Windows, or "/Applications/Arduino.app/Contents/Resources/Java/libraries" on Mac OS X.
The Arduino WiFly Driver library is another zip file that contains some example sketches and a header file that defines some functions and constants for using the WiFly module. You can download it from this link: https://sourceforge.net/projects/arduinowifly/files/WiFly.zip/download
After downloading, unzip the file and copy the folder named "WiFly" to your Arduino libraries folder as well.
To make sure that your Arduino IDE recognizes the new libraries, you need to restart it. After restarting, you should see two new entries under the "File > Examples" menu: "WiFly" and "WiFlySerial". These are the example sketches that you can use to test your WiFly City G28000 device.
The WiFly City G28000 device has four pins: VCC, GND, RX and TX. You need to connect them to your Arduino board as follows:
Note that you need to use a level shifter or a voltage divider to convert the 5V signals from your Arduino board to 3.3V signals for your WiFly module. Otherwise, you may damage your device.
To test if your WiFly City G28000 device is working properly, you can upload the "Terminal" example sketch from the "WiFlySerial" library. This sketch allows you to send commands to your WiFly module via the serial monitor of your Arduino IDE.
To upload the sketch, select "Tools > Board > Arduino Uno" and "Tools > Port > COMx" (where x is the number of your Arduino board's serial port). Then click on the "Upload" button.
After uploading, open the serial monitor by clicking on the "Serial Monitor" button on the top right corner of your Arduino IDE. Make sure that the baud rate is set to 9600 and the line ending is set to "Both NL & CR". Then type "$$$" (without quotes) and press enter. You should see a response from your WiFly module saying "<2.32>". This means that you have entered the command mode of your WiFly module.
In command mode, you can configure various settings
ea27c8ed11