Wall of Faces: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Line 41: Line 41:
* http://code.google.com/p/arduino-tiny/wiki/TWIMasterLibrary I2c/TWI master Library for use with above, first glance might be out of date
* http://code.google.com/p/arduino-tiny/wiki/TWIMasterLibrary I2c/TWI master Library for use with above, first glance might be out of date
* http://arduino.cc/playground/Code/USIi2c Playground article on the ATtiny I2C
* http://arduino.cc/playground/Code/USIi2c Playground article on the ATtiny I2C
=I2C Command structure=
Need to define the command system for turning on and off the RGB led's<br />
Needs to be simple so that changes down the line to add more functionality are only needed at the Main Controller rather than re-flashing every module<br/>
May follow BlinkM command structure  http://thingm.com
**More on this to follow --[[User:Lwk|&#39;RepRap&#39; Matt]] 18:47, 1 April 2012 (EST)


=Main Controller=
=Main Controller=

Revision as of 23:47, 1 April 2012

Overview

The wall of faces will have members photos and names on it. They will light up if a member is within the space. This was started as we grew and people could not put names to faces of members. Obviously a high-tech touch has been added.

The wall will comprise of a number of boxes. Each box will have the members photo and name. The boxes will be laser cut and all fit together to build a whole wall. Each box will also contain a circuit board. This will have LED backlighting and a microcontroller (probably an ATtiny48/85). When a member is in the space (via their RFID tag) then their image will light up. Members do not swipe out, so at the end of every day then all the backlighting will reset. This will give a record of who was in the space within the last 24 hours.

This will probably be in th form of a kit which memebrs get the chance to build - including laser cut pieces and soldering the board.

Boxes

The boxes will be 60(h) x 60(l) x 30mm(w).
The design was created using BoxMaker.
More on making project boxes is here http://support.ponoko.com/entries/20344437-laser-cut-project-box-tutorial.
The initial prototype is here:



Circuit

Code

Simple code - when a command comes through (a unique identifier) then the light swicthes ON (also can send an OFF command).

I2C Command structure

Need to define the command system for turning on and off the RGB led's
Needs to be simple so that changes down the line to add more functionality are only needed at the Main Controller rather than re-flashing every module
May follow BlinkM command structure http://thingm.com

Main Controller

A controller will be required to take the info from gatekeeper (which knows when an RFID tag has been read) and output a command to turn on the correct box.

The Gatekeeper process on Holly will send ON commands with unique member id's
Posible a nanode with NanodeMQTT to decode the MQTT and then send commands out via the I2C bus.