Arduino/wifi/setup/Customize and Test
Open up the Arduino IDE and find the LinkSprite folder in Examples. Choose SimpleServer.
There is one line that needs to be changed in this configuration which is highlighted in yellow in the graphic. This is the SSID which was typed into the wifi router configuration screen. In other routers the local_ip, the gateway_ip and the subnet_mask may need to be changed. Once this is working the security type and the security_passphrase will need to be changed.
The default linksprite ip address is 192.168.1.2 ... but this might be the ip address of the wired PC hooked up to the wifi router. Check by typing CMD in the windows search box.
At the command line, type ipconfig and press enter. Scroll back to the top so the screen displays the Ethernet adapter Local Area Connection:
The goal is to find the IPv4 address assigned to the wired PC by the wifi router. It can not conflict with the ip address configuration of the linksprite. In this case the PC is 192.168.1.100 and the linksprite sampleserver configuration is 192.168.1.2 .. so there will not be a conflict.
The next step is to finish configuring the SimpleServer example program. Then upload it to the linksprite wifi arduino. When uploaded successfully, the linksprite WIFI led will glow red. This means that the linksprite is happy. It does not mean that the PC can talk to it.
There are two tests to see if the PC can talk to the Linksprite: ping and http. Ping is done from the windows command prompt.
The next test is type 192.168.1.2 into the url of a browser. The linksprite should display "hello world."
The next step is to work on wep authentication and then modifying the simple server so that it sends back information it is collecting from a sensor such as an accelerometer.