Hardware Reference
In-Depth Information
Hardware and software requirements
On the hardware side, you will of course need the Arduino Ethernet shield and an Arduino
board such as the Arduino Uno.
You will also need a sensor to measure some data. As this topic is about how to use the
Ethernet shield and not how to measure from sensors, you could actually take any sensor of
your choice.
I used a DHT11 sensor, which is a digital temperature and humidity sensor. I chose this
sensor for this chapter and for many chapters of the topic as it is a very cheap sensor and it
is easy to interface with Arduino. Along with the DHT11 sensor, you will also need a 4.7k
ohm resistor.
You will also need a breadboard and some jumper wires to create the connections between
the sensor and the Ethernet shield.
On the software side, the first thing you will need is the library to interface with the sensor
you chose before. As I chose a DHT11 sensor for this project, you will need to download
and install the DHT library from https://github.com/adafruit/DHT-sensor-library in order to
use this.
You will also need to download and install the Arduino Temboo library from ht-
tps://www.temboo.com/arduino/others/library-installation .
To install an Arduino library, simply unzip the contents of the downloaded file to your
libraries folder of your main Arduino folder (or create this folder if it doesn't exist
already).
Search WWH ::




Custom Search