Figure 28—A typical SMTP session on the Arduino
Off-the-shelf sensors hide these details, so you can use a single digital pin to
check whether someone is moving in the sensor’s field of view. The Parallax
PIR sensor
6
is a good example of such a device, and we can use it as the basis
of our burglar alarm.
Figure 29—Top and bottom of a passive infrared sensor
6.
http://www.parallax.com/product/555-28027
Chapter 11. Creating a Burglar Alarm with Email Notification • 194
report erratum • discuss
www.it-ebooks.info