Hello
I’m trying to figure out which transistor would best suit my needs. From what I’ve been able to figure out, I believe I need a PNP type.
Parts list:
4 x LE-MM103 (http://oomlout.com/DATASHEETS/LED-8X8M-03.pdf)
8 x ULN2803A (http://oomlout.com/8TRA/IC-ULN2803A-DATA.pdf)
9 x 74HC595 (http://oomlout.com/products/DATASHEETS/IC-74HC595.pdf)
8 x 560 ohm resistors (These are probably too high)
The current setup:
I have 4x common anode RG 8x8 LED matrices hooked up, with all the anode rows connected in series.
I have 8x sink arrays connected the the 4x2x8 red and green columns. These are switched by 8x 595s
1x 595 to switch the rows
I am column scanning, because I believe the 9th 595, which I am using to drive the rows cannot source enough current to drive a row (64 leds), but can handle a column of 8 (1 per output).
I have opted for this horribly inefficient setup because a) I don’t have common cathode matrices, b) I don’t have a sourcing led driver, and also c) because I wanted to see if I could do it without setting fire to anything
What I’d like to try do next:
First, switch the software back to row scanning.
Instead of the 8 sink arrays, I believe I can just use the 8 x 595s to ground the columns (because a column will now only have 1 led lit at a given time)
Use some PNP transistors to source the current for the rows.
(Eventually to be replaced by a purpose-built IC/driver)
I’ll probably purchase some PNPs from Maplins. Looking at what they stock, these are my options:
Type V CEO IC PTOT HFE FT
V mA mW min/max MHz
BC558B -30 -100 500 220/475 100
2N3906 -40 -200 500 100/300 250
2N5401 -150 -600 500 60/240 300
BC327 -45 -500 800 160/400 80
BC556B -65 -100 500 220/475 100
So, my question is this: What should I use if I wish to drive up to 64 leds across the 4 matrices? This part is very new and strange and I’m still fumbling my way through the learning process. I’m not sure how to work out what spec I need, nor what the specs of the PNPs are (The spec sheet is still confusing :))
Side note: The array, as it currently stands, is flickering. I’m pretty sure this is because a) it has 64 columns to scan through (which means 1/64th duty cycle, yes?) ,and b) my code is shoddy! I’m not too concerned - this was more of a way for me to learn about row and column scanning, as well as helping my understanding of sinking/sourcing. I believe that using a proper sourcing driver/PNPs and using row scanning will take care of the flicker.
I’ve attached some images of the jungle!
Thanks in advance for any advice.
Denham