Instructables

Bathroom Status Indicator Lights and Automatic Switch

Featured
This project uses proximity switches and relays to control a bank of indicator lights.  The lights convey the occupancy status of two bathrooms.

Problem: Two single user bathrooms - in a dorm style house - are shared by multiple people, but the bathroom doors are not visible from the main hallway. This results in many failed trips down the hallway, only to find the one containing all of your toiletries or both (depending on what the need may be) are already occupied.

Solution: A centrally located visual indicator to convey the use status of the bathrooms.

Step 1: Inputs - Detecting Door Status

An assumption must be made to simplify the act of determining if the bathrooms are avaliable or unavailable.  This determination will be based on the condition of the door.  If a bathroom door is open, the bathroom is avaliable.  If a bathroom door is closed, the bathroom is unavailable.  The input I used for detecting the status of the door are inductive proximity switches.

Inductive proximity switches sense objects by generating a magnetic field.  When a metal object reaches a certain distance from the sensors head, it will open or close a circuit (depending on the model).  By placing a screw in the door, the sensor can be triggered when the door is closed.

Step 2: Relays - Control Box

Picture of Relays - Control Box
IMG_0264.jpg
IMG_0268.jpg
This box is located in the attic.  It receives the inputs from the proximity switches, and via relays, toggles the red/green light circuits and the - yet to be seen - door mounted fan.

The box contains two eight contact block relays and a 15 Amp breaker.

Step 3: Outputs - Lights and Fan

IMG_0250.jpg
IMG_0304.jpg
Once the relays are triggered from the closing of a door they break the green light hot lead, make the red light circuit, and - in the case of bathroom A - cut the power going to the door mounted exhaust fan.

 
Remove these adsRemove these ads by Signing Up
1-40 of 62Next »
monkeytoes4 years ago
A future enhancement could be a beacon if someone didn't wash their hands. 
didntwashhands.jpg
Mr.Nelson (author)  monkeytoes4 years ago
Do-able - I need a way to detect whether or not he sink has been run since the door cycled.  Sensing actual water flow might be tricky... maybe I can detect the turn of the knob with a physical limit switch.

I don't think I can execute the logic check easily with relays - though.  It might take a PLC (Programmable Logic Controller) to handle it.

I love some Far Side - by the way :) 
someone here in 'ibles did it with a piezo
how about a combination of sensors, to make it harder to fool them.  and a timer to make sure they leave the water on for more than an instant.

and you could add a yellow light tied to a motion sensor to show when someone is in the bathroom, but left the door open.  like if someone is brushing their teeth, or just using the mirror.  then when someone needs to go really badly they can ask them to step out for a second.
Actually, water conducts electricity. Just use a transistor and you're good to go... Nice Instructable by the way.
Mr.Nelson (author)  Seifpic4 years ago
So you would have two leads near or in the fixture.  I can see it. Thanks
You could try putting a momentary switch under the tap where the water comes out to detect the water flow.
Great 'ible by the way, 5 stars.
Mr.Nelson (author)  Pie Ninja4 years ago
Thanks
enolasco3 years ago
You should try using an airline indicator sign next time. I think it might be a little funnier haha. Just a suggestion.
add a no smoking sign and a seatbelt sign as well, and make the seatbelt sign turn on and off at random intervals
potterrandy4 years ago
Is Mr. Nelson in someway associated with a Terry Whaley?
Mr.Nelson (author)  potterrandy4 years ago
I'm not familiar with a Terry Whaley, but I'm terrible with names.
Read one of the edge lighting instructables and make a little light-up sign instead of just a plain circle of LEDs. Cool work!
Mr.Nelson (author)  Rainbowlaces4 years ago
That would be a nice modification. Thanks
one improvement on this project would be to eliminate the over-enginerred door triggered switch and just screw an elbow joint to the top of the door frame, and a momentary switch to the door, so when the door closes, the switch will be closed by the elbow joint, in turn illuminating the light. but other than that, i really liked your instructable! ! 
Mr.Nelson (author)  jetsmiley1234 years ago
Thanks.  Others have mentioned using a micro switch, but I like your direct approach.  Using a small attachment to the door to trigger a micro switch would be allot easier than mounting it in the latch receiver --- slightly more visible, but micro switches are small.
Prometheus4 years ago
This is what happens when necessity collides with invention so hard it makes art...I give 5 stars, especially for the hardcore-industrial utilitarian look. I would totally do this....
Mr.Nelson (author)  Prometheus4 years ago
Thank You
PyroMonger4 years ago
KUDOS to you my friend. Truly inspiring...seeing as I have been thinking of a way to do this myself and making it look half decent/professional lol. Yours is outstanding. 5 *'s from me!
Mr.Nelson (author)  PyroMonger4 years ago
Thanks
Ceiling cat4 years ago
I really like the industrial look.  And you did an outstanding job making it all very solid and professional.  5 stars.
Mr.Nelson (author)  Ceiling cat4 years ago
Thank You
Nateokane4 years ago
 Some would call it lazy, I call it innovative.
Mr.Nelson (author)  Nateokane4 years ago
My thoughts exactly.  It seems most innovation is driven by a desire to do less work and make our lives easier.
Although it is always good to have more people. Because, after innovating, the innovator may become to used to less work (and therefore become lazy and no longer innovate).
Great one! I gave it five stars!
Mr.Nelson (author)  circuitbreaker4 years ago
Thanks
drsquirrel4 years ago
Fit an AVR webserver to it, so people can see if it's available from their computer/desk/phone etc :D
This is great, we also just completed a handwash sensor for a Physical Computing project at the School of Visual Arts-complete with EWWW! output if someone didn't wash his/her hands...Watch our video!

http://www.youtube.com/watch?v=qTF9-j_y7zU
Mr.Nelson (author)  clickcolleen4 years ago
Nice!  My first thought was to use the water flow as an indication of hand washing.  Your soap trigger ensures a more appropriate job was done.
hixair4 years ago
I don't like the fact that a green light is always on to tell that the bathroom is available, it's kind of lost of energy where you could only have shown the status busy by lightning the red light.
Also, what if someone leaves the bathroom and closes the door ? status will be inacurate. I think people are most likely to switch the light on and off (that you can detect with a light sensor) than leaving the door closed when gone when. 
Otherwise, i find the system very nice and usefull :)
 I agree with xavtek, It's a waste of power to have the green light always on. I would set it up so that a red light comes on when the bathroom is occupied. And a lot of people close the bathroom door when they leave. Maybe you should have a motion detector wired in series with the door sensor.

Great idea but you need to dress it up more. You can get a low profile door sensor on ebay, and instead of using flex conduit, just run a 4 conductor speaker cable, they're low profile.
Mr.Nelson (author)  thefutureisnow4 years ago
I am unsure how much power motion sensors use in relation to LEDs, but the number of light indicators could defiantly be called a design choice. 

The people of this house were easily convinced to habitually leave the doors open upon exciting.  The rooms are not in close enough in proximity to be easily effected by temporary unpleasant odors, and the central-air-vent-less hall depends on the thermal flow from the bathrooms to appropriately dictate the hall thermostat.

The appearance is as a design choice.  I went heavy on the industrial look. This could be done with a cleaner, less visible appearance.
Thanks for the feedback.
Mr.Nelson (author)  hixair4 years ago
I contemplated a one light system, but I didn't like the trade off.  One light would give you enough information to determine the condition of the bathroom's door - excluding the event of a dead light, tripped breaker, or other system failure.  In any of these events, a two light system would quickly convey that a problem had occurred.  (Not that this system is anywhere near as vital, but visualize a traffic signal that only has a red light.)  The downside to the two light system is the larger upfront cost of more hardware, and the long term cost of increased power consumption.  I considered the overall cost justifiable; LEDs are very efficient.  Also - in my mind - a green light signifying go, and red light signifying stop -- more clearly convey the appropriate actoin.  The absence of a light would require recalling the default status indication of the light, and seems slightly less direct.

Interesting suggestion.  Would the light switch be a better indication of occupancy?  I think this would depend on the habits of the users in question, but I don't believe so - in the case of this location.  It would be easier and cheaper to use the switch position in place of the proximity switches - though.  Thanks for the idea of a diff rent input option.
static4 years ago
 Ya need to scrounge up some old motel neon no vacancy or vacancy signs. That or make them out of LEDs for low power consumption, and low key light levels
Mr.Nelson (author)  static4 years ago
I like it.  The ones where the "no" toggles depending on condition.  I even want it where it blinks and hums as the "no" turns on.

I ran across images of LED versions - already in production - as I looked for the classic.  Nice idea.
Jeffrey G C4 years ago
I noticed that you have a proximity sensor, im not sure if this would simplify things, but try using a reed sensor and a magnet,  the advantage to this is that you can put the reed sensor int the door frame, and the magnet in the door.  when you close the door, the magnet should come very close to the reed sensor, completing the circuit,

on another note, good instructable, i like this idea
Mr.Nelson (author)  Jeffrey G C4 years ago
I was thinking of the same hardware when I talked about being able to use "security magnetic break switches".  Thanks for the vocab.

After browsing the net briefly, I can defiantly say that it would reduce the sensor's costs, be allot easier to hide from site, and reduce the size and cost of the associated wiring.  Thank you for the input.
1-40 of 62Next »