© Adeel Javed 2016 15
A. Javed, Building Arduino Projects for the Internet of Things,
DOI 10.1007/978-1-4842-1940-9_2
CHAPTER 2
Internet Connectivity
All IoT devices require a mechanism to send or receive data. There are numerous options
available for connecting devices to the Internet, including wired and wireless options,
Bluetooth, cellular networks, and many more. The option you choose depends on various
factors, such as:
- Scale and size of the network where the application will run
- Amount of data that needs to be processed and transferred
- Physical location of the device
Table 2-1 lists some of the Internet connectivity options with an example of where
they have been used.
Table 2-1. Internet Connectivity Options for IoT Devices
Option Example
Wired (Ethernet) Food storage temperature monitoring
Wireless (WiFi) Soil moisture sensor
Bluetooth Key tracker
Cellular data Wildlife tracker
RFID (Radio Frequency Identification) Inventory management
Learning Objectives
At the end of this chapter, you will be able to:
- Attach an Ethernet shield to Arduino and write Ethernet
connectivity code - Attach a WiFi shield to Arduino and write WiFi connectivity code
- Set up Arduino Yún to connect to WiFi