ePrivacy and GPDR Cookie Consent by TermsFeed Generator Ethernet Shield Test | OpenHAB - SmartHome | DomoticsDuino - Computer engineer, Smart Home / OpenHAB, Flight Sim and others...
OpenHAB - SmartHome (223 posts)

23/01/2015

Ethernet Shield Test [Versione in italiano]

by Marco Lamanna



It's time for the second experiment.
The Ethernet Shield test with Arduino Uno Rev 3.


We will put the shield on the local network and create a simple web server which will reply to http request and will drive two led.

There is a useful library which will help to develop the Ethernet Shield software. With some line of code the device will be on the LAN using DHCP protocol or by setting manual configuration (ip, dns, gateway ...)

The shield will be directly linked to Arduino. Pin 10, 11, 12, 13 are used by the shield and so they cannot be used by developers.

For our purpose, we will link digital output 2 and 8 to two led. Arduino will drive them, receiving http requests. A tablet will be used as client.

Our Arduino will listen on port 80 and will drive the led, managing http requests.

Here is the demo: