Bathroom Alarm

by Theturkeytree in Living > Health

1689 Views, 6 Favorites, 0 Comments

Bathroom Alarm

bathroomAlarm2.jpg
Pottydance: Bathroom Alarm

The Emergency Potty Alarm is perfect for anyone who regularly goes through the discomfort and frantic suspense of waiting for someone to get out of the bathroom when desperately in need of a toilet. The Emergency Potty Alarm system has a push button located just outside the bathroom door. When the button is pushed, an alarm sounds inside the bathroom, alerting the occupant that someone is desperately waiting. The alarm turns off automatically once the door is opened.

Enjoy!

Components

Circuit Components

Arduino (I used the Arduino Uno)

Breadboard

Resistors: 1x (brown blue green), 2x (brown black orange), 1x (red, red, red)

Transistor

Massive Arcade Button

Magnetic Door Switch

Siren

Wires - 4 Different Colors (I used red, black, yellow, and green)

12V DC Power Adapter

4-Way DC Power Splitter (You only use two of the splitters, so use a 2-Way splitter if you have one).

Breadboard-Friendly DC Barrel Jack

Soldering Equipment

Suggested Box Components - Laser cutter required

12" x 18" 1/8 White Acrylic

Misc

3M Removable Mounting Squares

Alligator Clips

Electrical Tape

Measuring Tape

Masking Tape optional

Box to house circuit (I used a box I found around the house)

Method to Make Vinyl Stickers (I used an Epson Vinyl Printer Cutter)

Code and Circuit

Screen Shot 2015-12-10 at 2.13.01 PM.png
IMG_0481.JPG

The code is fairly straightforward.

Notes on Wiring

Door Switch

The door switch can be thought of as a button for wiring and coding purposes. It uses a pull-up resistor. It does not matter which wire goes to positive or negative.

Massive Arcade Button

The button has two prongs for the LED and two prongs for the button. The two prongs on the sides are for the LED, and the two uneven prongs are for the button. For the button function, the protruding prong is positive, and the inset pin is negative.

It's easiest to color code each of the prongs with a different colored wire. I used:

Red: LED Power - to Pin 7

Black: LED Ground - to ? k resistor

Yellow: Button Power - to ? k resistor

Green: Button Ground - to ground

Downloads

Making the Box

5669c5d550e1b68931000367.jpeg
IMG_0436.JPG
5669c602937ddbf94e0002b8.jpeg
IMG_0462.JPG
IMG_0464.JPG

Design box and laser cut it! There are a lot of great websites that generate box plans for free. I used http://www.makercase.com and then added a hole to screw in the button and a wire hole. I've attached the file I used, but it could use some tinkering.

To attach the button to the box face, remove the washer from the back of the button. Slide in the wall, and screw the washer in on top.

Glue the box together along the seams, with the exception of the button face. DO NOT GLUE ON THE BUTTON FACE.

Put the wires through the wire hole on the bottom face. Snap the top face in.

Reducing Siren Volume

IMG_0460.JPG

If the siren sounds a little too loud, which it might, you can unscrew the bottom, and place masking tape over the speaker.

Measuring and Soldering

IMG_0443.JPG
5669f60d50e1b6d8e30014df.jpeg

Figure out where you want to place the front button, the siren, and locate the power outlet that will charge the Bathroom Alarm. There is typically more space under the door, so measure for the wires going under the door.

It's easiest to make the wires longer than you think you will need, and then trim them at the end.

Solder the wires appropriately. Make sure to wrap the individual siren wires in electrical tape to keep them from shorting.

Bundle the wires for each of the sensors by wrapping them in electrical tape every few inches.

Once the circuit is working correctly, use electrical tape along the button box to add a decorative element and secure the front face.

Stickers!

Print and attach stickers to button and alarm. (File coming shortly).

Mounting

IMG_0467.JPG
IMG_0465.JPG
IMG_0466.JPG
IMG_0472.JPG
IMG_0473.JPG
IMG_0475.JPG
IMG_0476.JPG

For a quick, temporary, and damage free solution, you can use Scotch Temporary Mounting Squares. Each pack has 64 squares, so you only need to buy one pack.

Adhere the following number of mounting squares:

2 each for door sensors

8 for alarm

16 for button

Box for Circuit

IMG_0477 2.JPG
IMG_0483.JPG

If desired, get a box and drill holes appropriately for your setup. I used a cardboard jewelry box.

Finishing Touches

IMG_0482.JPG
IMG_0484.JPG

Tape wires along the wall using electrical tape.

Admire your handiwork.