74hc154 has a LOW active output, you were driving the rows with GND.
To work you have to connect the collector of your PNP to the GND and the emitter to the rows, drive the base from the 74hc154 (on with LOW).
Note that for 5v input in the base the emitter output will be 4.3v.
You also need to use a resistor in the base or emitter to limit the current to the leds (in a real design)
Alex
**broken link removed**
heres my design and its working fine.. is this ok if i will implement to actual hardware?
The output of 74hc595 is 1(high), so better use it for column i.e., make your columns anode. Otherwise you have to invert the outputs of 74hc595 IC and it will increase hardware size and cost, as there will be 40 lines from 74hc595 ic.
The output of 74hc595 is 1(high), so better use it for column i.e., make your columns anode. Otherwise you have to invert the outputs of 74hc595 IC and it will increase hardware size and cost, as there will be 40 lines from 74hc595 ic.
---------- Post added at 19:01 ---------- Previous post was at 18:59 ----------
Still would say that you should put a small value resistor at the base of each transistor for protection.
rather than going for transistors use ICs like ULN 2003 they are inbuilt darlington pairs
but uln2003 has ony 7 outputs.. what uln that have 8 outputs? and can sink my matrix's current?uln 2003 will not cause any problem to your circuit. You can go through the datasheet of uln 2003 ic.
and can sink my matrix's current?
and can sink my matrix's current?
Use multiple uln2003 ics.
uln 2003 can source as well as sink current. Because normally we use uln 2003 ics for dc motors also. So don't worry about sinking and sourcing current.
---------- Post added at 19:31 ---------- Previous post was at 19:30 ----------
Use multiple uln2003 ics.
uln 2003 can source as well as sink current. Because normally we use uln 2003 ics for dc motors also. So don't worry about sinking and sourcing current.
uln 2003 can source as well as sink current. Because normally we use uln 2003 ics for dc motors also. So don't worry about sinking and sourcing current.
No, ULN2003 can only SINK , it is an open collector output.
You use it in a motor with the other side of the motor connected to the positive supply so when ULN is on it sinks the current and the motor works.
Alex
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?