Using the Arduino Ethernet Shield

The article on Plugging In and Testing the Arduino Ethernet Shield shows how to connect and test an Arduino Ethernet shield.

In the article, an Arduino Ethernet shield is connected to an Arduino Uno board. The Arduino board is then powered up and connected to the network using an Ethernet cable. A sketch is loaded to the Arduino that configures it as a tiny web server.

A web browser can be used to connect to the Arduino web server. The web page that the server displays contains the values of the analog inputs of the Arduino. These values are updated every five seconds.

18 thoughts on “Using the Arduino Ethernet Shield

  1. Thanks for the great post. It is helping me wrap up a long journey finding a good way to monitor and control Arduino based controls. I tried Processing, ( a nice piece of software, but not fast enough for a front end GUI, and certainly not the answer for multiple location data streams) and some others but HTML and AJAX is snappy! I am looking into node js to potentially improve the speed even more with increased calls and more data. Please know you have helped me immensely,

  2. So I’ve determined that the IP address of my iMac is so I set the IP address in the sketch as as you did. My SainSmart board did not have a tag giving the MAC address, so I left it the same as yours (assuming no other device on my network has that MAC address.
    When I tried to access I got the response:
    Oops! Google Chrome could not connect to

    Try reloading: 10.­0.­0.­12

    So…what to do?
    The board seems to be alive and working…there are 4 more or less static blue lights, in cluding pwr, link (which does blink once in a while), two others that I can’t read but start with L_, and a Dx which blinks a lot. Another led opposite digital pin 10 is also on

  3. Thanks for the quick response!
    I’m on call today but will try these tomorrow evening and report back
    I can’t wait to go further through your tutorial

  4. I couldn’t wait, so I changed the cable, then the browser (first Firefox, then Safari) to no avail.
    I’ll go on to the troubleshooting page tomorrow

    Thanks again

  5. So…it turns out that the IP of the Mac connected to Ethernet was indeed, but I hadn’t checked the WiFi address, which was set to, which by a terrible stroke of luck was the address I chose to enter in the code!

    Changed the 12 to 25 and it works like a charm!!

    Thank you…till the next dumb question I have


  6. I have Andruino YUN. I am doing everything according to the scheme part1 and I can not enter the site. Maybe arduino router settings you need to change something? arduino wifi address is, the address is arduino site, typed in the different addresses and Definitely does not work. I’m using google translator also sorry for the mistakes.

  7. I have upload the sketch with and my pc ip windows 7. Upload to my arduino mega 2569 is successfull. but when i tried to browse the arduino ip from browser , then browser could not connect arduino. How to solve this.

  8. Hi all.
    I am new in Arduino thing and I want to make something with the Ethernet shield.
    I have Arduino Mega2560 an Ethernet shield and an Analogue Input.
    I want to build an arduino web server to a specific IP and Port, and every time I give the browser the URL (for example: http:\\, in some way to get the Analogue Read value, from the server. I tried the example web server of the IDE, but I can only show the values to the web page. Can anyone help me with this problem?

    • Hi Dimitris
      What do you want to do with the analogue value? You say that you can display the analogue value on a web page, but I am not sure what you mean by: get the analogue value from the server. Do you want the web browser to do something with the analogue value?

      • First of all thank you for your reply. I want every time I call the arduino’s server url, the web server to give me the value as a string or integer or something else. I managed to do it with html form, method get, and a submit buton. But I want to do it automatically without a buton. Lets say that you have 2 arduinos one server and one client. Everytime the client call the server through web, must get the value(s) and do some work.
        I hope I explained it well.

Leave a Reply

Your email address will not be published. Required fields are marked *