Rangefinder + Audio server = Door Alarm
Setup
- Flash firmware to arduino nano wired to XBee (Parallax adapter) and ultrasound rangefinder
- Run audioserver, which listens to API calls to play audio
- Run server, which gets packets from XBee and makes API calls to the audioserver
Building and running
gradle run
Adding a new sound
Add mp3 to audioserver. Folders designate groups.