3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to build a 8x8x8 led cube (English version)

Step 3Build the control circuit (first part)

Build the control circuit (first part)
«
  • 20.00.jpg
  • 20.01.JPG
  • 20.02.JPG
  • 20.03.JPG
  • 20.04.JPG
  • 20.05.JPG
  • 20.06.JPG
  • 20.07.JPG
  • 20.08.JPG
  • 20.09.JPG
  • 20.10.JPG
  • 20.11.JPG
  • 20.12.jpg
  • 20.12.1.jpg
  • 20.13.jpg
  • 20.14.jpg
  • last photo ←
»
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

Why do we connect the 8 NPN transistor to the shift register of layers? As we know, the leds of each layer have a common cathode (-), then we must enable them to connect the signal mass. The problem is that the output of the layer shift register have a high level signal (logic level 1 is equivalent to Vcc) in any pin enabled. We need a component that, given a signal at logic level 1, enables the passage of the current. This component is the transistor. It works as a switch: if the pin of the base is set to logic level 1, the pin collectors and emitter are connected together.

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.

SEE PICTURES FROM 20.00 TO 20.14

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.

I would suggest you to solder the components in this sequence:
1 - Slots for shift register
2 - Resistances of 100 ohms and 1.5 Kohm
3 - Transistors
4 - Connectors

Now, with mooooooooooooooooooore patience, make the connections between the main components. In a second stage, connect each resistor/transistor to the connectors for connecting the cube. Take note of all matches OUTPUT SHIFT REGISTER -> CONNECTORS PIN. This will be essential when we will solder the various wires to each terminal of the cube.

There are several tips that you can follow:
- Cover 3/4 of the perimeter of the base with a track which you connect to the signal mass. It is always useful to have a mass nearby.
- For connections between 2 or more adjacent points use soldering iron to connect directly these points each other
- Do not insist too much with the iron on a single hole of the base, otherwise the pitch copper could fall off.
« Previous StepDownload PDFView All StepsNext Step »
9 comments
Aug 18, 2011. 1:14 AMkieth says:
wow. thanks guys!!!!
Jul 4, 2011. 6:43 AMhuoyunjie says:
Its cool!
But Im thinking how let it make easily!
Jan 26, 2011. 7:59 PMMrGentlemen says:
I Have a Question about the vcc connection:

Did this Circuit doesnt need a VCC connection to work?

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
Dec 16, 2010. 5:18 AMguusberens says:
I have a question about the wiring diagram.
The single circuit left I do not understand.
Could someone maybe able to explain what that meant?

Thank you
Jun 26, 2010. 10:19 PMdexterac says:
hey, i was planning to use 7401/7400 instead of BJT switches and supplying logic 1(voltage 5) to each layer (Z coordinate) by a port. So selecting a layer can be done by 8 bit directly and selecting a led from 64 leds of a layer by NAND gates. This can also allow selecting multiple LED's in one go. But i am confused with what resistors to use for biasing 7400/7401 with avr and if should i directly connect the 8 layers to a port or use some driver ic or something.
Feb 28, 2010. 2:56 AMmmirek88 says:
Nice work. But I found some irregularities. The transistor 2N3904 has maximum current 200 mA, but the one layer of 64 LEDs in your design (switched by 2N3904) needs cca 20 mA * 64 = 1280 mA. And the next: maximum current through VCC/GND of 74HC164 is 50 mA, but 8 LEDs powered by 74HC164 need 20 mA * 8 = 160 mA. Didn't I overlook some trick? :-)
Apr 1, 2010. 1:58 PMtwofouroh says:
He's only enabling one column at a time. That's 8 LEDs, so the max current would be 160mA. At ~96 mW, it's OK on power rating also, especially since it only has a 12.5% duty cycle.
Apr 3, 2010. 4:33 AMmmirek88 says:
That explains everything. But in that case each LED has only 1,56 % duty cycle. That causes very low brightness of LEDs, I think.
Apr 3, 2010. 5:14 PMtwofouroh says:
Found his printed circuit diagram, much more clear than the handwritten one.  He is activating an entire layer through each 3904, but his duty cycle is still <=12.5% on each 3904, that would still be a max average power dissipation of 96 mW, but instantaneous max of 768mW.  Since it is clocking at MHz speeds, it should be fine.
Aug 30, 2009. 5:40 PMpadrini says:
esto es muy cool this is an amazin place to learn thank averu body

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
55
Followers
2
Author:agofi