Professional Documents
Culture Documents
How To Build A 8x8x8 Led Cube (English Version)
How To Build A 8x8x8 Led Cube (English Version)
(/)
share what you make >
(/)
(/editInstructable/)
Download (/id/How-to-build-a-8x8x8-led-cube-English-version/?download=pdf)
(/id/How-to-build-a-8x8x8-led-cube-English-version/) 7 Steps
License:
202,710 views
338 favorites
agofi (/member/agofi/)
Follow 74
(/member/agofi/)
More by agofi
(/id/Come-costruire-un-led-
cube-8x8x8)
Tags:
led (/tag/type-id/category-technology/keyw ord-led/)
8 (/tag/type-id/category-technology/keyw ord-8/)
x (/tag/type-id/category-technology/keyw ord-x/)
THANKS TO ISACCO THAT HELPED ME TO TRANSLATE THIS
INSTRUCTABLE
Probably you have reached this page because you have seen one of the video
Related
clips on led cubes, which are spread in the internet, and you have decided to build
Led Cube 4x4x4 (/id/Led-
one by yourself. Cube-4x4x4-6/)
Well, I am happy to let you know that you have got to the right place. Here you will by bajgik (/member/bajgik/)
find my notes, the pictures for crafting, the source code for the software that I
developed for controlling the cube, and many demonstration videos.
3x3x3 LED Cube
Before you start, please read the whole instructable. This is advisable to have a (/id/3x3x3-LED-Cube-2/)
global view of the project. by JColvin91
Prior to enter in the practical steps, a short theoretical introduction is necessary to (/member/JColvin91/)
well understand what we are talking about.
8x8x8 led cube (build)
(/id/8x8x8-led-cube-build/)
How the cube is made: by fallinsquirrel
The dimensions of the cube will be 8 led by 8 led, by 8 led, for a total of 512 leds. (/member/fallinsquirrel/)
The whole structure will be based on a wood board.
LED Cube 4x4x4 (/id/LED-
Cube-4x4x4/)
The concept of persistence of vision: by chr (/member/chr/)
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
8X8 LED Cube take 2
by individual still images. All the animations are based on this biological dis- (/id/8X8-LED-Cube-take-2/)
functioning of the human eye. If we can switch on and off the leds in a sufficiently by mrsyfy (/member/mrsyfy/)
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 See More (/tag/type-id/?q=)
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.
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)
Pictures:
The finished cube functioning.
(http://cdn.instructables.com/F54/4J0X/FY7M6CEQ/F544J0XFY7M6CEQ.LARGE.jpg)
(http://cdn.instructables.com/FPS/CGAS/FY7M6CEP/FPSCGASFY7M6CEP.LARGE.jpg)
(http://cdn.instructables.com/FBQ/J620/FY7M6CEN/FBQJ620FY7M6CEN.LARGE.jpg)
Show All 7 Items
Needed tools:
(http://cdn.instructables.com/FM1/ZDAK/FY7M6CEO/FM1ZDAKFY7M6CEO.LARGE.jpg)
- Soldering iron
- Soldering(http://cdn.instructables.com/FN9/ZO8V/FY7M6CEM/FN9ZO8VFY7M6CEM.LARGE.jpg)
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)
(http://cdn.instructables.com/F9L/KIX5/FY7M6CEL/F9LKIX5FY7M6CEL.LARGE.jpg)
- 1 prototype board
- 1 plywood board 20x20 cm, 8 mm thick
- Electric wire suitable for soldering (thin, flexible, and resistant)
Building:
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.
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.
Make 8 identical grids, paying attention that the led terminals going out of the board
have a different orientation for each layer.
SEE IMG. 04
(http://cdn.instructables.com/FO3/WYWS/FY7M6CN2/FO3WYWSFY7M6CN2.LARGE.jpg)
(http://cdn.instructables.com/FZK/90QI/FY7M6CMV/FZK90QIFY7M6CMV.LARGE.jpg)
Show All 12 Items
(http://cdn.instructables.com/FWK/Y1U8/FY7M6CN1/FWKY1U8FY7M6CN1.LARGE.jpg)
Once the 8 layers have been made, we are going to connect them together.
Place the led layer on the plywood board, one layer at each time. Bend the anodic
terminals (+) as shown in the picture. Bending the terminals is necessary to solder
(http://cdn.instructables.com/FET/6179/FY7M6CM5/FET6179FY7M6CM5.LARGE.jpg)
all the anodic terminal on the column with a straight wire, without the need of wire
bending to overcome the led.
Once all the led layers are ready, cut an electric wire into 64 pieces 20 cm long.
Take the insulation plastic off these wire pieces and make them as straight as
(http://cdn.instructables.com/FCT/W4D8/FY7M6CM4/FCTW4D8FY7M6CM4.LARGE.jpg)
possible (surely you do not want to build the Pisa cube!). The more straight the wire
the more squared will be the cube. The led layers must be spaced 1.5 cm in
vertical.
SEE FIG. 06
Place the top layer on the plywood board with the leds corresponding to the holes.
Solder all the previously prepared 64 wires to the anodic terminals of the leds. After
finished this layer, insert from the top the next layer and continue soldering the
terminals.
Important tips:
To obtain an even spacing between the layers, prepare 4 small wood pieces 1.5 cm
thick. You will insert them between the layers and they will help in holding the layer
in place during soldering.
After soldering each layer, always test all the leds. If you discover some bad leds at
the end of the project, it will be very hard to replace them. It is far better to spend
some time in preliminary tests than completely unmounting the cube to fix a single
led. You will need some patience for this tests, but, as the cube building goes on,
the structure will become more and more steady.
SEE FIG. 08
SEE FIG. 09
Once all the layers have been connected, you have to bring all the cathodic
terminals to the cube bottom. Remember that at this step the cube is up-side down.
So, bend at 90° all the terminals of a layer and solder them to the wires, as already
done for the columns.
Now remove the plywood board and drill 8 small holes on it to let the cathodic wires
pass through. Place the board over the cube, where the column wires (anodic
contacts) go out vertically. Let these wires pass through the 64 holes. You can use
the 1.5 cm wood pieces to hold the board over the led cube. Cut a prototype board
into 64 squares of 3 x 3 holes. These boards will serve to fix the terminals of
columns and layers to the plywood board.
SEE FIG. 10
Fill the holes of the plywood board with hot glue. For each hole, fill in the glue and
then insert the prototype board square at the right place, with column wire in the
central hole. When the glue is cold and solid, the wires will be steadily fixed in
place.
Remark: 8 prototype board squares will host both a layer wire (cathodic) and
column wire (anodic). After all the 64 board square have been fixed, solder all the
wires to the prototype boards and cut the exceeding wires. In this way the
connection with the control cables will be easy.
At this moment, the cube is almost finished. It only remains to solder the control
wires to the led terminals. However, this step will be carried out later, after defining
the connections between the led terminals and the pins of control circuit.
(http://cdn.instructables.com/FFN/QYOK/FY3KH9P2/FFNQYOKFY3KH9P2.LARGE.jpg)
(http://cdn.instructables.com/FQT/VYJQ/FY5WRLMR/FQTVYJQFY5WRLMR.LARGE.jpg)
(http://cdn.instructables.com/FT9/ZK6V/FY5WRLMQ/FT9ZK6VFY5WRLMQ.LARGE.jpg)
(http://cdn.instructables.com/FBW/AI2G/FY3KH9P3/FBWAI2GFY3KH9P3.LARGE.jpg)
(http://cdn.instructables.com/F2Y/Y95Y/FY3KNS5Z/F2YY95YFY3KNS5Z.LARGE.jpg)
(http://cdn.instructables.com/FNB/EAWN/FY5WRLMT/FNBEAWNFY5WRLMT.LARGE.jpg)
(http://cdn.instructables.com/F8M/TEAW/FY5WRLMV/F8MTEAWFY5WRLMV.LARGE.jpg)
(http://cdn.instructables.com/F7M/LCOF/FY3KNS61/F7MLCOFFY3KNS61.LARGE.jpg)
(http://cdn.instructables.com/FUT/EYDE/FY3KH9P4/FUTEYDEFY3KH9P4.LARGE.jpg)
(http://cdn.instructables.com/F2W/UENL/FY3KNS62/F2WUENLFY3KNS62.LARGE.jpg)
(http://cdn.instructables.com/FDR/RBWE/FY5WRLMX/FDRRBWEFY5WRLMX.LARGE.jpg)
(http://cdn.instructables.com/F90/ZS3I/FY3KNS63/F90ZS3IFY3KNS63.LARGE.jpg)
(http://cdn.instructables.com/F50/JTPX/FZ8J4TTI/F50JTPXFZ8J4TTI.LARGE.jpg)
(http://cdn.instructables.com/FD4/8J0E/FY3KNS65/FD48J0EFY3KNS65.LARGE.jpg)
Short introduction
The control circuit is basically composed of:
- 8 shift registers of 8 bits (total 64 bits) that enable / disable each column of the
cube
- 1 shift register connected to 8 NPN transistor to enable / disable each layer.
- 2 connectors with 40 and 34 pins for connection to the cube
- 1 connector with 2 pins for connection to the parallel port
(http://cdn.instructables.com/FNE/2P4J/FY3KNS66/FNE2P4JFY3KNS66.LARGE.jpg)
Tools needed:
- Soldering iron
- Soldering tin alloy
- Pincers
Materials needed:
- 9 shift register of 8 bit (I have used 74HC164B)
- 9 slots for shift register
- 8 NPN transistor (I have used 2N3904)
- 70 resistors 100 ohm
- 8 resistors 1500 ohm
- 1 prototype board
- 2 connectors with 40 and 34 pins for connecting to the cube
- 1 connector with 12 pins for connection to the parallel port
- 3 connectors with 2 pins for connecting the power switch, the led power and
power supply
- 1 red / green led (power led)
- 1 button (power switch)
- 1 male connector for power supply
- 3 little cables with 2 wires, ended with a connector (like those used in PCs to
connect the leds of the front panel to the mother board)
- Electric wire suitable for soldering (thin, malleable, and resistant at the same time)
Once you have got all the components, you can begin the construction of the
control circuit. Use the scheme that you can found in the pictures of this step.
First of all you must begin by placing the components above the base (or use the
same disposition that I have chosen), to realize their actual size. Once you have
positioned all the components, you should draw rectangles around them with a
pencil to outline their actual space. So, when you re-position them back, you will be
sure of their place. This is useful as you have to flip the base for soldering.
(http://cdn.instructables.com/F4U/ZJJH/FY3KH9PF/F4UZJJHFY3KH9PF.LARGE.jpg)
(http://cdn.instructables.com/FZB/L8F3/FY5WRLNB/FZBL8F3FY5WRLNB.LARGE.jpg)
Show All 7 Items
(http://cdn.instructables.com/FMH/4QX0/FY3KNS6O/FMH4QX0FY3KNS6O.LARGE.jpg)
We must separate for about 10 cm the wire to the side where we cut the connector.
That wires will be connected to different pins of cathodes and anodes of the cube
according to the scheme that we made during the construction of the board. Each
pin of an output shift register will be connected to a whole row of connectors in the
order of pins (so not at random). In this way the first shift register controller the first
row, the second controller second, ecc&
PS: of the (http://cdn.instructables.com/F9H/HKPM/FY7M6DFM/F9HHKPMFY7M6DFM.LARGE.gif)
74 pins available (40 + 34) we will serve only 72 (64 columns, 8 layers),
2 remain not connected.
CAUTION: If the pins are not connected as described above, the control software
will not work.
Construction of cables for the power switch, power LED and power supply:
For all 3 cables you must only solder the components to the wire.
(http://cdn.instructables.com/F5T/WJ9Y/FY7M6DP0/F5TWJ9YFY7M6DP0.LARGE.jpg)
(http://cdn.instructables.com/F56/3VEL/FY3KNS6R/F563VELFY3KNS6R.LARGE.jpg)
(http://cdn.instructables.com/FO4/82IV/FY5WRLNF/FO482IVFY5WRLNF.LARGE.jpg)
Show All 10 Items
(http://cdn.instructables.com/F7Q/J50M/FY3KNS6S/F7QJ50MFY3KNS6S.LARGE.jpg)
The basic is necessary to hide and protect the control circuit and for hide all the
cables to connect the PC and the cube.
Tools needed:
- Screwdrivers (or hammer)
- Vinavil glue
- Mini dremel
(http://cdn.instructables.com/F48/38KP/FY7M6DQE/F4838KPFY7M6DQE.LARGE.jpg)
- Black spray
- Spatula for putty
- Wood putty
- Fine sandpaper
Materials needed:
- 1 tablet of wood 20x20 cm, 8 mm thick
- 2 tablet of(http://cdn.instructables.com/FDI/0XAC/FY3KH9PM/FDI0XACFY3KH9PM.LARGE.jpg)
wood 20x6, 8 cm, 8 mm thick (for the sides of the base)
- 2 tablet of wood 21.6 x7, 6 cm, 8 mm thick (for the other two sides of the base)
- About 25 wood screws (or nails)
Get all the boards as to form a box (see photo) and prepare ourselves to merge.
Before inserting the screws apply Vinavil glue between a piece and the other: in
this way, once the glue dried we can remove the screws without unmounting the
box. The cover of this box is the cube that we constructed at first. Instead of screws
you can use small nails, but remember that you must remove it using a small
pincers.
Once the glue dried remove all the screws (or nails) and fill the holes with wood
putty, helping with the spatula to make it well.
After making holes pass the sandpaper along the outside of the base. After the
outer surface will be smooth we can color it with the spray. The passage with spray
must be not too close to the surface to be colored. Steps must be fast and fluid,
otherwise it will form drops of paint that compromise the quality of your work. You
can also distribute the paint with a brush, maybe it will be more easy.
When the box will be finished, you can fix the various connection cables and place
the control circuit on the bottom of the box, placing a soft material such as pluriball
under the control circuit, to prevent any damage. Connect the cables to the
appropriate connectors on the control circuit and place the cube of leds above the
box, using it as a cover. Connect the wires coming from the cube to the control
circuit.
Now you can connect your cube power supply and the PC. Use the control
program to create your own animations. Have fun!
Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" (ByVal PortAddress As
Integer) As Integer
Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress As
Integer, ByVal Value As Integer)
'-------------------------------------------------------GLOBAL VARIABLES------------------
----------------------------------
Public StatoCubo(1 To 8, 1 To 64) As Integer 'variable that contains the actual state
of cube
'-------------------------------------------------------------FUNCTIONS------------------------
--------------------------------
Public Function ScriviCubo(NumeroCicli As Integer) 'function for write into cube
the state stored in StatoCubo matrix
Dim ByteLpt As Byte
Dim ContaLivelli As Integer
Dim ContaLed As Integer
Dim ContaCicli As Integer
For ContaLivelli = 1 To 8
'set all bit of shift reg. of columns without clocking on shift reg. of layers and
disabling EVER all clear pins (xx 01x _1_)
For ContaLed = 64 To 1 Step -1 'For ContaLed = 1 To 64
'SHIFT REG. LAYERS:
'MSB (D5) = 0 --> clock disables
'CENTRAL (D4) = 1 (valore=16)--> clear disabled
'LSB (D3) = not important
Call Aspetta(60000) 'calling the function for generate a delay (the cube stops
flashing from 60.000 to 70.000 cycles)
Next ContaLivelli 'restart the cycle for setting the next layer
Call ClearAll 'call the function for activate clear on all shift register (switch off all
leds)
Next ContaCicli
End Function
Public Function ClearAll() 'function for enable the clear pin on all shift register
Dim ByteLpt As Byte
'enabling clear on all shift register (value=0) (xx x0x x0x)
ByteLpt = 0 '00 000 000
Out Val(IndirizzoData), Val(ByteLpt)
End Function
programmi.zip (/files/orig/FUH/GGXZ/FY7M6DVB/FUHGGXZFY7M6DVB.zip)4 MB
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
(/member/dkaran1/) 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.
thanks & regards
Dev
Here is a time-lapse video that shows me making my LED cube 8x8x8 (with this
technique):
(/member/Geekaton/)
https://www.youtube.com/watch?feature=player_embedded&v=gTZJOy70rrc
hello friends I can not download the pdf .. who can send me my mail porfa ... <>
(/member/navi2012/)
agofi you tell me why I turn on the LEDs should be slightly off during the animation? I
double-check
(/member/killerone/) the circuit and everything is properly asseblato .. please it's urgent.
Nice instructable but it has some very missized components. The 2n3904 transistors
are only rated
(/member/razamatraz/) for 200ma but you have them running layers that are otherwise sized for
1.28 amps.
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.
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.
- If I put some sensors on it, it is possible to "trigger" it when someone walks into the
room?
Thanks!!!
What are the three wires going across each LED layer for? Are they the ground
wires, and if so
(/member/randomness72.5/)what are they connected to?
Quem souber portugues tem como entrar em contato, to querendo construir mas tá
osso. multiplexação
(/member/lemos.luciano/) tá foda. Nao to entendendo direito.
Meu email é : lucianobr37@yahoo.com.br
Obrigado.
REUPLOAD VIDEOS
(/member/gomas211/)
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
(/member/matt_february12/) 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! :)
very good attempt i have a request to provide the circuit diagram for the cub
(/member/4uguyzz.in/)
Its cool!
But Im thinking
(/member/huoyunjie/) how let it make easily!
huoyunjie (/member/huoyunjie/)
3 years ago Reply (CNKVJOSGPBD512T)
Hi.cool!!
Im starting.I want do it.thanx.....
(/member/huoyunjie/)
For each 'frame" of the cube it looks like your bit-shifting in all 64 bytes, using the shift
registers
(/member/Vick+Jr/) in series.
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.
hi guys...i have no idea how to get the software to work on my pc... im running
windows 7... need
(/member/dangadave/) help... do i have to download a program to run the software...?
cause my itunes wants to try open it... but no success...:(
thanx
The only positive volt connection is just on the led, and nowhere else.
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
(/member/nate1357/) with parallel or serial ports.
so what would the circuit for an rgb 24x24x24 cube look like?
(/member/stevonr/)
It would be quite possible if you can get an active addressing matrix in your
cube. Control of huge
(/member/Aru3/) 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
(/member/stevonr/) 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.
Thank you
can any1 give me code without serial or USB control? i want whole program to put in
microcontroler
(/member/lazardj/) like 4x4x4 cube that is here on site. Thx
ciao, Matteo
About Us Find Us
Who We Are (/about/) Facebook (http://www.facebook.com/instructables)
Advertise (/advertise/) Youtube (http://www.youtube.com/user/instructablestv)
Contact (/about/contact.jsp) Twitter (http://www.twitter.com/instructables)
Jobs (/community/Positions-available-at-Instructables/)
Pinterest (http://www.pinterest.com/instructables)
Help (/id/how-to-write-a-great-instructable/)
Google+ (https://plus.google.com/+instructables)
Tumblr (http://instructables.tumblr.com)
Resources Mobile
For Teachers (/teachers/) Download our new apps for iOS,
Artists in Residence (/group/air/)
(/halloween/) Android and Windows 8!
Gift Pro Account (/account/give?sourcea=footer)
English
Forums (/community/) Android
Join our newsletter: enter email Join!
Answers (/tag/type-question/?sort=RECENT) (https://play.google.com/store/apps/details?
Sitemap (/sitemap/) id=com.adsk.instructables)