CHAPTER 8

Fake Dog

image

This project plays a sound file whenever a button is pressed or a passive infrared (PIR) movement sensor is triggered (Figure 8-1). Unlike most of the projects we have built so far, this project uses a ready-made shield for playing the sound file.

image

FIGURE 8-1 Fake dog project.

 

Parts

To build this project, you will need the following:

image

The MP3 player shield is equipped with a 3.5-mm headphone socket. This is ideal for connecting ...

Get The TAB Book of Arduino Projects: 36 Things to Make with Shields and Proto Shields 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.