Archive:LightsOut: Difference between revisions
(Created page with "{{project |name = LightsOut |status = experimental |image = LightsOut_prototype.jpg |description = Light control for the space |author = [[User:Tiefpun...") |
No edit summary |
||
Line 24: | Line 24: | ||
Currently, LightsOut nodes are planned on Arduinos, which require some sort of embedded PC (such as RPi) to handle MuMaBus communications. Eventually, the Arduinos might be removed and the control hardware such as relay boards are connected directly to the RPi. | Currently, LightsOut nodes are planned on Arduinos, which require some sort of embedded PC (such as RPi) to handle MuMaBus communications. Eventually, the Arduinos might be removed and the control hardware such as relay boards are connected directly to the RPi. | ||
Arduinos should | Arduinos should use [http://bitlash.net/ bitlash] instead of Firmata for future prototypes. | ||
=== Switching Node === | === Switching Node === | ||
Line 32: | Line 32: | ||
A node controlling RGB LEDs, such as the RGB strip currently in the space. The plan is to use WS2801 controllers ([http://kt-elektronic.de/wawi11/artikeldaten/ic-ws2801smd-e1/ws2801.pdf datasheet], [http://shop.led-studien.de/de/elektronik-bausatze/led-pixel/ws2801-rgb-led-pixel-treiber Cheapish online store], otherwise eBay) to control multiple strips using one RGB node with a SPI-like interface. | A node controlling RGB LEDs, such as the RGB strip currently in the space. The plan is to use WS2801 controllers ([http://kt-elektronic.de/wawi11/artikeldaten/ic-ws2801smd-e1/ws2801.pdf datasheet], [http://shop.led-studien.de/de/elektronik-bausatze/led-pixel/ws2801-rgb-led-pixel-treiber Cheapish online store], otherwise eBay) to control multiple strips using one RGB node with a SPI-like interface. | ||
=== RCSwitch Node === | |||
A node controlling remote controlled power sockets via RCswitch. Directly connected to the RPi | |||
== Status == | |||
=== Nodes === | |||
* 1 RCswitch node connected to the status RPi | |||
=== Lights === | |||
{| class=wikitable | |||
! Name !! Type !! Topic !! Notes | |||
|- | |||
| Whiteboard || RCswitch || mumalab/room/lights/whiteboard/state || switched on and off with the space status | |||
|- | |||
| Hanging Lights || RCswitch || mumalab/room/lights/hanging_lights/state || switched on and off with the space status | |||
|} | |||
=== Rules === | |||
Currently only via indiviual Python scripts | |||
* Switch whiteboard light tube and hanging lights on and off in reponse to space status changes. | |||
[[Category:Project]] | [[Category:Project]] |
Revision as of 23:34, 16 March 2014
LightsOut Release status: experimental [box doku] | |
---|---|
Description | Light control for the space |
Author(s) | tiefpunkt |
LightsOut should eventually control the lights in the space, from normal lamps to fancy RGB stripes.
Connectivity
LightsOut is part of the MuMaBus. Lights will probably be availabe in the MuMaBus tree under "mumalab/room/lights/#"
Initial Prototype
A small prototype using a relay board and Arduino led to the creation of the MuMaBus Node. The arduino was running Firmata, and pins were directly controlled from software. The python code running on a PC connected to MuMaBus and commands were interpreted correctly. A HTTP interface using MQTT-over-WebSockets was built [1]
Hardware
Currently, LightsOut nodes are planned on Arduinos, which require some sort of embedded PC (such as RPi) to handle MuMaBus communications. Eventually, the Arduinos might be removed and the control hardware such as relay boards are connected directly to the RPi.
Arduinos should use bitlash instead of Firmata for future prototypes.
Switching Node
A node with a set (8 or 16) relais. Will use ready made relay boards with 8 relays. Plan for the future is to connect those using shift registers and SPI, but for now, they'll controlled directly by an Arduino.
RGB Node
A node controlling RGB LEDs, such as the RGB strip currently in the space. The plan is to use WS2801 controllers (datasheet, Cheapish online store, otherwise eBay) to control multiple strips using one RGB node with a SPI-like interface.
RCSwitch Node
A node controlling remote controlled power sockets via RCswitch. Directly connected to the RPi
Status
Nodes
- 1 RCswitch node connected to the status RPi
Lights
Name | Type | Topic | Notes |
---|---|---|---|
Whiteboard | RCswitch | mumalab/room/lights/whiteboard/state | switched on and off with the space status |
Hanging Lights | RCswitch | mumalab/room/lights/hanging_lights/state | switched on and off with the space status |
Rules
Currently only via indiviual Python scripts
- Switch whiteboard light tube and hanging lights on and off in reponse to space status changes.