LED Cubes: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(moar about teh cubes)
(...)
Line 1: Line 1:
In 2014 cube-mania struck the space.   
In 2014 cube-mania struck the space.   


[https://github.com/pbrook/pycubedemo pycubedemo] contains driver for the various cube boards, a cube emulator and a repository of demo patterns.
[https://github.com/pbrook/pycubedemo pycubedemo] contains drivers for the various cube boards, a cube emulator and a repository of demo patterns.


= The Cubes =
= The Cubes =


== Mini 4x4x4 cube ==
== Mini cube ==


A mono cube made of 64 charlieplexed 5mm LEDs (4x4x4), completed around the end of April.  Constructed by [[User:pbrook|pbrook]].
A small cube made of 64 (4×4×4) charlieplexed 5mm LEDs, completed around the end of April.  Constructed by [[User:pbrook|pbrook]].


Firmware: [https://github.com/pbrook/charliecube charliecube].
Firmware: [https://github.com/pbrook/charliecube charliecube].
Line 14: Line 14:


[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 ==
Not a cube at all, 32×8 RGB LEDs in a rectangular array. Made around June.
https://www.flickr.com/photos/ajtag/14503776395/
Hardware and firmware [https://github.com/pbrook/10lol here].


== Martyn's desktop cube ==
== Martyn's desktop cube ==


An 8x8x8 cube of 10mm RGB LEDs in an acrylic case.  Split into four independent boards, each driven by an ATMEGA328 and 3 PWM driver chips.
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.
 
Connection is over wifi: when at the space it has hostname "cuboid". Talk to it with <code>python cube.py -P cuboid:3000</code>.


Firmware and protocol is [https://github.com/pbrook/10lol here].
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>.


== LED Array ==
[https://www.youtube.com/watch?v=YylurBrToJU Video] (bare cube, no case).


Not a cube at all, 32x8 RGB LEDs in a rectangular array. Made around June.
Hardware and firmware is [https://github.com/pbrook/cube3 here].  Protocol is the same as for the LED array.


https://www.flickr.com/photos/ajtag/14503776395/
== ÜberCube ==


== Über Cube ==
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, about 2 metres on a side. Each pixel is a strip of 6 RGB LEDs inside a pair of nested plastic drinking cups, driven by an ATtiny (one per pixel!).
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.


Firmware: [https://github.com/pbrook/lightcube lightcube].
Hardware and firmware: [https://github.com/pbrook/lightcube lightcube].


Exhibited at Leeds City Museum on Friday 3rd October as part of Light Night 2014.
=== 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: [http://www.lightnightleeds.co.uk/33-news-leeds-hackspace-hackspace-cube.html Hackspace Cube].
Matt talking about the cube and the space: [http://www.lightnightleeds.co.uk/33-news-leeds-hackspace-hackspace-cube.html Hackspace Cube].

Revision as of 22:36, 6 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. Made around June.

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

Hardware and firmware here.

Martyn's desktop cube

An 8x8x8 cube of 10mm RGB LEDs in an acrylic case. Constructed largely by Joran. Split into eight independent boards, one per plane, each containing an ATMEGA328 and 3 TCL5940 PWM LED drivers.

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 python cube.py -P cuboid:3000.

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 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.

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