Digital songbird in your bathroom
This project lets you hear the charming voices of birds every time you enter your bathroom (or whereever you want to place this device). It reacts on PIR motion sensor and plays an audio on motion detection, then goes back to sleep. It runs on 4 AA-batteries, but can also be powered over cable. The battery life should be improved, currently it lasts about 5 days. All ideas are welcome.
Components and supplies
Jumper wires (generic)
Adafruit MAX98357 I2S Class-D Mono Amp
Mini breadboard - White
PIR Motion Sensor (generic)
Arduino MKR ZERO (I2S bus & SD for sound, music & digital audio data)
4 AA battery holder + battery
Speaker: 3W, 4 ohms
Adafruit PCF8523 Real Time Clock Assembled Breakout Board
Tools and machines
Soldering kit
Apps and platforms
Arduino IDE
Project description
Code
Arduino Songbird Code
ini
This code can be used with the attached WAV files.
Personal Adafruit Songbird
Personal code with more integrated WAV files.
Downloadable files
Various Birds 2
Royalty Free Example File (Pixabay)
Twittr02.wav
Various Birds 3
Royalty Free Example File (Pixabay)
Twittr03.wav
Various Birds 1
Royalty Free Example File (Pixabay)
Twittr01.wav
Tropical Birds 1
Royalty Free Example File (Pixabay)
Twittr04.wav
Tropical Birds 2
Royalty Free Example File (Pixabay)
Twittr05.wav
Tropical Birds 3
Royalty Free Example File (Pixabay)
Twittr06.wav
Tropical Birds 4
Royalty Free Example File (Pixabay)
Twittr07.wav
Tropical Birds 5
Royalty Free Example File (Pixabay)
Twittr08.wav
Documentation
WIring Scheme
How to wire the components (also see description)
scheme.jpg

Comments
Only logged in users can leave comments