Thumbs up. Yes, I have seen several 3-cube, 5-cube and one nice 11-cube done by friends. And each is an accomplishment by its creator. It should not stop us "mere mortals" from doing something simpler for our enjoyment! (I am thinking of doing a 1x1x1 LED cube )

Care to mention (not the whole code/diagram) what technique you used to control the LEDs - straight from each pin or some driver chip? On/Off or level control? Store the patterns on chip or calculate on the fly or feed from the USB (or other source)? You mention "Menu" - is there a LCD interface or ...?

I used common anode (positive) for each floor and common cathode (negative) for the 9 columns.

The animation (the 1st two of them) uses Multiplexing, the rest of the animations just runs thru the floors one at a time.

I control the cube with 4 Shift Registers (No needed really for a 3x3x3 cube as Arduino can easily handle it) but the idea is to learn how to use them, just in case I make the jump to a 5x5x5 cube hopefully RGB.

I'm going to add more info in a blog I'm making, you can get some extra info, plus a PDF as a "Guide" to make one of this.

http://arduino.alt245.com.ar/3x3x3-led-cube/

It's not perfect, but it works, I have a lot more to learn and to improve. But it's a starting point.

Hi I just downloaded the PDF for your cube and was wondering if the shift registers are 74HC959 as stated or if they are in fact 74HC595's. It's just that I cannot find any real references to 959 's online. Is there any chance of you sharing your code as I cannot find if on your website. Nice cube and thanks for the PDFPedro.

Hi I just downloaded the PDF for your cube and was wondering if the shift registers are 74HC959 as stated or if they are in fact 74HC595's. It's just that I cannot find any real references to 959 's online. Is there any chance of you sharing your code as I cannot find if on your website. Nice cube and thanks for the PDFPedro.

Yes they are 74HC595

I thought I had corrected that error Going to replace the file now, but yes, you are right, they are 74HC595

ghpk - I have uploaded American 2020's cube code here and I think that I have the PDF at home. If you want it, let me know and I'll put it up somewhere for you. The code is not completely in English. Here is one that looks OK My only advice would be to use one that uses transistors to drive the levels rather than just relying on the digital pins for all column and level controlPedro

Having a read through that article, it has as certain few paragraphs I feel unsure about:

Quote

For obvious reasons, it is vital to have functioning LEDs. I found out the hard way that it's much easier to test the individual LEDs before you solder them together. Sticking an iron to desolder a damaged LED in the middle of your cube is as tough as it sounds. Take the time to test them.

You can hook the LEDs up to a 3 volt power supply and briefly powering on, use an LED Tester, or simply use a coin cell battery. Hold the coin cell between the legs of the LED and then squeeze the legs. You don't need a resistor since the coin cell runs at 3V and you are only touching it for couple seconds.

Is this sound advice, or would it always be best to use a resistor. Wouldn't the resistor help prevent damage if you connect the LED backwards while testing?