O'Reilly logo

Arduino Development Cookbook by Cornel Amariei

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ethernet

Using an Ethernet shield, we can connect an Arduino to the Internet. All the power and awesomeness of the Internet can come to this small blue board we are programming. This is a huge topic; however, the Arduino Ethernet library makes it all simple.

Here, we will create an interesting application for this functionality. We will make the Arduino a local web server to which we can connect to find out the readings of the first three analog inputs, using our browser.

Getting ready

The following are the ingredients needed for this recipe:

  • An Arduino
  • An Arduino Ethernet shield
  • A router or just an Ethernet cable

How to do it…

Follow these steps to build the server:

  1. Carefully plug the Ethernet shield into the Arduino.
  2. Connect an Ethernet cable to the shield. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required