64 LEDs makes up this 4 by 4 by 4 cube, controlled by an Atmel Atmega16 microcontroller.
Each LED can be addressed individually in software, enabling it to display amazing 3d animations!
8x8x8 LED cube now available, by popular demand:
http://www.instructables.com/id/Led-Cube-8x8x8/
Remove these ads by
Signing UpStep 1: What you need
Knowledge list:
- Basic electronics and soldering skills
- Know how to program an AVR microcontroller - I will not cover that in this instructable.
- Protoboard. The type with copper circles.
- Atmel AVR Atmega16 microcontroller
- Programmer to program the Atmega16
- 64 Leds
- 2 status leds. I used red and green. (optional)
- Max232 rs-232 chip, or equivalent.
- 16 resistors for leds. (100-400ohms) will get back to this.
- 2x resistor 470 ohm. for status leds
- 1x resistor 10k
- 4x resistor 2.2k
- 4x NPN transistor BC338 (or other transistor capable of switching 250-ish mA)
- 1x 10uF capacitor
- 1x 1000uF capacitor
- 6x 0.1uF ceramic capacitor
- 2x 22pF ceramic capacitor
- 1x crystal 14.7456 MHz
- 2x tactile button
- optional pwr switch
- connector for 12v power
- optional connector for 5v power











































![4x4x4 Blue led cube [Altium Designer 10]](http://www.instructables.com/files/deriv/FU6/D8EG/H994XI7Z/FU6D8EGH994XI7Z.SQUARE.jpg)



Visit Our Store »
Go Pro Today »




I've made a nice app that can control your cube from your computer!
Features:
* RS232 flexibility
* Reliable communication
* Turn on/off individual leds
* Lines
* Send text (certain characters unavailable)
* Audio level meter (PC default output)
* Randomness!
* Shift functions (WIP, buggy)
Any questions, you may ask here or @Mr_JackMerridew
MAKE SURE YOU HAVE .NET 4 INSTALLED
https://dl.dropbox.com/u/22181155/CubeDriver.zip
I do not understand what could be the problem.
I checked the power supply, checked all the tracks, check resistance.
everything is OK.
This is an awsome instructable.
I was wondering is it possible to do the same with Arduino chip instead of atmega16? There would be needed a change of code, but as far as I understand it, I would need only to reprogram the part where you give the chip a write command. And probably a bit different resistor values for the leds (since arduino has different max output)
Am I right? Thanks in advance.
P.s. I'm a beginner waiting for it's first Arduiono set to arrive.
I hope i helped you a little with this, and i wish you a lot of fun in arduino world
I am currently still waiting for my first arduino to arrive.
Right now I am planning to start with a sound / IR barrier triggered and custom delayed remote for my DSLR. After that or at the same time will be building the cube. Probably will have some questions, so thank you for reccomendations.
Good luck in future projects.
i am 15 and have made my own LED cube, heres a video of how I made it: http://www.youtube.com/watch?v=gTZJOy70rrc&list=LL7RW6Py5QalcKDnSCnX9_Dw
let me know if its helpful!
I am making the ledcube right now, but i have my doubts about the 1000µF & 10µF capacitor around the LM7805. I doubt whether the 'input C' needs to be as 'big' as 1000µF and the 'output C' only is 10µF, as other schematics found with Google on 'how to hookup LM7805' just use a 100µF C for in- and output.
Can you be clear on your choice of capacitors? As they're only for decoupling (power supply noise reduction).
Here is our first try. We made our own PCB rather than using perf-board.
We are now building an 8x8x8 cube with home made PCB's as well.
Thanks chr!
Attached are two different versions.
1) Is as Pictured above.
2) Is just the controller portion.
Both versions include Eagle Schematic, Board, and .PNG image files.
Enjoy,
-BB
http://www.bnkk.net/LED_Cube/4X4_LED_CUBE.zip
can u plzzz share ur pcb layout.
I will attach my Eagle files here in the next few days.
http://www.ebay.com/itm/270844900187?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
-BB
code??
Although when you connect the AC power supply, you can clearly see the brightness difference (The AC/DC outputs 5.5V).
"avrdude -c usbtiny -p m16 -U lfuse:w:0xef:m"
the avrdude showed the command successful and when i gave next command
"avrdude -c usbtiny -p m16 -U hfuse:w:0xc9:m"
the chip is gone. i used different softwares eXtreme Burner - AVR and Khazama AVR Programmer but both are not decting the m16. ANY SUGGESTIONS.