Lighting Automation

From Nottinghack Wiki
Revision as of 18:42, 26 April 2012 by Lwk (talk | contribs)
Jump to navigation Jump to search

The Problem

As many members will know the existing lighting in the hackspace is a real mess.
Switching is all over the place and its hard to get hold of replacement tubes for the massive fittings.
The current lighting is split across 9 switches/zones.

The Fix

This summers big hackspace infrastructure project is to rewire the lighting throughout the whole space.
Of course being a hackspace we are adding our own techno touch to this job :)
Thanks to an unnamed member we have a growing stock of second hand fittings that will be used to replace the existing 8ft fittings.
The plan to rewire also includes a move to better zoning of the lights and will call for 17 zones over the existing 9.
This quick plan shows the various zone that will be individually controllable

Hackspace-2.0-lighting-plan.png

The Tech

Now being a hackspace good old fashioned light switches are just not going to cut it.
So it was suggested that we could build an integrated system by having the lights wired back to central control boards, fitted with contractors and relays.
These relays can of course be switched by an Arduino or other micro and giving us ultimate control over the hackspace lights.

The Light switches around the hackspace will be replaced with micro's and pushbuttons
Having micro's in the systems means we can easily do multi-way switching and not just from custom control board's but also from webpages or mobile apps

The Plan

The 17 zones will be split across two control box's, 7 to a board in the workshop and 10 to a board in the members storage room.

Control Box

Each control box will house contactor's, relays and a networked micro-controller.
A contactor is a 240v electrically controlled switch, like a relay but for much higher current
Each contactor is switched via a 12vdc relay, which in turn is switched via an arduino and MOSFET setup
5vdc Relays would remove the need for the MOSFET but they are much harder to acquire and cost a lot more
MIcrocontroler in each control board is likely to be a Xino (arduino clone) and a Wiznet Ethernet shield
Again thanks to generous donations we have 17 contactor's and relay holders already at the space.
The 12vdc relays will be ordered from rapid code 60-0905, along with appropriate MOSFET's

Switchs

Two main switch panels and various smaller control points will be mounted around the space
Two larger panels, one in the workshop and one by the last man out switch in the comfy area.
The two large panels will be custom laser etched box's with plan view maps of the hackspace, each lighting zone will have a momentary push switch, possible lit when the lights are out
Again for control in the large panels we will use Xino's and Wiznet shield's
Each panel will need a 5v power supply and network connection

Smaller two/one switch box's will be mounted in the following areas.

  • Textiles room
  • Between the kitchen & toilets
  • Blue room
  • Member storage room
  • Members box room
  • Hall way

The smaller switches will be build from XRF's possible with a attiny2313, but only if it can't be done in LLAP firmware on the XRF's
These will only need a 5v power supply as communication will be done over the existing LLAP<>MQTT bridge

Light Fittings

After the control box's and the wire runs are in place the job of swapping the light fittings over will begin, most of the 8ft's will be replaced with 5ft fittings and tube's.
There will be a call for help when we get round to this stage.

Wire Runs

Heavy feeds will be run from the distribution boards to the new control boards and then wire runs from the control board to each zones first light will be added.
Runs between fitting may be reused from the old lighting if appropriate.