What You Need

This project requires only a few components. The total cost for all the parts should be under a hundred dollars. But since all the parts can be reused in other projects in this book and in future DIY efforts, it is a very reasonable investment consideration. To construct an Electric Guard Dog, you will need the following (see Figure 6, Electric Guard Dog parts):

images/electricguarddogparts-labeled.jpg
Figure 6. Electric Guard Dog parts
  1. An Arduino Uno

  2. An Adafruit music and sound add-on pack for Arduino (includes wave shield, speaker, wire, and SD card)[29]

  3. A high-torque standard servo[30]

  4. A Passive InfraRed (PIR) motion sensor

  5. A 9-volt power supply to power the ...

Get Programming Your Home now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.