CHAPTER 10
Networking with Arduino
With a stand-alone Arduino, you can create countless fun and useful projects.
But as soon as you turn the Arduino into a networking device, you open up
a whole new world of possibilities.
You now have access to all of the information on the Internet, so you could
turn your Arduino into a nice, geeky weather station simply by reading data
from a weather service. You can also turn the Arduino into a web server that
provides sensor data for other devices or computers on your network.
We’ll start with a “naked” Arduino that doesn’t have any network capabilities.
As you’ll see, you can still attach it to the Internet and Tweet
1
messages as
long as you connect it to a PC.
For our second project, we’ll improve the situation dramatically with an Eth-
ernet shield. Your Arduino will become a full-blown network device that can
directly access IP services, such as a Daytime service. This will turn your
Arduino into a very accurate clock.
The skills you learn in this chapter are the basis for more advanced techniques
and the projects you’ll create in the next chapter.
1.
http://twitter.com
report erratum • discuss
www.it-ebooks.info