WiFi Chat Server
A simple server that distributes any incoming messages to all connected clients. To use, open a terminal window, telnet to your WiFi shield's IP address, and type away. Any incoming text will be sent to all connected clients (including the one typing). Additionally, you will be able to see the client's input in your Arduino Software (IDE) serial monitor as well.
Arduino WiFi Shield
Shield-compatible Arduino board
The WiFi shield uses pins 10, 11, 12, and 13 for the SPI connection to the HDG104 module. Digital pin 4 is used to control the slave select pin on the SD card.
You should have access to a 802.11b/g wireless network that connects to the internet for this example. You will need to change the network settings in the sketch to correspond to your particular networks SSID.
For networks using WPA/WPA2 Personal encryption, you need the SSID and password. The shield will not connect to networks using WPA2 Enterprise encryption.
WEP network passwords are hexadecimal strings known as keys. A WEP network can have 4 different keys; each key is assigned a "Key Index" value. For WEP encrypted networks, you need the SSID, the key, and key number.
In the above image, the Arduino board would be stacked below the WiFi shield.
WiFi library - Your reference for the WiFi Library.
WiFi Shield - Product details for the retired WiFi Shield.
Getting started - Getting started with the retired WiFi Shield.
Connect No Encryption - Demonstrates how to connect to an open network.
Connect With WEP - Demonstrates how to connect to a network that is encrypted with WEP.
Connect With WPA - Demonstrates how to connect to a network that is encrypted with WPA2 Personal.
Scan Networks - Displays all WiFi networks in range.
Simple Web Server WiFi - Turn on and off an LED accessing this simple Web Server.
UDP NTP Client - Query a Network Time Protocol (NTP) server using UDP.
WiFi Web Client - Connect to a remote webserver.
WiFi Web Client Repeating - Repeatedly make HTTP calls to a server.
WiFi Web Server - Serve a webpage from the WiFi shield with Analog Input values.
WiFi Send Receive UDP String - Send and receive a UDP string.
Last revision 2018/08/23 by SM