Hardware Reference
In-Depth Information
code to the board, and open the Serial Monitor. You should first see the IP address of the
web server running on the Arduino board as follows:
Server is at 192.168.1.103
After that, the sketch will just do nothing while waiting for any incoming connection. To
make a connection happen, just go over to your web browser and type in the IP address of
the board. You should immediately see the GET request from the browser being printed
out in the Arduino Serial Monitor, as shown in the following output:
New client
GET / HTTP/1.1
Host: 192.168.1.103
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/
xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137
Safari/537.36
Referer: http://192.168.1.103/
Accept-Encoding: gzip,deflate,sdch
Accept-Language:
fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4,de;q=0.2
As we can see, there is a lot of text and this depends on your browser. However, the im-
portant thing is actually the first line of the request, which means it's a GET request to our
Arduino board.
Finally, after the Arduino answers the server, the connection is closed and the following
message is displayed:
Client disconnected
In your browser, you should also directly see that the data is being printed out on the page
created by the Arduino board, as shown in the following screenshot:
Search WWH ::




Custom Search