loading

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.

<p>Hi scott, Can you recommend a different IC chip for the driver? <br>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.</p>
<p>hey mairo123 and great Scott thanks to help me im done with the circuit and uploading the codes now the only thing which is left is to complete the cube build and then i m done. i basically made the whole thing on breadboard using and arduino uno. thanks alot to help me .</p>
<p>i dont wanna waste the money spent on this project my dad will kill me</p>
<p>C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_animations.</p><p>you sure that you have that tlc5940 folder in there?</p><p>and to open both of them together throw them in to the same folder and open one of them, it should open both</p>
<p>pls help me with that</p>
<p>the error is something like this after opening it altogether: Arduino: 1.6.7 (Windows 7), Board: &quot;Arduino/Genuino Uno&quot;</p><p>In file included from C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_animations.h:30:0,</p><p> from C:\Users\Goale\Desktop\function\ledcube.ino:10:</p><p>C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h: In function 'void CubeUpdate(int)':</p><p>C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:32:27: error: variable or field 'tlc_setGSfromProgmem' declared void</p><p> void tlc_setGSfromProgmem(prog_uint8_t *gsArray);</p><p> ^</p><p>C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:32:27: error: 'prog_uint8_t' was not declared in this scope</p><p>C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:32:41: error: 'gsArray' was not declared in this scope</p><p> void tlc_setGSfromProgmem(prog_uint8_t *gsArray);</p><p> ^</p><p>C:\Users\Goale\Documents\Arduino\libraries\Tlc5940/tlc_progmem_utils.h:68:27: error: variable or field 'tlc_setGSfromProgmem' declared void</p><p> void tlc_setGSfromProgmem(prog_uint8_t *gsArray)</p><p> ^</p><p>ledcube:65: error: expected '}' at end of input</p><p> }</p><p> ^</p><p>ledcube:65: error: expected '}' at end of input</p><p>exit status 1</p><p>expected '}' at end of input</p><p> This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p> enabled in File &gt; Preferences.</p>
<p>but how do i open both together</p>
<p>the code with led cube says reset was not declared . what does that mean now pls help me pls.</p>
<p>Make sure you open the 2 files together, Both of them need to be open at the same time. This solved the problem for me. Also with that TLC config file Remember to throw the file in the right place C:\users\name\files\arduino\libbaries</p>
<p>as u said dont forget to upload tlc config file i even did that but its still not working</p><p>i am really in a great loss of money .</p>
<p>pls reply pls</p>
<p>can u pls help me with that </p><p>some problems are there with the codes it show error compiling again and again</p><p>and again.</p><p>and can i use arduino uno instead of nano.ii think yes cuz the pins are the same mostly.</p><p>so pls check the codes and help me with that pls its a request.it show error compiling and i m not able to get rod of that so pls. thank you so much for this project.</p>
<p>hey my name is <br>Yash and i m just trying to make a cube so instead of arduino nano can i use arduino uno with the same pins and connections</p>
<p>Sure</p>
<p>hey there is some kind of problem with the codes it says that &quot;exit status 1&quot; and even error compiling can u pls help me with that</p>
<p>I was able to make it even bigger by adding more mosfets and adapting the code a little bit and i was able to make a animaton and a explsion animation too with colors and it turned out to be quite nice,Thanks for the tutorial GreatScott.</p>
<p>this one is good</p>
<p>hi, can you help to have the code</p>
<p>Awesome!</p>
<p>and more TLCs as well but and i was able to pump it up to 8x8x8 so its doble but its based off your tutorial,Thanks</p>
<p>pls reply great scott</p>
<p>Well, Scott, thank you for that nice Instructable what you are created here and that nice Video series at all.</p><p>I also rebuildet your Cube in the same way and it looks really awesome. But, first of all, i decided to check the circuit on an breadboard with no success. I got really trouble with uncontrolled blinking but i checked the circuit more then several times.....but after all i soldered that all on an board and then it works^^ </p><p>really, really interesting but now i am glad to show you my success :)</p>
<p>Great tutorial. Is it possible to use 6x 74HC595 instead of the 3x TLC5940?</p>
It there a way to do this project using common Cathode RGBs?
<p>Sure. But that costs time and more money. Better switch to common anode.</p>
<p>hi, how can I change the code to work with 8x8x8 with tlc5940. please can you help</p>
<p>can anyone help me with the PCB design? I am a totally beginner at this.</p>
<p>Hey so I noticed you left the 24 pin IC sockets out of the part list. </p>
<p>28 pin* </p>
<p>I realy like your projects! And i have a question, how many led drivers would i need for 10x10x10 led cube? And if i understood right this drivers that you use wont have enough outputs for such a big led cube, is this right? </p>
<p>hi greatscott! </p><p>Thanks for the great video!</p><p>I am planning on making this, although I am not quite sure about how to connect the MOSFETS up, it seems like you have pin A0 ( for the first MOSFET) connected to gate, but also to the source through a 1K resistor, then linked to 5V, and the drain is going to the anode layer, is it correct? </p><p>Also where should I connect the capacitors? Just somewhere in the circuit between ground and VCC? Thanks!</p>
<p>i made it and its sweet. good job great scott for this awesome tutorial </p><p>p.s i also made video https://www.youtube.com/watch?v=qLPbEx3UhV0</p>
<p>Awesome. Thanks for sharing.</p>
<p>i got some RGB LEDs and the red LED has a max voltage of 2.2 while the other two have 3.3, i tried the red at 3.3 and it stopped working, does this instructable compensate for this, or will i need different LEDs ?</p>
<p>Since we use a constant current source instead of a constant voltage source, it will properly.</p>
<p>ok thank you </p>
<p>hi guys i have made it :D the cube is awesome and all the animations and colors but i can notice really, really fast blinking of whole cube. does enyone have any idea what that could be</p>
<p>oh and one more thing, i discovered bug. after 1 - 1.5 hours of working the cube gets stuck at red wall animation. its like there something wrong in the code</p>
<p>anyone ??????</p>
<p>Thanks to you for this awesome work. I made a 5x5x5 cube and it work perfectly.</p><p>Thx</p>
<p>hello again I discovered the existence of the EEPROM I could put an outline of how to connect to the Arduino thanks again</p>
<p>hello ... my name is daniele I'm 17 years old and I'm Italian. I reproduce your cube but with a small difference in the place of Arduino Nano Arduino I put a one and now I have a problem the second code that is, the one with the new animations tells me I have little space how can I put it inside my arduino?</p><p>thanks and answer as soon as possible</p>
<p>hi guys i have quick question. On schematics 5v from power supply is going to 5v pin on arduino, should it go on vin pin instead ?</p>
<p>No</p>
<p>tnx. i almost made it :D</p>
antb - try the other programs ledcube12 - it should download, load and ru as is - try it and let me know. i am on the road and will check later
<p>Hi efifi,</p><p>Thanks for your answer.</p><p>What do you mean by 'ledcube12' ?. If you mean ledcube v2, that is the code I am using. </p><p>Quote - The second code only shows the random function. The other ones are included but you have to put them into the void loop() function.</p><p>What I need to know is how do I put the other animations inside the void loop() function ?</p><p>I hope someone can help me out with this, It's the last bit of info I need to get my cube working as it was designed to work.</p><p>Thanks in advance</p><p>AntB</p>
<p>Hi! Great guide, I will most likely try to build one myself. Love your channel too.</p><p>I have a question about the Audrino Nano on Ebay.com, it says you cant use windows 8 to program it. Can it be programmed in some other way without removing my win8 to install windows 7 or older on my computer? </p>
<p>I think the arduino ide should support win8. You can take a look at their website: www.arduino.cc</p>
<p>It seems that it should work with win8 64 bit, according to the forums. Wierd that the ebay seller says it won't work with win8. </p><p>Thank you for your reply, cheers from Sweden!</p>

About This Instructable

45,274 views

370 favorites

License:

Bio: Awesome Electronics Tutorials, Projects and How To´s
More by GreatScottLab: Convert Your Old Laptop Battery Into a Power Bank Make Your Own Electric Motorized Longboard DIY Big 7-Segment Internet Display
Add instructable to: