Picture of LED Cube 8x8x8
Create your own 8x8x8 LED Cube 3-dimensional display!

We believe this Instructable is the most comprehensive step-by-step guide to build an 8x8x8 LED Cube ever published on the intertubes. It will teach you everything from theory of operation, how to build the cube, to the inner workings of the software. We will take you through the software step by step, both the low level drivers/routines and how to create awesome animations. The software aspect of LED cubes is often overlooked, but a LED cube is only as awesome as the software it runs.

About halfway through the Instructable, you will actually have a fully functional LED cube. The remaining steps will show you how to create the software.

A video is worth a thousand words. I'll just leave it up to this video to convince you that this is the next project you will be building:

I made this LED cube together with my friend chiller. The build took about 4 days from small scale prototyping to completed cube. Then another couple of hours to debug some faulty transistors.

The software is probably another 4-5 days of work combined.

Remove these adsRemove these ads by Signing Up

Step 1: Skills required

Picture of Skills required
At first glance this project might seem like an overly complex and daunting task. However, we are dealing with digital electronics here, so everything is either on or off!

I've been doing electronics for a long time, and for years i struggled with analog circuits. The analog circuits failed over half the time even if i followed instructions. One resistor or capacitor with a slightly wrong value, and the circuit doesn't work.

About 4 years ago, I decided to give microcontrollers a try. This completely changed my relationship with electronics. I went from only being able to build simple analog circuits, to being able to build almost anything!

A digital circuit doesn't care if a resistor is 1k ohm or 2k ohm, as long as it can distinguish high from low. And believe me, this makes it A LOT easier to do electronics!

With that said, there are still some things you should know before venturing out and building this rather large project.

You should have an understanding of:
  • Basic electronics. (We would recommend against building this as your very first electronics project. But please read the Instructable. You'll still learn a lot!)
  • How to solder.
  • How to use a multimeter etc.
  • Writing code in C (optional. We provide a fully functional program, ready to go)
You should also have patience and a generous amount of free time.

1-40 of 2691Next »
manas20508 days ago

i am downloading the hex and eep files but the downloaded file are with .tmp extension.

just rename them during or after they are downloaded.

Tiimmee6 days ago

last weekend i finished the cube and it looks awesome. But i have a problem and i hope someone could help me. When many LEDs in one Layer are set to HIGH, the LEDs are shine very dimly.
The cube is in use with a 5V 2A Power Supply which should be more than enough.

Especially in the beginning you see that when one full layer is on, the LEDs are really dark. Also there is some sort of ghosting at one layer, dont know if this has something todo with each other.

At least, thanks for this great instructable!!!!

It won't let me view the video, because it say it's private - however I am familiar with your issue. Your transistors are in backwards. Yes, the cube still works, because the transistors are now in an emitter-follower configuration, but they will not handle the larger loads without dropping voltage. So basically, turn your transistors around, and it should be fine.

pankaj7774 days ago

hello sir thanks for your guidance i made it......but in my cube
font is not showing right......the middle part of cube is off and both
side is running when text run.(stringly2 effect) and other text and
animation n bitmaps are run can i solve this.......

i also program .eep file in atmega eeprom and able to access it but not getting proper text msg.....&.and animation

i am programming the controller with universal programmer topwin6

i am sending the images please check the fuse byte.....

plz tell me what to do now.......


I can't say about the program you are using because we don't use it.

Maybe you should try using AVRDudess. It's a Windows GUI for AVRDude.

hi, I cant download the sch. files. Can someone send me the sch. files...

jonesa210 days ago
hello,I am basically aeronautical engineer,and am interested in these type of projects.So don't take it as silly question as i am new to electronics.I want to know that for running this led cube do i need to connect it to the PC all the time?

You need a PC and an ICSP programmer for the ATmega32/32A/32L to program the chip, but the demo animations are there already. I have code with additional animations on my "revisited" instructable, as well as a better cube construction technique that allows you to make near perfect cubes every time. Once the code is in the microcontroller, it runs standalone unless you specifically want to send cube frames to it over the serial port.

No, you need to program the ATmega initially, but after that the cube is fully stand alone.

ctuagent15 days ago


Somebody could send me a circuit plan? Maybe in pdf, if you cold!


The schematics are in the instructions...

I saw it, i think pcb plan...

Geekaton22 days ago

is the controller you make in it essentially a small computer?

Yes, a microcontroller is just a mini-computer that does a dedicated task. It can run tens of thousands of lines of code, and even do complex processing, sensing, and data acquisition. It can be programmed in C/C++ or Assembly Language code. Here's something I wrote that expands upon the subject in relation to radio control:

Thanks a lot! if you want to have a look heres a timelapse of me making mine:

KrunoslavH14 days ago

HI, my cube is ghosting. How do i fix that? I have pull-ups

Make a video of your cube (preferably running my power on self test) and post a link to the video so I can see what's happening.

You can get my modified code here:

There is no ghosting in the power on self test, but when it comes to the real animations it starts ghosting.

I still need to see a video of both. Just shoot it as best you can with whatever phone/camera you have and youtube it.

Please - if you have an iphone / smart phone, remember to hold it sideways when making your video.

Here is the video. You can see it the best in the text animation, the fish etc.

I'd love to see a copy that you make when you aren't having an earthquake. I don't need music, I don't need youtube to "stabilize" it (makes it 10 X worse) and I want to see the ENTIRE power on self test...the self test was revealing more than the animations, but you showed so little of it, it's hard to tell what it's showing. Please shoot it again using the ENTIRE self test and a couple animations - and please DO NOT let youtube "fix" your video.

What, you don't like watching tiny videos with 2 huge black bars on either side? :D

Nope. Don't like spaghetti westerns either!

Popehappycat made it!17 days ago

Made it. :)


Nice looking board. Congratulations.

pankaj77717 days ago

i made it same as it given....but the speed of effects is very can i increase the speed so that the effects are properly

i am using top2008(a universal programmer) burner to program the atmega32......

check your fuse settings.

CDheck your 16MHz (or 14.7456 MHz) oscillator and the 22pF caps.

Try removing the 22pF caps

pankaj77717 days ago

i made it same as it given....but the speed of effects is very can i increase the speed so that the effects are properly visible......

mik.cox1 month ago

This is an awesome instructable, thanks so much for all the time and effort you put into it! I just finished my cube today and I'm really impressed with how it's working.

I noticed one oddity though... I have to keep the programmer plugged in to the LED cube and the computer in order to run programs. If I ever unplug it, I get no status LEDs and the cube goes dark. Do you all have any ideas what might be causing this?

I had a secondary thought just recently. Make sure you put a pull-up resistor on the reset line. (5K from Reset to +V)

A 5V line is missing from the supply to your driver board or ATmega etc. would be my immediate guess.

I'm looking for someone to make me 2 of 10 x 10 (1m) cubes... By 1st September, London uk... ? anyone?

If they were 8X8X8 you might have takers, but with 8 bit chips, a 10 bit wide cube is not the easiest thing to do. Also, post what you're willing to pay for a completed project, and what processor it has to use etc. If you're only willing to pay $100, forget it. At $1000 you MIGHT get some interest if they ONLY have to build the cube and not the electronics. If you have a schematic, $2000 might get you the cubes and controller. If you don't even have a design for the controller or any code to run it, I think you're asking a bit much.

Thanks for you response... Yes it was a bit of a vague long shot. Not enough information. Since you have responded I'll elaborate. I'm trying to procure 2 x 1m LED cubes. I'd need it from scratch and delivered in working order ready for someone to programme and install in situ. I could find $2000 per cube though that would be stretching the budget a bit... The event they will be used for is in London, UK on September 4th.
Anyone think it's achievable and is interested in taking it on then hit me up.
...and thanks for the prompt SuperTech


By 1M - do you mean ONE CUBIC METER in size? Also, what kind of LEDs do you think you'll need because if this is to be at some well lit event, you are then going to need super bright LEDs (10W or so) which means high current driver circuits (MOSFETs for all 64 outputs, plus super high current drivers for the layers, and a SUPER MONSTER power supply, or more likely up to 8 high current 35V power supplies) and you want it in 2 weeks? IMPOSSIBLE. You'd need to come up with closer to $50K for the project so someone could hire the necessary labour and that would be assuming the design already existed. Your offer would barely cover parts and shipping of a cube that size and the drugs necessary to make someone work fast enough to complete it.

simas.sio made it!27 days ago

fanally i made it! its awesome:P


Ah, that feeling of accomplishment! We'll be waiting to see your video!

when I uploaded the program to the IDE, it gave an error message saying that delay_ms(delay); was not working. When would I fix about it?

What version of the IDE are you running?

1-40 of 2691Next »