Instructables
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 2695Next »
Tiimmee10 days ago

hello,
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.

Thank you, this solved the problem !!!!!

Now all LEDs shine bright and the ghosting is away.

No problem. You aren't the first one to do this....LOL !

pankaj7779 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 wrong........how 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.......

topwin6.jpgtop2.jpgtop1.jpg

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.

i set all the fuse bits according to inscrutable but still the font is going wrong.....i will send you the video of cube plz will tell me how to solve this.

thank you,

Not just to make sure the fuse bits are right, but also to make sure everything is uploaded in the right order. If you upload the EEP before the HEX, then it erases the EEP. ALSO - this happened to me more than once - download a new copy of the EEP. I had mine get corrupted before.

EpicTaco243 days ago

Hi there! I am a highschool student building this for my senior project and I was just wondering if you guys had any tips that might be helpful!

READ EVERYTHING especially all the comments!

manas205012 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.

hi, I cant download the sch. files. Can someone send me the sch. files... jthoben@aol.com

jonesa214 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.

ctuagent19 days ago

Hy!

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

Thanks!

The schematics are in the instructions...

I saw it, i think pcb plan...

Geekaton26 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: http://electricrcaircraftguy.blogspot.com/2014/01/the-power-of-arduino.html

Thanks a lot! if you want to have a look heres a timelapse of me making mine: https://www.youtube.com/watch?v=gTZJOy70rrc

KrunoslavH18 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:
http://www.instructables.com/id/CHRs-8X8X8-LED-Cub...

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!21 days ago

Made it. :)

20140901_202449.jpg

Nice looking board. Congratulations.

pankaj77721 days ago

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

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

pankaj77721 days ago

i made it same as it given....but the speed of effects is very slow.....how 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.

1-40 of 2695Next »