Hi guys.
Lately I want to make a led cube, something small 4x4x4 - 64 LEDs total.
I want to control it using only the outputs (8) of the PC parallel port so I can program the code on the PC directly, so no microcontrollers involved.
This is my plan so far :
I will make the matrix with 3mm diodes (or 5mm if I can't find 3mm ones) and to it I'll bring (to a LED in it I mean) +Vcc from the 16 lines that will be at the bottom and I'll drain the voltage (GND) from the 4 lines connected to each floor of the matrix.
For controling the voltage to the 16 inputs of Vcc and the 4 outputs of Vcc (connected to gnd) I plan on using 16 / 4 2N2222A transistors ( I hope they can keep up for the current that the LEDs will consume).
I plan to use a 4 to 16 decoder which will have pins A,B,C,D connected to the output of the PC's parallel port and its 16 outputs to the corresponding transistors (through a resistor) of the 16 Vcc inputs.
for the control of the floors I plan on using a 3 to 8 decoder connected to the corresponding transistor (R again) to the 4 transistors that will control the connection of the LEDs to GND.
Both the 3-to-8 and the 4-to-16 decoders will be non-inverting. I was thinking of using 74HCT4514 for the 4 to 16 decoder and CD74AC238 for the 3 to 8 decoder.
I also plan on putting resistor on the Vcc 16 matrix, between the emiter of the 2N2222A transistor and the connection for the 4 LEDs connected on that connection.
For programing I'll use the technique of fast-blinking so I can create images while not messing up with the rows/columns and ending up getting the matrix to light like a Christmas three.
Is my plan good, if its not, what does it need ? Any ideas of improving it ? Just keep it in mind that there will be no PIC involved. Hence, if I'm able to make it with the PC's parallel port shirley I can adopt the cube for a PIC afterwards.
Thanks in advance,
Aleks.
Lately I want to make a led cube, something small 4x4x4 - 64 LEDs total.
I want to control it using only the outputs (8) of the PC parallel port so I can program the code on the PC directly, so no microcontrollers involved.
This is my plan so far :
I will make the matrix with 3mm diodes (or 5mm if I can't find 3mm ones) and to it I'll bring (to a LED in it I mean) +Vcc from the 16 lines that will be at the bottom and I'll drain the voltage (GND) from the 4 lines connected to each floor of the matrix.
For controling the voltage to the 16 inputs of Vcc and the 4 outputs of Vcc (connected to gnd) I plan on using 16 / 4 2N2222A transistors ( I hope they can keep up for the current that the LEDs will consume).
I plan to use a 4 to 16 decoder which will have pins A,B,C,D connected to the output of the PC's parallel port and its 16 outputs to the corresponding transistors (through a resistor) of the 16 Vcc inputs.
for the control of the floors I plan on using a 3 to 8 decoder connected to the corresponding transistor (R again) to the 4 transistors that will control the connection of the LEDs to GND.
Both the 3-to-8 and the 4-to-16 decoders will be non-inverting. I was thinking of using 74HCT4514 for the 4 to 16 decoder and CD74AC238 for the 3 to 8 decoder.
I also plan on putting resistor on the Vcc 16 matrix, between the emiter of the 2N2222A transistor and the connection for the 4 LEDs connected on that connection.
For programing I'll use the technique of fast-blinking so I can create images while not messing up with the rows/columns and ending up getting the matrix to light like a Christmas three.
Is my plan good, if its not, what does it need ? Any ideas of improving it ? Just keep it in mind that there will be no PIC involved. Hence, if I'm able to make it with the PC's parallel port shirley I can adopt the cube for a PIC afterwards.
Thanks in advance,
Aleks.