RaspberryPi-powered multi-purpose horse
- Can play audio on demand
- Can upload more sounds (currently only mp3 and wav supplorted)
- Plays welcome sound when someone comes in
- Turns sound down for the night (0:00 ~ 10:00)
Hardware used:
- RaspberryPi B+
- USB-powered speakers
- 2 PIR motion sensors
- Long 4-line wire
- Horse mask, scarf, cowboy hat
With slight modifications should work on any linux system, not tested on anything except Debian
Requires node.js and
- express
- multer
Dependencies:
npm install
Run:
node horse-web.js
Requires python 2.7.3+
- RPi.GPIO
- requests
Dependencies:
sudo pip install -r requirements.txt
Run:
python horse-welcome.py
Put horseweb and horsewelcome files into /etc/init.d system folder and create runlevel symlinks:
sudo update-rc.d servicename defaults
Puts your horse to sleep for nighttime so it will not make any sounds.
Put sleepyhorse.cron into /etc/cron.d and restart crond