4x4x4 Charlieplexed LED Cube

4x4x4 Charlieplexed LED Cube

I am a firm believer in “standing on the shoulders of giants” and borrowing ideas that already exist and combining, building on them or delivering your own take on them – after all why re-invent the wheel, just because you happen to want to use a wheel in your design? This was good enough for Sir Isaac Newton and Linus Torvalds, so why not ordinary people like me?

I have wanted to build an LED cube for a while now and thought that an RGB version would be good and after my experiences with Cherlieplexing with my Binary Clock, I thought I would give this a go.

The best example I have found is that by Asher Glick:

This was also used as the foundation for the one built by Hari Wiguna:

I have decided that I will use a bare ATmega328P, as I can buy these from RS for £2.14 each, I can probably do away with the requirement for an external crystal or resonator by running at 8MHz from the internal clock, so the only other costs will be a suitable perfboard and some LEDs.

I am using some perfboard I bought from Ebay – 10 pieces of 7x9cm at £1.80, or £0.18 each.

The LEDs came from an Ebay auction for 100 x 5mm RGB LEDs that I won for £5.65 (inc P&P) which makes for £0.0565 each or £3.616 for the 64 required for this project.

This makes the total cost of this project, excluding any additional wire or solder, to be just under £6.00.

I have drawn up the schematic in Eagle:

I have also drawn it out using DIY Layout Creator (this was done using the perfboard mentioned above):
The colours are those used by Asher Glick on his website, I intend for the horizontal and vertical connections to be additional structural wiring, hence why I have turned the spires by 45 degrees.
Here are some shots of the LED spires in various stages of construction:

Legs bent out at 90 degrees:

Legs bent back around ready for soldering:

A completed spire

Leave a Reply