Probably you have reached this page because you have seen one of the video clips on led cubes, which are spread in the internet, and you have decided to build one by yourself.
Well, I am happy to let you know that you have got to the right place. Here you will find my notes, the pictures for crafting, the source code for the software that I developed for controlling the cube, and many demonstration videos.
Before you start, please read the whole instructable. This is advisable to have a global view of the project.
Prior to enter in the practical steps, a short theoretical introduction is necessary to well understand what we are talking about.

How the cube is made:
The dimensions of the cube will be 8 led by 8 led, by 8 led, for a total of 512 leds. The whole structure will be based on a wood board.

The concept of persistence of vision:
In this project we will exploit the persistence of vision. This phenomenon is a feature of the human eye and is responsible for the illusion that a movie is not composed by individual still images. All the animations are based on this biological dis-functioning of the human eye. If we can switch on and off the leds in a sufficiently quick time, (a few milliseconds) they will appear as if they were simultaneously on.
We use the persistence of vision because simultaneously switching all the cube leds on would require a very high electric current (in ampere). Actually, if we consider that the high brightness leds of this project require about 20 mA, we can calculate that 512 leds would require 10.24 A. This high current is hard to manage. So, what we do? We switch on a cube layer at each time! In this way the current consumption will never exceed 1.28 A (20 mA x 64 leds), which is easily supplied by a good voltage transformer. Let us suppose that we want to make the cube appear as completely switched on. To achieve that we simply have to switch on the different layers one by one at high speed. To a human eye the cube will appear as completely lighted.

How to control each led:
In order to independently control each led, we divide the cube into horizontal layers and vertical columns.
All the leds of a horizontal layer will have the cathodic contact (-) in common.
All the leds of a vertical column will have the anodic contact (+) in common.
Overall, it will be necessary to control 8 cathodic contacts to select the layers and 64 anodic contacts to select the columns. The combination layers by column will select and switch a single led.

The 8-bit shift registers:
The shift registers are composed by 1-bit memory cells connected one each other. At each clock impulse, they allow the bit flowing from a cell to the next-one. The registers used in this project are SIPO (serial input-parallel output) type. The data are charged one by one through the input bits and the output bits are simultaneously collected from the 8 outlets.

Power supply':
To power the cube and the control circuit it is necessary a power supplier with the following specifications:
- voltage: 5 volts (stabilized)
- current: 2 ampere (4 is better)

The finished cube functioning.

Step 1: Let Us Build the Real Cube (first Part)

Needed tools:
- Soldering iron
- Soldering tin alloy
- Hot glue gun
- Jigsaw

Needed materials:
- 512 leds of your favourite colour
- 1 40 pin flat cable (to connect the IDE hard disk to the pc)
- 1 34 pin flat cable (to connect floppy disk to the PC)
- 1 prototype board
- 1 plywood board 20x20 cm, 8 mm thick
- Electric wire suitable for soldering (thin, flexible, and resistant)

Draw a 7x7 square grid (2.5 cm side) on the the plywood board. At the crossings of the grid lines drill 64 holes with a mesh diameter as the led size, generally 5 mm. This board will be the basis on which all the leds will be soldered. By this solid grid the leds will be evenly spaced and perfectly aligned. As explained in the intro, the cathodic contacts of each layer will be joint together. Insert the 64 leds in the board holes and bend the cathodic (-) terminal to obtain an interconnected grid.

SEE IMG. 02.1 AND 02.2

Let go out the board holes only one led terminal. It will control the layer.
Attention! Each time you finish soldering a layer, test each single led. It is convenient to discover early if a led is burned out or not well soldered.

SEE IMG. 03.1 AND 03.2 AND 03.3

Make 8 identical grids, paying attention that the led terminals going out of the board have a different orientation for each layer.

<p>Hello dear<br><br>Can you please help me to design this 8x8x8 cube using Pic 16f877a<br><br>waiting for the reply <br></p>
<p>hey can u give me a hex file and digram email asimsheikh780@gmail.com</p>
Nice instructable but it has some very missized components. The 2n3904 transistors are only rated for 200ma but you have them running layers that are otherwise sized for 1.28 amps.<br><br>Also, you are using 100 ohm resistors with the intention of getting 20ma per LED. This is too much. Each shift register can only handle 50ma TOTAL so with eight outputs you should not be putting more than 6.25 ma out per pin meaning 330 ohm resistors are a better choice.<br><br>I think you got lucky and the current limit provided by the layer transistors is dropping it enough to stop you from blowing your shift registers, I suspect the LEDs are not actually running anywhere near the calculated 20ma each.<br><br>
<p>Hi <a href="https://www.instructables.com/member/razamatraz" rel="nofollow">razamatraz</a>, I actually want to do this project myself with my arduino Uno, and read this instructable but went to the same conclusions as you. The 2n3904 transistors are not suited for the 64 led layer, as well as the 100 ohms resistors.<br>Would you have any recommendation on the components to use to be able to run the led at 20mA each ?</p>
<p>Hi, I've added your project to the &quot;A Collection of WAAAY To Many 8X8X8 RGB LED Cubes!&quot; Collection</p><p>This is the link If you are interested:</p><p><a href="https://www.instructables.com/id/A-Collection-of-WAAAY-To-Many-8X8X8-RGB-LED-Cubes/">https://www.instructables.com/id/A-Collection-of-WA...</a></p>
<p>Hi! Thank you for this instructable! I am super excited to get started and I have read through all of the instructions, but I would love if you can provide some links to each part needed in the materials list you have provided on this step. Amazon links, eBay links, whatever would help! I am definitely a beginner when it comes to working with electronics and this would help me get started.</p>
<p>how can i get the circuit of</p>an 8x8x8 &quot;LED Cubeplease send me a text on my mail id chandan2157@gmail.com
hi this is dev from new delhi, India. i liked this 8*8*8 led cube but not able to make it can i buy it from any where i am ready to pay the cost of it and other expanses. please help me with it. please revert me on attitude.dev@gmail.com. <br>thanks &amp; regards <br>Dev
<p>This MIGHT be the right thing for you :-</p><p>http://www.trilobyteprojects.com/shop/index.php</p>
sir small doubt regarding the power supply! <br>im doe with ther cube and im using our clg LAB RPS to power my cube.now im planing to use pc smps.ca i dircetly conect the smps 5v rail same as rps? smps has very high current ratings,does it make any damaga to my cube? <br>thankyou
Can i have the code ? I would really appreciate it :) <br>trinhgia1993@gmail.com
Here is a time-lapse video that shows me making my LED cube 8x8x8 (with this technique): <br>https://www.youtube.com/watch?feature=player_embedded&amp;v=gTZJOy70rrc <br> <br>Let me know what you think of it.
quien me puede pasar el PDF gracias <br>Scroll01@live.com.mx
hello friends I can not download the pdf .. who can send me my mail porfa ... &lt;&gt;
can I use an Arduino Mega 2560?
agofi you tell me why I turn on the LEDs should be slightly off during the animation? I double-check the circuit and everything is properly asseblato .. please it's urgent.
Great Instructable, congrats!!<br><br>I have a few doubts, if you allow me..<br>- Can I start/control it from a web browser (chrome, i.e., etc..)?<br><br>- If I put some sensors on it, it is possible to &quot;trigger&quot; it when someone walks into the room?<br><br>Thanks!!!
What are the three wires going across each LED layer for? Are they the ground wires, and if so what are they connected to?
Those are just brace wires. they only serve the purpose of supporting the frame of the cube. They dont connect to anything. they are just soldered to each leg. Thats it.
Quem souber portugues tem como entrar em contato, to querendo construir mas t&aacute; osso. multiplexa&ccedil;&atilde;o t&aacute; foda. Nao to entendendo direito.<br>Meu email &eacute; : lucianobr37@yahoo.com.br<br><br>Obrigado.
That has to be one of the coolest things I have ever seen in my life! About 10 years ago I did a lot less impressive project using RGB multi color LEDs when they first became widely available. If you could add multi color LEDs you could create some amazing 3d effects! ...I hope someone tries it! :)
I was planning on attempting that with a 4*4*4
wow. thanks guys!!!!
very good attempt i have a request to provide the circuit diagram for the cub
u can use an arduino..now a lot of cheap options r available, chk freeduino.. <br>
Its cool! <br>But Im thinking how let it make easily!
Hi.cool!! <br>Im starting.I want do it.thanx.....
For each 'frame&quot; of the cube it looks like your bit-shifting in all 64 bytes, using the shift registers in series. <br>Why not connect each shift register to a pin on the parallel port - you have plenty extra - and load all the first bits for each register at once, then the second bit, then the third, etc. It should be 8 times faster.
Do you have a video?
hi guys...i have no idea how to get the software to work on my pc... im running windows 7... need help... do i have to download a program to run the software...? cause my itunes wants to try open it... but no success...:( <br> <br>thanx
I Have a Question about the vcc connection: <br> <br>Did this Circuit doesnt need a VCC connection to work? <br> <br>The only positive volt connection is just on the led, and nowhere else. <br> <br>the shift register needs vcc too, but Pin 14 is nowhere connected
Would using a parallel to usb adapter still work with the given software. I no longer have any computers with parallel or serial ports.
so what would the circuit for an rgb 24x24x24 cube look like?
It would be quite possible if you can get an active addressing matrix in your cube. Control of huge numbers would be possible on few outputs, and each LED would get a 100% on time. Problem is getting three transistors and a capacitor in there with each LED by hand, and still keep it small enough to be see through.
ok now that the jokes are out of the way, I'm still curious... I know the costs for getting the LEDS would be sky high but if someone were to do it what would the circuit diagram look like. I can follow the instructions I just don't know the engineering side of it to draw it out myself. even if you just drew out the sub-assemblies to save time and they would be replicated to the number needed, I'd be interested in seeing how one would bulid this one up from input to the LED.
really, REALLY big :D<br />
&nbsp;And thats, WHATS SHE SAID!!!&nbsp;
lol they should just skip everything in between and head right to the 800x600x800 RGB one so you can use it as a monitor lol, only problem is buying 384,000,000 LEDs and then even worse having to solder all of them<br />
&nbsp;ROFLMAO!!! Now that's a project I'd LOVE to see!!&nbsp;<br /> let's start with a Soldering robot project :D
I have a question about the wiring diagram. <br>The single circuit left I do not understand. <br>Could someone maybe able to explain what that meant? <br> <br>Thank you
can any1 give me code without serial or USB control? i want whole program to put in microcontroler like 4x4x4 cube that is here on site. Thx
Here's one controlled by an Arduino<br><br>https://www.instructables.com/id/How-to-build-an-8x8x8-LED-cube-and-control-it-with/
Can it do rgb?
Ok well I would like to make this but im a noob at LED projects and don't really know if this is the best place to start. Any of you experts recommend any beginner projects or websites?
here are a few good beginner projects http://www.kpsec.freeuk.com/proj.htm
Do you have a microcontroller controlled version of this cube?
Cool music!! What is the artist of this music. Thanks!
now would there be a way to change it over so instead of using a parallel port it would read an SD card with the animation loaded onto it?

About This Instructable




More by agofi:How to build a 8x8x8 led cube (English version) Come costruire un led cube 8x8x8 (Italian version) 
Add instructable to: