## Step 4: Construct the Cube

Now there is the Easy way to do this and that is to connect all the (--) in one layer and then the columns (+) to the resistor and then board. (Look at picture diagram below) what happens is when you turn it on (all of them) the lights are dimmer then when one is on.

My solution to this was to solder a 100 ohm resistor to each LED. (Follow picture instruction on how to do it.) Everything is done in the same way only now you solder all the resistors to the column which is a piece of Ethernet wire. (See picture)

<p>I have also make this cube but i having problem when I try to glow single led in the bottom layer then all the 3 led above that led glows this is happening to whole cube i am using LCCG for programming but the problem is still not solving please help me.</p>
<p>i also had the same problem. i found some of the led leeking voltage. so while i powered the 1 row 1 layer two leds lit of the same column lit . i solved it by replacing the leds. and cheak continuity of each row</p>
<p>i also had the same problem. i found some of the led leeking voltage. so while i powered the 1 row 1 layer two leds lit of the same column lit . i solved it by replacing the leds. and cheak continuity of each row</p>
<p>the wires of the cube will go to which arduino pin . please give me a circuit diagram.</p>
<p>[(x,y)-Pin]</p><ul><br><li>(1,1)-13<li>(1,2)-12<li>(1,3)-11<li>(1,4)-10<li>(2,1)-9<li>(2,2)-8<li>(2,3)-7<li>(2,4)-6<li>(3,1)-5<li>(3-2)-4<li>(3-3)-3<li>(3,4)-2<li>(4,1)-1<li>(4,2)-0<li>(4,3)-A5<li>(4,4)-A4</ul><p>Layers</p><p>[Layer-Pin]</p><ul><br><li>a-A0<li>b-A1<li>c-A2<li>d-A3</ul>
<p>Hi!</p><p>Are you powering the cube using only the arduino? and will an arduino uno be enough to make it?</p>
<p>Hi all, this is cool project. But, how to create this code using 74hc595 ??? </p>
<p>is there away of using the random number command to make paterns</p>
<p>I want to know how to code for the patterns. how can i design my own codes?</p>
<p>I made a program that can produce patterns real easy. Would you like me to share it?</p>
<p>Yes, that will be helpful. Thank you!</p>
<p>Something happened to the link I posted but I made an intstructable with the program, check it out: </p><p><a href="https://www.instructables.com/id/LED-CUBE-CODE-4x4x4-Arduino/" rel="nofollow">https://www.instructables.com/id/LED-CUBE-CODE-4x4x...</a></p>
<p>If you want to make your own codes real easy check out this:</p><p><a href="https://www.instructables.com/id/LED-CUBE-CODE-4x4x4-Arduino/" rel="nofollow">https://www.instructables.com/id/LED-CUBE-CODE-4x4x...</a></p>
<p>great tutorial,i hooked the cube an standalone arduino and works great</p>
<p>i need 16x16 led cube progrming code of ardiuno </p>
<p>I wondred if someone could post a link to were I can buy the PCB/stripboard and the link to the wires.</p>
<p>i made an 4*4*4 led cube with ,16 cathodes and 4 anodes but now the issue is only column works perfect and when ,i light an one row ,it also lights up other rows too...could u tell me how to fix this issue.i have not used any transistors in a cube only resistors and leds</p>
You need to multiplex the layers. What seems like is happening with you is you didn't multiplex the layers thus all of them light up. Use the code provided to have them be multipliexed properly.
I have just built the cube and it is working great. You can see it here:&nbsp;<a href="http://www.youtube.com/watch?v=TwlSijShbbc" rel="nofollow">http://www.youtube.com/watch?v=TwlSijShbbc</a>&nbsp;<br> <br> Making the code for great patterns is kind of difficult, so I made a little Javascript program to make designing them more easily. It basically works as follows. You see four squares: the first square is the front layer, the second, the one behind that, the third the one behind that and the last is the back layer. You can set the LEDS on or off and when you have made a pattern, and have set a time in a text box, you can write it to a text area. Then make another one, and another one and.. When you are finished, you can copy the contents of the text area and paste it in the Arduino Code. Then go for it!<br> <br> Try it here:&nbsp;<a href="http://home.kpn.nl/ajvdmeij/makecode.html" rel="nofollow">http://home.kpn.nl/ajvdmeij/makecode.html</a>. If you want the source code, you can copy it or tell me and i will mail it to you.<br> <br> Have fun!<br> <br> <a href="http://twitter.com/arjanvandermeij" rel="nofollow">twitter.com/arjanvandermeij</a>
You must use safari on windows, chrome will not work. safari does though!
Your website no longer works to program the code <br>
hi ajvdmeij <br>can u send me the source code for the 4x4 led cubes? thx a bunch.. <br> <br>will,
That is awesome!!! So handy. Thanks! <br>Any chance you could whip up a similar program but for an 8x8x8 cube?
My friend owns one of these.. I wrote python code to generate frames that look like a simulated game of snakes on the cube. Here's the code if anyone wants to try it out: <a href="https://gist.github.com/mbrenig/6596288" rel="nofollow">https://gist.github.com/mbrenig/6596288</a>
First off, thanks for the great 'able. Well done! I got my cube finished and loaded your sample code into it and it works! I burned out a couple of LEDs while soldering the layers together and a couple of them are a little crooked, but I am very happy with the results all the same. I haven't got the program figured out as of yet, so I am still running the code you provided but people I show it to are pretty impressed. Here are a couple links to YouTube so you can check it out. http://www.youtube.com/watch?v=5OEN7cLs0j8&amp;feature=youtu.be http://www.youtube.com/watch?v=A-Mdt0VnOQs Thanks again for the great instructions, I am already started on my 2nd one.
I'm an Arduino begginer ...can i have line by line explanation of code? please
I made my cube and all of the lights work, however, there seems to be a problem with the wiring. Whenever I address a single LED in 6 of the columns, The whole column lights up. This does not happen in 2 columns where the LED's light up individually. <br>Help would be appreciated! <br>Thanks!
I might make a miniature version with smd leds most likely bigger then a 4x4x4 maybe a 8x8x8 or a 10x10x10.
Hello, <br>I have made an 8x8x8 led cube already and I am trying to find an easy way to program it. Is it possible to use your code and adapt it to an 8x8x8 cube? If so would you know where to change it?
There aren't enough outputs on the arduino for that without additional logic such as shift registers or LED drivers, either one will require a major rewrite in the code since it is a completely different method.
Did it! <br>Thanks for the great instructable. <br>Took me 2.5 hours of constructing. The coding took about the same time (with code example available over here) <br> <br>http://www.youtube.com/watch?v=XQynlmQtXY8&amp;feature=plcp <br> <br>Let's go for the 8x8x8 :-) <br> <br>Obruni
i did it successfully .
Hey guys, Ive finished mine, and started with this code, took me a while to figure it out, but after 7 hours of maually writing my own binary code, Heres my cube. Not Done. But its Pretty awesome so far I think. :D <br> <br>https://www.youtube.com/watch?v=pYjYs9WjlLY
at least send me Arduino Demulionove board .where will it available ?
i want to bye this project . <br>can u tell me cost of this project . <br>and send to my address. <br>9949795249
Hey guys, I built one of these and wrote up the process as well as some additional software for this build: <br> <br>http://www.makeuseof.com/tag/programming-arduino-4x4x4-led-cube-awesome-stuff/ <br> <br>It just goes over how to code programmatically for the cube rather than using a set pattern, so you can start to make games and interactive stuff. Sepcifically, I wrote code for a 2 segemnt random snake, and conways game of life. Hope you like and it spurs you on to making more apps for this - please send me a link if you do. <br> <br>Forte1944 - thank you for an awesome build - gave you full credit in the original article here: http://www.makeuseof.com/tag/how-to-make-a-pulsating-arduino-led-cube-that-looks-like-it-came-from-the-future/
Is there a schematic. I can't tell what goes where.
I'm brand new with arduino and i was curious to how you would upload the code on to it? any help will be appreciated. Also great work.<br> - Thanks
First, you have to download arduino software from arduino.cc. There will be a manual for installing drivers. After you have done that, open arduino program, write code, comply and upload to board!
can u tell me about the full wiring circuit diagram .
https://www.instructables.com/id/3X3-LED-Cube-Programming-tips-Arduino-based/
Well, I built a cube (from a different instructable) and uploaded the .pde, and it runs, and appears to make the correct patterns, I think... but I can't make heads or tails out of the pattern making strings. There are some weird brightness variations too.<br><br>There are sixteen &quot;B0000&quot; groups per line. One would think that each group corresponds to a vertical column, and the 0s and 1s indicate the plane, and whether the light is on or off. <br><br>But that's not how it seems to work for me, and I can't figure it out.<br><br>The java applet on makecode.html always prints the same line, sixteen B1111s, no matter what boxes I have checked. The only thing that changes is the duration number, which does correspond to what I enter in the box. But everything else is always B1111s.<br><br>Can you please help me understand the pattern strings?
I tried it in Safari and Chrome on a Mac and they work. I just saw that it didn't work in Firefox. I also tried it in Windows: IE also didn't seem to work. But Safari for Windows does the trick and I think )although I did't try) that Chrome will also work on a Windows computer.<br><br>I made the code in Dreamweaver and I will try to make it Cross-platform compatible but I can't promise anything: I am just an amateur!
ei grande me da awe umas dica como fazer ou me vende um
Thank you ever so much for a great tutorial, i just made a 3x3 3mm red because I had no other LEDs :S So I just ordered a bag of 100 Blue! Thanks again and hope to see more of you in the future.<br><br>Trevor B
I am making another cube and this time I am confused on the resistors bit...<br><br>I have a question...I am using these LEDs...<br><br>http://www.ebay.pl/itm/110783289032?ssPageName=STRK:MEWNX:IT&amp;_trksid=p3984.m1497.l2649#ht_1456wt_1139<br><br>I have resistors of all the values from 1 ohm to 1 mega ohm....in 10's ....<br>So which resistors will I need to use for those LEDs? The cube is connected to an arduino nano...<br><br>plz help :)
100ohm resistors should work.
Please, could you post pictures of the links in Arduino, would help greatly.<br>Oh, and if you have the electronic circuit, would be great.<br><br>Thank you.<br><br>Great project, congratulations!<br><br>
If anyone has expanded on the code, please post it!