Here´s my 3x3x3 LED cube, it's controlled by a PIC16F628A microcontroller.
This is my first microcontroller project that finally works, so i suppose is not that difficult to make for beginners.

I hope you'll enjoy that instructable and even make your own LED cube!

Step 1: Materials

The PIC drives the cube without external IC's and with very few extra components.
To make your own LED cube you'll need:

-A PIC16F628A Microchip microcontroller ($2 ebay)

-27 diffused LEDs ($3.50 50pcs ebay)

-7805 voltage regulator ($0.99 3pcs ebay)

-9 330ohm resistors ($1.14 ebay)

-12 male + 12 female headers ($2.59 ebay)

-18 pin DIP IC socket ($0.99 10pcs ebay)

-Controller and cube circuit boards (make them yourself)

-16v 100uF electrolytic capacitor (recycled from old boards)

-100nF ceramic capacitor (recycled from old boards)

-Plug and small heatsink (recycled from old boards)
<p> send to davidotaku1@gmail.com pls</p>
<p>send to ivanctr8@gmail.com pls</p>
<p>hy send me .lay file my email: kriszrap@gmail.com</p><p>big thx</p>
<p>or eagle file :)</p>
<p>I made the circuit using photoshop, all i got is the image file. Sorry.</p>
<p>Hello, about the circuit for this proj, I noticed a difference in your schematic and the control board you made. I assume that the resistors are in order and in your schematic R5 is connected to PIN10 but in the control board as shown in the photo R5 is connected to PIN11 and R6 in PIN 10. Are your R5 and R6 interchanged in the board? thanks :D</p>
<p>You're probably right, i designed the PCB with photoshop long before i started using eagle, it's pretty easy that i made a mistake designing the PCB manually.</p>
But it works this way right(the one in your pcb design)? If so i should connect R5 to pin11 and R6 to pin10 right? or should i follow the schematic?
<p>You should follow the schematic. In my cube, a row of LEDs apears to not light up, so it's probably because of the PCB and not the program</p>
<p>Thank you, thank you so much! I'll make sure to post what I did once I've finished :D</p>
<p>also, would I need a heat sink if I'm only using a 9volt source? :D</p>
<p>I'm using a 7v supply and the little heatsink only warms up, but it doesn't feel that hot.</p><p>For 9v, you could use a heatsink a little larger or improve airflow.</p>
<p>Hi, very good instructions, I did it in the protoboard but the first row of LED lights not.(this is a wire mess, but then I&acute;ll pass to the final plate hahaha). So, do you have the code in C language ? Or do you know what is the problem? Thanks </p>
<p>I picked the code from a webpage a long time ago, it was just a Hex file and they didn't provide an asm file. If you don't like the animation or want to change it, you'll have to make a new progam.</p>
<p>I loved the animation , however when I turn on, the first row of LED lights not. Do you have any idea of what can be ?</p>
<p>Check if you have a signal output in the right row pin at the PIC. If you have something, you've connected something wrong. If there's no signal, probably the code was made they way.</p>
<p>hi very nice instructions but it is possible to run this program using superBRIGHT LIGHTS LED ?? TIA :)</p>
If you want to use LEDs that consume more than 10mA, You need to put a transistor buffer in each output of the microcontroller.
What is a 16v 100uf
<p>It's an electrolytic capcitor rated for a maximun voltage of 16v and a capacity od 100 micro farads.</p>
What plug do I need and hot sink
100nf and
<p>I made it but I have to join the 10K resistor connects together with Pin4-MCRL and +5V supply.</p>
<p>Use the I made it! button and ad some photos!</p>
Hey, What is programmer called that you pluged the microcontroller into?
Is the PIC K150
If I run this on 5V off of a USB port do I still need a 7805 regulator?
If you use a 5v power supply you won't need the 7805, you can solder the wires to the capacitor traces.
One of your best instructables so far! Keep amazing us with your projects!
very very nice :)
Great step by step Instructable! And I love your assembly line :-)

About This Instructable


105 favorites


Bio: I love electronics and all about DIY.
More by pinomelean: IN-12 nixie clock Li-ion battery charging Mini line tracer
Add instructable to: