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.
- Host: GitHub
- URL: https://github.com/doarakko/yashima
- Owner: Doarakko
- License: mit
- Created: 2022-05-21T14:16:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2026-02-14T02:25:05.000Z (5 months ago)
- Last Synced: 2026-02-14T09:13:49.528Z (5 months ago)
- Topics: motion-sensor, python, raspberry-pi
- Language: Python
- Homepage:
- Size: 2.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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
```