Toilet Buddy is based on a Propeller Platform USB - it was inspired by Japanese toilets that play a 'Courtesy Flush' sound instead of actually flushing in order to save water. It also improves on the idea by reminding you to put the seat down and when you left the lights on.
First, I'll go over the design and show you how to make it. Then, I'll show you how Toilet Buddy can be adapted to projects that could use event-driven audio playback.
Step 1: FAQ
Toilet Buddy has two sensors - one for the light level in the room, the other for the position of the toilet seat. Based on the status of the sensors, audio samples are triggered and played through the onboard speakers;
- When the light is on and the seat is up, it plays back flushing samples
- When the light is off and the seat is up, it plays back a reminder to put the toilet seat down
- When the light is on and the seat is down, it reminds you to turn the bathroom light off
Can I use it for something else?
Yes! The ability to trigger audio samples based on external events is useful for home automation, music, R/C, and tons of different projects. After we put together the base circuit, I'll give you a few examples for re-purposing Toilet Buddy.
Will it work on my toilet?
Probably. As long as the toilet lid is taller than the reservoir tank when open, it should work;
If the lid doesn't go over the tank, Toilet Buddy won't be able to sense when it's up.
How long do the batteries last?
Over a month. Toilet Buddy spends most of its time in low power mode, consuming <1mA @ 4V.
What's the audio quality?
48KHz, 16-bit stereo, which is a little better than CD quality sound.