Instructables
Picture of 5x5 LED Cube (Arduino Uno)

This is a step by step explanation of how to build a 5x5 LED cube using an arduino. I did this project for my undergraduate electronics class and it took me about 2 weeks to complete.

Note: Apparently, some of the links for the supplies and code aren't working, if you need them send me an email at amh02010@mymail.pomona.edu.

You can find a video of the working LED cube on youtube here:
http://www.youtube.com/watch?v=KiE-WHqU5a8&feature=youtu.be


And here's another:
http://www.youtube.com/watch?v=6zRlhSzXP80&feature=youtu.be

 
Remove these adsRemove these ads by Signing Up

Step 1: Supplies

I used www.mouser.com and www.amazon.com to order my materials for this project. The main parts needed are:
-125 LEDs
-30x 150 Ohm resistors
-5x 3-8 Line Decoders
-5 NPN Transistors

The manufacturer numbers and prices can be found in the attached document though the cost was about $40.

Additional required materials:
-Arduino uno
-Soldering iron
-Solder
-Sturdy wire (for structure of cube)
-Insulated wires
-Breadboard
-sockets (for decoders)

Step 2: Cube Construction

Picture of Cube Construction
IMAG0162.jpg
IMAG0164.jpg
IMAG0163.jpg
IMAG0165.jpg
Unfortunately, I have not perfected the construction of the cube.  I found this portion of the project both frustrating and painful (hot wires!). 

I began by assembling the 5 layers or planes of the cube.  This involved connecting all the cathodes of the LEDs together.  Id did this by poking 25 LEDs (about 1 inch apart) into a piece of styrofoam.  I bent all the anodes out of the way and soldered the LEDs in 5 columns and then two rows on the end (see picture). Be careful when soldering because the entire wire becomes hot and I accidently burned myself multiple times by touching the end of one of the wires.

The next step in cube construction is even trickier.  You need to connect the anodes of the LEDs in 25 vertical columns without letting any of them (or their connecting wire) touch the cathode planes.  The way I did this was leaving the top plane in the styrofoam and placing ~6 inch wires next to the anodes. I used needlenose pliers to curl the anodes into loops so that it was easier to solder. Alternate the directionality of the wires of the cathode planes for stability. See photos.
1-40 of 136Next »
JussiK16 days ago

Greetings from Finland! Could You please send me the final code? Thanks in advance.

Email me at jussi.kemppinen90@gmail.com

Hi, i'm from Brazil! I'm doing the project for my high school, can you send me your code? I need so much! please!

adriano.b.p@hotmail.com
thanks

JohnP151 month ago

Hi I'm trying to do the same project, can you send me the code and supply list the website is restricting it, thanks! email: udesai5@uic.edu

AndreiM11 month ago

Before, (2 years ago) I made LED CUBE 8*8*8 on ATmega 16, but without programm =( Now, made this video. http://www.youtube.com/watch?v=6G5pJKc7tWc

AndreiM1 made it!1 month ago

Hi, I have problems with programming, you could send an email with your code please.

my email: sierzhant@bk.ru

p/s Hello from Russia =)

IMAG0586.jpgIMAG0575.jpgIMAG0580.jpgIMAG0581.jpg
mildanah1 month ago

Can you send me the code plz? bahamut_27_@hotmail.com

TonyL21 month ago

hi im trying to program my cube too can u send it to tony9349258@hotmail.com ? thanks

Awesome project! Hi I'm From indonesia,Can you send me the code,schematic diagram and parts list please, I want to build it for my school project.

wahyu_wahyudi31@yahoo.com thanks

AparV2 months ago

Please send the code at apar.vashistha24@gmail.com .

WivenM2 months ago

awesome project!! would you please send me the code? wivenmac@gmail.com

oyes muy bueno Estoy tratando de construirlo. ¿Podria favor del por enviarme el Código?

y el diagrama porfa mi correo es mrsillo@hotmail.com


caleb3603 months ago

Hey, Thanks for this cool project. I am trying to build it. Would you please send me the code?

caleb.war@hotmail.com

jasonkh5 months ago

Can you please email me the code for this project? hung81189@yahoo.com Thanks

bboden6 months ago
I followed your instructable and made the cube. It works beautifully, and I have been using other peoples code, but I would like t use yours. Can you email me the code docx pleas?
bboden5000@gmail.com
AndaayPhan6 months ago

Can you send me the code as well?
Phan.Andy@hotmail.com

hi, can I get the code ?

please send me the code to my ymail id jauhari_nk@ymail.com.

thank you

azamanta10 months ago

hi, can I get the code of the project led cube,

This e-mail me, hansaii24jl@gmail.com

thank you

Fredaow10 months ago

Hi, would you mind emailing to me the supplies list as well as the code. Unfortunately the docx files are not accessible.

Thanks,

Fred

my email: fredaow@free.fr

atyagi210 months ago
Hey, Thanks for this cool project. I am trying to build it. Would you please send me the code?

amreesh.tyagi@monotype.com
Dan8610 months ago

Hello,

This is a really neat project.

Can you please send me the code and a parts list with the exact decoder you used?

e-mail: husband.dan@gmail.com

Thanks!

jdato10 months ago

I'm building this cube for my wife for valentines day can you please send me the code to jdato2009@gmail.com. Great project can't wait to get this up and running.

krashton110 months ago
(removed by author or community request)
icky_unicorn (author)  krashton110 months ago
Hey I actually check my instructable once a week..so if you would like to email me the code I can post it as an alternative. amh02010@pomona.edu
rrawat211 months ago

madam please send this project code in my gmail id rishicentury@gmail.com .I request you to madam because i submit this project on tomorrow.

mjl088911 months ago
I suck with programming, could send an email with your code please
mjl0889@aol.com
b99071441 year ago
hello
I make the LED CUBE but I don't know how to program it can you send me the code to b9907144@gmail.com
best regards and thanks a lots
b99071441 year ago
hello
I make the LED CUBE but I don't know how to program it can you send me the code to b9907144@gmail.com
best regards and thanks a lots
krashton11 year ago
I'm having troubles with this circuit. I have wired everything up exactly as you have said to do it but when I go to run the cube, all the outputs from all the decoders are high/ This gives me limited control but only over layers. All coloums are high but I can still control the transistors. I'm not sure where to go from here but I'm stuck. Any
never mind, I found out the problem to be that I just ordered any old 3 to 8 line decoders, but the ones I ordered work in reverse to these ones. They have 8 active high pins and using A0,A1,A2, you can set one of those pins to low. Make sure when buying parts, make sure you know exactly what it does.

To note, DO NOT BUY 74ALS138N 3-8 LINE DECODERS
maacc71 year ago
Can you send me the code and parts list please, m.accursio@gmail.com, thanks
michther1 year ago
Hello could you please send me the code, Doing for micro project and can't wait to begin. Also the parts list would be helpful. michchas6308@yahoo.com
hi this is an amazing one can you please send me all the parts and the code please my email is vincecasta@hotmail.com thanks
can you send me the code and parts list please....
icky_unicorn (author)  hassantahir2221 year ago
Sure! What's your email?
Cubytus1 year ago
I can't open your document. Can you upload it in PDF? Thanks!
icky_unicorn (author)  Cubytus1 year ago
Message me your email and I'll send it to you
Well, wouldn't it be best for everyone if it was readily included on the Intructable?
Hi I have problems with programming, you could send an email with your code please
bigrege@hotmail.com
cmaia21 year ago
Hello, my name Cleiton, I'm Brazilian, and I would love to do this project.
Until now, reading your post, I understood a lot, but since I do not know (and dislike), programming, or would like postasse send me by email the code ready, the one you posted is "forbidden", I can not access it.
Thanks in advance: D
cmaia2 cmaia21 year ago
I really need the code. > <
Can send me by email: cleiton_maia@hotmail.com
thank you
1-40 of 136Next »