An open API service indexing awesome lists of open source software.

https://github.com/doarakko/yashima

Play music when a moving object is detected.
https://github.com/doarakko/yashima

motion-sensor python raspberry-pi

Last synced: 2 months ago
JSON representation

Play music when a moving object is detected.

Awesome Lists containing this project

README

          

# yashima

Play music when a moving object is detected.

## Requirements

The following is the environment where execution has been confirmed.

### Hardware

- Raspberry Pi 4 Model B
- USB Speaker
- HC SR501
- Jumper Wire(M/M)x3

### Software

- Python 3.7.3
- RPi.GPIO 0.7.0
- Pygame 1.9.4.post1

## Usage

### 1. Download code

```sh
git clone https://github.com/Doarakko/yashima
cd yashima
```

### 2. Run

```sh
python main.py
```