LED Cubes: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(...)
No edit summary
Line 15: Line 15:
[http://leedshackspace.org.uk/2014/04/30/fixing-an-led-cube-with-hot-glue/ Blog post with videos].
[http://leedshackspace.org.uk/2014/04/30/fixing-an-led-cube-with-hot-glue/ Blog post with videos].


== LED Array ==
== LED array ==


Not a cube at all, 32×8 RGB LEDs in a rectangular array. Made around June.
Not a cube at all, 32×8 RGB LEDs in a rectangular array, split into four 8×8 boards. Made around June by pbrook.


https://www.flickr.com/photos/ajtag/14503776395/
https://www.flickr.com/photos/ajtag/14503776395/
Line 25: Line 25:
== Martyn's desktop cube ==
== Martyn's desktop cube ==


An 8x8x8 cube of 10mm RGB LEDs in an acrylic case.  Constructed largely by [[User:Joran|Joran]].  Split into eight independent boards, one per plane, each containing an ATMEGA328 and 3 TCL5940 PWM LED drivers.
An 8×8×8 cube of 10mm RGB LEDs in an acrylic case.  Constructed largely by [[User:Joran|Joran]].  Split into four independent boards, each containing an ATMEGA328 and three
[https://datasheets.leedshackspace.org.uk/tlc5940.pdf TCL5940] PWM LED drivers. The LED drivers control one colour component each (red, green or blue). Multiplexing enables each driver's 16 output channels to control 128 LEDs.


A small x86 board drives the microcontrollers. It runs demo patterns in a loop when idle and listens for TCP connections over wifi. When at the space it has hostname "cuboid". Talk to it with <code>python cube.py -P cuboid:3000</code>.
A [http://www.gizmosphere.org/gizmoboard/ Gizmo] (small x86 board) drives the microcontrollers. It runs demo patterns in a loop when idle and listens for TCP connections over wifi. When at the space it has hostname "cuboid". Talk to it with <code>python cube.py -P cuboid:3000</code>.
 
Build time: one week. Components:
* 512 10mm RGB LEDs: £100
* 16 PCBs (4 populated, the other 12 are structural): £40
* ICs: 4×ATMEGA328, 12×TCL5940NT: £50ish?
* Gizmo board, ATX PSU: spare
* 50×50×50cm clear acrylic case, 3mm thick: £45


[https://www.youtube.com/watch?v=YylurBrToJU Video] (bare cube, no case).
[https://www.youtube.com/watch?v=YylurBrToJU Video] (bare cube, no case).
Line 35: Line 43:
== ÜberCube ==
== ÜberCube ==


The big one, an 8×8×8 RGB cube about 2 metres on a side. Each pixel is a strip of 6 RGB LEDs inside a pair of nested plastic drinking cups, and is driven by an individual ATtiny25.
The big one, an 8×8×8 RGB cube 3 metres on a side. Each pixel is a strip of 6 RGB LEDs inside a pair of nested plastic drinking cups, and is driven by an individual ATtiny25.


Vertical strings of 8 pixels are suspended from wooden beams atop the cube; each plane of 8 strings is connected together in a zigzag arrangement to make linear strings of 64 pixels.  Only three wires are used (ground, power and data): each pixel controller consumes 24 bits of serial data per frame and passes the rest along the string.
Vertical strings of 8 pixels are suspended from wooden beams atop the cube; each plane of 8 strings is connected together in a zigzag arrangement to make linear strings of 64 pixels.  Only three wires are used (ground, power and data): each pixel controller consumes 24 bits of serial data per frame and passes the rest along the string.

Revision as of 15:16, 8 October 2014

In 2014 cube-mania struck the space.

pycubedemo contains drivers for the various cube boards, a cube emulator and a repository of demo patterns.

The Cubes

Mini cube

A small cube made of 64 (4×4×4) charlieplexed 5mm LEDs, completed around the end of April. Constructed by pbrook.

Firmware: charliecube.

Connection is over USB. Talk to it with python cube.py -P /dev/ttyACM0 -s 4.

Blog post with videos.

LED array

Not a cube at all, 32×8 RGB LEDs in a rectangular array, split into four 8×8 boards. Made around June by pbrook.

https://www.flickr.com/photos/ajtag/14503776395/

Hardware and firmware here.

Martyn's desktop cube

An 8×8×8 cube of 10mm RGB LEDs in an acrylic case. Constructed largely by Joran. Split into four independent boards, each containing an ATMEGA328 and three TCL5940 PWM LED drivers. The LED drivers control one colour component each (red, green or blue). Multiplexing enables each driver's 16 output channels to control 128 LEDs.

A Gizmo (small x86 board) drives the microcontrollers. It runs demo patterns in a loop when idle and listens for TCP connections over wifi. When at the space it has hostname "cuboid". Talk to it with python cube.py -P cuboid:3000.

Build time: one week. Components:

  • 512 10mm RGB LEDs: £100
  • 16 PCBs (4 populated, the other 12 are structural): £40
  • ICs: 4×ATMEGA328, 12×TCL5940NT: £50ish?
  • Gizmo board, ATX PSU: spare
  • 50×50×50cm clear acrylic case, 3mm thick: £45

Video (bare cube, no case).

Hardware and firmware is here. Protocol is the same as for the LED array.

ÜberCube

The big one, an 8×8×8 RGB cube 3 metres on a side. Each pixel is a strip of 6 RGB LEDs inside a pair of nested plastic drinking cups, and is driven by an individual ATtiny25.

Vertical strings of 8 pixels are suspended from wooden beams atop the cube; each plane of 8 strings is connected together in a zigzag arrangement to make linear strings of 64 pixels. Only three wires are used (ground, power and data): each pixel controller consumes 24 bits of serial data per frame and passes the rest along the string.

Hardware and firmware: lightcube.

Exhibition

The ÜberCube was exhibited at Leeds City Museum on Friday 3rd October as part of Light Night 2014.

Matt talking about the cube and the space: Hackspace Cube.

References:

Tweets

Youtube