4x4x4 LED Cube

I wanted to build a 4x4x4 LED cube with Arduino just to see if I could do it, and it turned out i could. Here you can see the pictures step by step while I was building it and I must say I think it turned out great. The only thing I want to do with it now is to build some kind of casing for it, thinking about doing something with plexi glass or acrylic glass. Anyhow here is the build process.

First of I needed a plate to allign my LEDs on, I meassured the length of the LEDs legs and made a grid acordingly.

Then I drilled a hole in all the places where the lines crossed eachoter resulting in 16 holes.

Then it is time to place the LEDs in the holes, keep in mind that the allignemnt of the possitive and negative legs should be the same on each legs. Its also a good tip to place the legs in a 45 degree angle relative to the grid.

Then I bended the negative leg of theLEDs so that they would form a plane (not a airplaine stupid ;)).

After that I soldered all the negative legs together and added three pieces of steel wire to fill inn the open areas and make it more sturdy.

The the process was repeated three times and then I suddenly had four of theese bad boys ready to ligt up.

Now ittime to solder theese bad boys toghether, this time I soldered all the possitive leggs togheter. A protip is to have the pretiest layer on the bottom (remember we are soldering everything upside down) then the best looking layer will be the on on top of the cube.

A picture of me soldering in my Dream, Think, Create t-shirt.

Look how preaty it looks from the side.

Suddenly, after som magic, the layers wer all soldered together.

Here I’m testing that everytinh is soldered correctly. I apply ground to the plane and 5v to the legs and then a LED light up like it’s christmas.

Then it was time to add my creation on a perfboard, it was quite a challenge to get all sixteen legs though at the same time.

But I managet it at last, then I soldered them

Then it was time to add the transistors, I used the 2N222 wich suits most of my needs. Just remember to align  them rigth. Theese will cut or connect the four diferent layers to ground.

Here they are soldered and connectet to each of the layers with four extra steel wires.

Here I added sixteen 330 ohm resistors, one for each of the sixteen legs.

And here the resistors are being soldered to the legs.

And done.

Here i add the controller wires to the resistors and a common ground that are used by both the resistors and the rest of the cube.

Here the rest of the wires are added, one for each leg. Now you might wonder how I can controll sixteen legs and four transistors with the Arduino which only have 14 digital output ports, well, the analog in ports can also be used for digital input and output so there you have six more and 20 in total, just what I needed without using a shiftregister or LED controller.

At last an awesome video showing of the cube