Go Down

Topic: New hardware Installation and software programming of WIifi shield  (Read 788 times) previous topic - next topic


Wifi shield become quite important and widely used in many projects. Here allow me to share some useful information about wifi shield for the arduino starters.
1. Hardware Installation
 Assemble these parts together like the picture below. and mount the shield onto your Arduino/Crowduino.

2. Software Programming
First you have to make sure that Arduino1.0 has already been installed on your computer.

Download the wifishield library here Wifi Shield.zip and unzip it into the libraries file of Arduino via this path: ..\arduino-1.0\libraries
Open a new sketch in Arduino-1.0, then copy the following code to your sketch.

#include "Wifly.h"
#include <SoftwareSerial.h>
WiflyClass Wifly(2,3);
void setup()
  Serial.begin(9600);//use the hardware serial to communicate with the PC
  Wifly.init();//Initialize the wifishield
  Wifly.setConfig("SSID","PASSWORD");//here to set the ssid and password of the Router
  while(!Wifly.connect("","90"));//connect the remote service

void loop()


You need to do some modifications on this sketch according to your specific configuration. See more in http://www.elecrow.com/wiki/index.php?title=WiFi_Shield

Go Up