Build Your Own 4x4x4 RGB LED Cube

93,677

432

112

About: Awesome Electronics Tutorials, Projects and How To´s

LED Cubes are awesome. The first one I created was a 8x8x8 blue led cube. It still works like a charm. But being able to display every colour in the spectrum is much more spectacular. Let's start with a small and simple 4x4x4 RGB LED Cube.

Step 1: Watch Part 1 of the Video Series!

As you might have noticed, part 1 concentrates on the cube itself and the case. No electronics yet. The video should already give you plenty of details. But I will give you a short list of parts that you will need to build the cube itself.

Step 2: Order the Parts for the Cube!

Step 3: You Finished the Cube and Case!

Congrats on your finished cube and case. It should now look a little bit like mine in the picture. Go ahead and test all connections with a power supply. If everything works fine you can go ahead and build the electronics in the next steps.

Step 4: Watch Part 2 of the Video Series!

The video gives you plenty of info on how to build the controller for the cube. In the next step I will give you the schematic for the circuit and the part list.

Step 5: Order the Parts for the Controller and Solder It!

Step 6: Upload the Arduino Code and Test the Cube!

Download the code for the LED Cube. This is already my updated version of the code which I showed in part 3 of the video series. Be sure to watch this part as well to get an idea how the code works.

Step 7: Watch Part 3 of the Video Series!

This time it is all about optimisation. You may get a better understanding of the code if you watch the video carefully.

Step 8: New Animations!

Here you can get some new animations which were created by a viewer.

Visit his channel here:

Step 9: Success!

You did it. You just finished your own 4x4x4 RGB LED Cube. Feel free to develope the code in more creative ways than I did. And feel free to share those new creations.

Feel free to check out my Youtube channel for more awesome projects.
https://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes informations.

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

9 People Made This Project!

Recommendations

  • Comfort Food Challenge

    Comfort Food Challenge
  • Toys Contest

    Toys Contest
  • PCB Contest

    PCB Contest

112 Discussions

0
None
Aviyoyo

7 days ago

hey scott can you help me my cube is not working

0
None
adrianalin

Question 11 months ago on Step 5

Scott i'm fallowing your gidlins and i'v don a scheci but dont realy know if this is rowat or not ? can you pls take a luck at the wiering ?

0
None
gmadx

1 year ago

Hello GreatScott! First thanks for the videos and content you provide us, keep on! I have almost finished the cube but when I turn it on I see a dim flash and that is it. The animation is running but no brightness... I used IRF9530 mosfet, there is the apeshit, right?

0
None
Aviyoyo

1 year ago

HEY IS TARTED TO MADE IT BUT CAN U TELL HOW THE 0 AND THE 16 IN THE IC OUTPUT ARE TO BE PLACED .

0
None
tomi942

2 years ago

Lovely thing GreatScott. I just started to do this :D

0
None
Chauhan Vivek R

2 years ago

If i want to make just one color cube, i have to need just one ic and 4 MOSFET?

2 replies
0
None
JoshF79

2 years ago

Has anyone made a 3D (qube) infinity mirror with from this concept??

0
None
andyosoriol

2 years ago

It would work if I do it with arduino uno? instead of the arduino nano

0
None
KasHoogeveen

2 years ago

is there a way to do this with common cathode rgb leds? I've got some of those here.

Keep up the good work, love the channel.

0
None
Chauhan Vivek R

2 years ago

During compiling the codes i found some error.

help me in programming.

0
None
Kunalv12

2 years ago

Bro the program is not working it is saying compiling error
Rest i made whole cube
Plezz help
Please give a link of new program
Thanks

0
None
EliL12

2 years ago

Hi, I bought everything on your parts list and then realized that it is not completely comprehensive. The male and female header pins as well as the P channel Mos fets are not on the list. Also I don't know what the rotary potentiometers are for. Overall still a great tutorial. Almost done with the led cube part. I think I am going to need to buy more silver plated wire. Any help on what to do with the potentiometers would be greatly appreciated. Thanks.

1 reply
0
None
MJ35EliL12

Reply 2 years ago

I watched the third video and it explained what the potentiometer is used for. The shopping list is not complete, so just watch all the videos first and make a list that includes quantities. Use your own list along side the links in the tutorial and you should be good. Otherwise, incredeable tutorial.

0
None
Puudzza-lv

2 years ago

Hi scott.

I am beginner in Arduino code writting.

I build the cube and upload your code, ewerything works fine but it show only one animation (random colors). How to get working other animations (wall, colorchange ) that are in function part in your code?

0
None
rwhite19

2 years ago

Does anyone know if it will possible to power this via a usb cable maybe not to a computer but a usb wall outlet? The one that i have says it is 2.1A 5v is that suitable?

1 reply
0
None
Guransh Singh

2 years ago

It is very good I will make it

0
None
'earl

3 years ago

Hi scott, Can you recommend a different IC chip for the driver?
The TLC5940 is hard for me to get, I tried ordering them from futurlec and theyve kept my money and not shipped my parts for two months and digikey says theyre obsolete. So Im not sure what I can do I dont have a ton to spend on them. And if theres a current more up to date IC I can use that would be great.