5x5 LED Cube (Arduino Uno)

 by icky_unicorn
Featured

Step 3: Wiring and Breadboard

IMAG0175.jpg
IMAG0178.jpg
See attached pdf for a circuit diagram. 3-8 decoders labeled A-E. But a brief overview...
1) Solder sockets into  board (w/o decoders in)

2) Wire in series with socket pins according to 3-8 decoders as follows (see http://www.alldatasheet.com/datasheet-pdf/pdf/15570/PHILIPS/74HC238N.html? for data sheet for further information)

Note: Error in circuit diagram. Z0 should actually be connected to the VCC wire.

"A"-"C" 3-8 decoders
-connect A0 together and to digital output 4 on arduino
-connect A1 together and to digital output 3 on arduino
-connect A2 together and to digital output 2 on arduino
-connect g to ground on arduino
-connect Vcc to 5V on arduino
-connect Y0-Y7 of "A" to COL1-COL8 (with 150 ohm resistor between)
-connect Y0-Y7 of "B" to COL9-COL16 (with 150 ohm resistor between)
-connect Y0-Y7 of "C" to COL17-COL24 (with 150 ohm resistor between)

"D" 3-8 decoder
-connect A0 to other AO and to digital output 4 on arduino
-connect A1 to other A1 and to digital output 3 on arduino
-connect A2 to other A2 and to digital output 2 on arduino
-connect g to ground on arduino
-connect Vcc to 5V on arduino
-connect Y0 to COL25 (with 150 ohm resistor between)

"E" 3-8 decoder
-connect A0 to digital output 6 on arduino
-connect A1 to digital output 5 on arduino
-connect A2 to ground on arduino
-connect g to ground on arduino
-connect Vcc to 5V on arduino
-connect Y0 to E3 of "A" decoder
-connect Y1 to E3 of "B" decoder
-connect Y2 to E3 of "C" decoder
-connect Y3 to E3 of "D" decoder
-connect pEN (E3) to digital output 12 on arduino

3) Solder 5 150 ohm resistors into board. Then solder base of 5  transistors in series with resistor. Ground the collectors. Solder wire leads to emitters of transistors to Z0-Z5 (planes of cube).
 
Remove these adsRemove these ads by Signing Up
Amun_Ra says: May 11, 2013. 2:25 AM
Hi there, I followed your guide as best as I can but am not quite sure how to interpret the connection from the planes (Z0-Z4) in your circuit diagram. Should each plane (Z) be connected BOTH to the arduino via a resistor AND to VCC (the diagram says gound but I read that was an error)? Wouldn't that short-circuit all planes?
icky_unicorn (author) in reply to Amun_RaMay 13, 2013. 3:49 PM
Hi! From the arduino ouputs, the wires for the planes should be connected to a transistor where the emitter connects to the planes and the collector is connected to the VCC. Let me know if that works.
icky_unicorn (author) in reply to icky_unicornMay 13, 2013. 4:00 PM
Though, I'm still pretty sure I connected my collectors to ground.. the connection to the VCC was a correction by someone who made my project, so I'm not totally certain.
juliusli says: Jan 21, 2013. 11:15 AM
any kinds of 3-8 decoders and transistor are suitable ?
icky_unicorn (author) in reply to juliusliJan 21, 2013. 12:47 PM
I used:

Transistors Bipolar (BJT) 600mA 60V NPN
Encoders, Decoders, Multiplexers & Demultiplexers Hi-Spd CMOS 3-8 Line Decoder/Demltplxr
juliusli says: Jan 16, 2013. 10:18 AM
Hello, urs looks very simple, i wanna make one, can i use another resistors which is more than 150 ohms. thz
icky_unicorn (author) in reply to juliusliJan 16, 2013. 3:18 PM
yes. what resistance were you planning on using?
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!