Bathroom Occupied Sensor

From Makers Local 256
Jump to: navigation, search

Creator:
User Name
Status:
Gathering Materials
Born On:
12:54, 11 January 2013 (CST)
Last Updated:
13:54, 11 January 2013 (CDT)

Overview

Once a year my friend Chris Shiver fills his house with as many people as he can for a week. One of the sleeping arrangement issues is that there was a bedroom added to the house that is only accessible from a shared bathroom. When people use the bathroom they sometimes leave one of the two doors closed, making it a mystery to the people sleeping in the isolated bedroom as to whether the bathroom is truly occupied or abandoned. As this is the only entrance and exit to the rest of the house, it's important to have this information.

Chris would like a sensor that would inform the occupants of the isolated bedroom whether the bathroom is occupied, without having to knock on the door and wake everyone else in the dorm-styled bedroom.

Solution

If both of the bathroom doors are closed, then the bathroom will be assumed occupied. A light in the dorm-room will be lit indicating that it is in use. If either of the doors is open, then the bathroom will be assumed abandoned. The light will be off, indicating the bathroom is free to enter, and the occupants of the dorm-room free to exit to the rest of the house through the bathroom. For the first (possibly only) build, Chris is not concerned with there being wires strung through the bathroom. So to reduce cost, no wireless capabilities will be utilized. However a simple IR transmitter and receiver would likely get the job done, or if you wanted to be real fancy, something like XBee could be used.

Materials

  • Tinyduino
  • Spool of Wire
  • 2x Door Sensors
  • Battery pack
  • LED
  • Resistor for LED
  • Project Enclosure Box (Will Also house dorm-room side LED indicator light)

Tools

  • Wire strippers
  • Soldering Iron
  • Solder
  • Laptop with Adruino IDE installed
  • USB programming wire
  • Screwdriver (for attaching wires to door sensor)