What You Need
1. An Ethernet shield for the Arduino
2. A PIR motion sensor
3. Some wires
4. A breadboard
5. An Arduino board, such as the Uno, Duemilanove, or Diecimila
6. A USB cable to connect the Arduino to your computer
Emailing from the Command Line
Although email is an important service, only a few people know how it actu-
ally works behind the scenes. To send emails from an Arduino, we could
choose the easy path and use a PC as an email relay, as we did in Tweeting
Messages with Processing, on page 168, to Tweet messages. As real hackers,
we’ll follow a more sophisticated path and implement a subset of the Simple
Mail Transfer Protocol (SMTP).
1
1.
http://en.wikipedia.org/wiki/Smtp
Chapter 11. Creating a Burglar Alarm with Email Notification • 184
report erratum • discuss
www.it-ebooks.info