Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 2 ■ INTERNET CONNECTIVITY

Arduino Uno Wireless Connectivity (WiFi)


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

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

Hardware Required


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

Figure 2-4. Hardware required for wireless Internet connectivity


Software Required


In order to write the Internet connectivity code, you will 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 WiFi.

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

2. Attach the WiFi shield (a.k.a., wireless shield) to the top of
your Arduino. All the pins should align.
Free download pdf