Friday, May 1, 2015

8x8x8 LED cube kit completed

I completed the third application for my 8x8x8 LED cube.  First it was to use it with an Arduino, then with a Raspberry Pi and then this kit that I bought on eBay.  At first I thought it was not working because it is so dim that you have to turn down the lights to watch it.  Once that problem was fixed I then reverse engineered it to work with an Arduino once again.

Here is the front view of the completed 8x8x8 LED cube kit.

 This is the back view.  You can see the wires going up to the eight layers.

Here is the bottom view so you can see the IC's.

This it the video of it on YouTube.

The design problem is that there should be a resistor in each LED leg, that would take 64 resistors.  Instead they used 8 resistors in the common cathode circuit.  As a result the brightness of each layer varies depending upon how many LED's are lit up.  The more led's are lit the dimmer the layer becomes.  I might try to fix this by adding a resistor on each of the 64 legs and removing the ones on the common cathode connection to each layer.  If nothing else reducing the 500 ohm resistor to 100 or 220 ohms might do the trick.

Here is the quick fix - just change the 510 ohm resistors to 51 ohms.  Then the display is much brighter.  It is still not as bright as when I used 74595 shift registers.
I am now reverse engineering this LED cube to allow an Arduino to control it.
Here is the completed modification.  It requires adding a 74LS138 IC.  The latches need to be changed to 74HC574's to make it work properly with an Arduino.
This is the schematic diagram.

Here is a video of the cube kit working with the Arduino Uno.

Once it was interfaced to the Arduino I used a spare analog pin to add sound to it.




4 comments:

IzMr Pickel said...

Bob i have a question. I have built the same led cube you built from the same kit. All leds are working but in the wrong order. Were would you start troubleshooting? I have posted video of what my cube is doing on fb. My name it matt pickel. My profile picture is of the cartoon brain from pinky and the brain.

Bob Davis said...

Is the reversed order bottom to top? If so it is the common cathode jumpers on the back side.

Unknown said...

Hi there could you please show me how it is connected to the arduinother many thanks in advance

Bob Davis said...

Connecting it to an Arduino requires an adapter. It is detailed in my book "Arduino LED Cube Projects"..