Play music when a moving object is detected.
The following is the environment where execution has been confirmed.
- Raspberry Pi 4 Model B
- USB Speaker
- HC SR501
- Jumper Wire(M/M)x3
- Python 3.7.3
- RPi.GPIO 0.7.0
- Pygame 1.9.4.post1
git clone https://github.com/Doarakko/yashima
cd yashima
python main.py