Bathroom Light

From NURDspace
Revision as of 22:58, 28 November 2013 by Talloak (talk | contribs) (Created page with "{{Project |ProjectSkills=Soldering, Arduino, 3D Printing, Coding |ProjectStatus=Finished |ProjectNiche=Electronics |ProjectPurpose=Infrastructure }} The bathroom light was com...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
NURDspace Project
link=File:{{{Name}}}.jpg
Participants
Skills
Status
Niche
Purpose
Tool
Location
Cost
Tool category

{{{Name}}}Property "Tool Name" (as page type) with input value "{{{Name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:{{{Tool}}} | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:{{{Tool}}} | [[Tool Cost::{{{Cost}}} | }}

The bathroom light was commonly left on in the new space. This is ungreen, so a solution to this was desired. The following criteria were desired:

  • No interference with the existing wiring
  • No drilling in the walls
  • Some means of reporting out the presence/absence of someone using the bathroom (for future expansion)

An old motion sensor was present already in the space, so with a bit of screwdriver work and an old wall-wart, a 12V supply for it was found. Also available was an unused servo. This presented the opportunity to place the servo over the light switch and allow for human override.

A protoboard arduino-clone was designed and developed and coded to turn off the light after 10 minutes of no activity. It was originally designed to output a serial line, however this seemed to cause the chip to become buggy, so a simple high signal is generated on motion detection. It is voltage divided down to allow for connection to a Raspberry Pi.