CHAPTER 14

Connecting Your Arduino to the Internet

Parts You'll Need for This Chapter

Arduino (Uno recommended)

USB cable

Arduino Ethernet shield

Photoresistor

10kΩ resistor

TMP36 temperature sensor

RGB LED

220Ω resistors (×3)

150Ω resistor

Speaker or buzzer

Ethernet cable

Access to a wired router

Jumper wires

Breadboard

CODE AND DIGITAL CONTENT FOR THIS CHAPTER

Code downloads, video, and other digital content for this chapter can be found at www.exploringarduino.com/content/ch14.

In addition, all code can be found at www.wiley.com/go/exploringarduino on the Download Code tab. The code is in the chapter 14 download and individually named according to the names throughout the chapter.

This is it, the final frontier (and chapter). Short of launching your Arduino into space, connecting it to the Internet is probably the closest that you will get to making the whole world your playground. Internet connectivity, in general, is an extremely complex topic; you could easily write entire volumes of books about the best way to interface the Arduino with the “Internet of things,” as it is now often called. Because it is infeasible to cover the multitude of ways you can interface your Arduino with the web, this chapter focuses on imparting some knowledge with regard to how network connectivity works with your Arduino and how you can use the Arduino Ethernet shield to both serve up web pages and to broadcast data to the web. Specifically, you learn about traversing your network topology, ...

Get Exploring Arduino: Tools and Techniques for Engineering Wizardry now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.