Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 2 ■ INTERNET CONNECTIVITY

Arduino Uno Wired Connectivity (Ethernet)


In this section, you are going to attach an Ethernet shield to your Arduino Uno and write
code to connect it to the Internet using Ethernet.

■ Note If you are using a model of Arduino that comes with built-in Ethernet capabilities
such as Arduino Yún, then you do not need a separate Ethernet shield. Arduino Yún Internet
connectivity setup is discussed later in this chapter.

Hardware Required


Figure  2-1 provides a list of all hardware components required for connecting Arduino
Uno to the Internet using an Ethernet shield.

Figure 2-1. Hardware required for wired Internet connectivity


Software Required


In order to write the Internet connectivity code, you need following software :


  • Arduino IDE 1.6.4 or later version


Circuit


In this section, you are going to build the circuit required for Internet connectivity using
Ethernet.

1. Make sure your Arduino is not connected to a power source,
such as a computer via USB or a battery.
Free download pdf