- Sun Mar 08, 2009 10:13 pm
#68032
Hi,
First of all, my apologies for not having drawn up a diagram yet.
In my previous post (see here), I successfully drive 8x8 LED matrix using one 74HC595 to drive common anode rows, one 74HC7014 decade counter, whose outputs are connected to the ULN2803A (transistor array), to drive the common cathode columns.
Because my LED matrix is bi-color, meaning two sets (one for green and one for red) of common cathodes for each column, I want to change the above design to have two HC595 ICs to drive the common cathode columns and the common anode rows now are now driven by the HC4017.
My ultimate goals are:
-Control the common cathode columns (green and red) via the two HC595, so that I can light up a dot in the matrix as green, red, or yellow. Yellow happens when both green and red voltages are applied.
-With the 4017 driving the rows, I can add more LED matrices, so that, with the help of the transistors, the 4017 can drive multiple rows on each clock pulse.
My previous working solution prevents me from accomplishing the above goals.
Anyway, below is my new design.![Smile :-)](./images/smilies/icon_e_smile.png)
At the moment, I still use only one HC595 just to drive the red columns. (Later, I will add another HC595 once I get things to work, which is not at the moment.)
Each output of the 8 outputs from the 4017 is connected to the Base of the 2N2222 NPN transistor, whose emitter to grounded and whose collector is wired to a common anode row of the LED matrix. My questions for this part are: I noticed that I have connect the collector wire between a current limiting resistor, which is connected to the common anode row, and the wire that goes to the Vcc, the 5V DC power supply. Is that correct? It does seem so, because the LEDs are light up brightly, but I don't want a row to be turned on unless the transistor is turned on. So, I am not that all the rows should be connected to the Vcc before hand.
For the common cathode column(s). For now I only deal with the green columns, thus using only one HC595 as mentioned above. I connect the 8 outputs of the HC595 to the 8 inputs of the ULN2803A. Then the outputs of the ULN3803A are connected to the command cathode columns. Each of the HC595 output gives about 35mA. Does this connection seem correct?
Thank you for any tips/advice on the able. I am not quite sure of the above approach.
First of all, my apologies for not having drawn up a diagram yet.
In my previous post (see here), I successfully drive 8x8 LED matrix using one 74HC595 to drive common anode rows, one 74HC7014 decade counter, whose outputs are connected to the ULN2803A (transistor array), to drive the common cathode columns.
Because my LED matrix is bi-color, meaning two sets (one for green and one for red) of common cathodes for each column, I want to change the above design to have two HC595 ICs to drive the common cathode columns and the common anode rows now are now driven by the HC4017.
My ultimate goals are:
-Control the common cathode columns (green and red) via the two HC595, so that I can light up a dot in the matrix as green, red, or yellow. Yellow happens when both green and red voltages are applied.
-With the 4017 driving the rows, I can add more LED matrices, so that, with the help of the transistors, the 4017 can drive multiple rows on each clock pulse.
My previous working solution prevents me from accomplishing the above goals.
Anyway, below is my new design.
![Smile :-)](./images/smilies/icon_e_smile.png)
At the moment, I still use only one HC595 just to drive the red columns. (Later, I will add another HC595 once I get things to work, which is not at the moment.)
Each output of the 8 outputs from the 4017 is connected to the Base of the 2N2222 NPN transistor, whose emitter to grounded and whose collector is wired to a common anode row of the LED matrix. My questions for this part are: I noticed that I have connect the collector wire between a current limiting resistor, which is connected to the common anode row, and the wire that goes to the Vcc, the 5V DC power supply. Is that correct? It does seem so, because the LEDs are light up brightly, but I don't want a row to be turned on unless the transistor is turned on. So, I am not that all the rows should be connected to the Vcc before hand.
For the common cathode column(s). For now I only deal with the green columns, thus using only one HC595 as mentioned above. I connect the 8 outputs of the HC595 to the 8 inputs of the ULN2803A. Then the outputs of the ULN3803A are connected to the command cathode columns. Each of the HC595 output gives about 35mA. Does this connection seem correct?
Thank you for any tips/advice on the able. I am not quite sure of the above approach.