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.
FIGURE 8-1 Fake dog project.
To build this project, you will need the following:
The MP3 player shield is equipped with a 3.5-mm headphone socket. This is ideal for connecting ...