Makes sense!If you are scanning by rows (rather than columns) then you need to put your current liming resistor in the column (anode) path, otherwise the brightness of the LEDs will vary depending on how many are turned on.
So the same as what I said? And each PNP needs to source current for 1 LED?Since you are scanning by rows, it's the NPNs that must sink 11x20ma, not the PNPs, as would be the case for column scanning.
Yes, you got all of that right.I understand I will need 11 PNP transistors for the anode and 11 NPN transistors for the cathode? Since it is row scanning, in my case, each NPN transistor has to sink up to 11x 20mA (assuming 20mA required to turn on each LED) = 220mA ? Is this right?
Also, each PNP transistor has provide current for 1 LED at a time, so it has to source 20mA?
He's not connecting any of the LEDs in series. They're single LEDs, not strings.You need to define which LEDs you are using 1st. 5V is barely enough for 3 LEDs at 20mA and certainly not 200mA.
Yes he does, but the LEDs aren't connected in series.ok I though he wanted a dot matrix display 11x11
Yes. Oops, I didn't even notice the 150 Ohm resistors before. You don't need them.Do I only need the current limiting resistor under the collector of the PNP transistor? (i.e. don't need the 150 ohm resistors in the diagram)
That's right. It won't be a very accurate calculation. Just aim for a bit less than 20mA.And to work out the Value of the current limiting resistor it is just Vcc - ( VCEsat of PNP at operating condition of 20ma) - (forward voltage of LED) - (VCE sat of NPN at operating conditions of 220mA), then divide this result by 20mA?
They're switched off when the 74HC595 output is high, and switch on when the 74HC595 output is low. If we assume that Vcc = +5V, the transistor's VBEsat = about 0.8V and the 74HC595's output low voltage = about 0.1V, then the voltage across the resistor = about 5 - 0.8 - 0.1 = about 4.1V. The transistor must conduct about 20mA, so a base current of about 2mA would be ideal. R=V/I, so the resistors should be about 2.2K. The exact value isn't critical.How do I go about the calculation of the Rb (base resistor ) for the PNPs?
I guess so. I don't know what parts you're using but if they have built-in resistors that should be fine.And also, the darlington arrays I can connect directly to the 74HC595 since there are already base resistors in the IC?
It sounds like you're driving the PNPs and the NPN Darlingtons from 74HC595s. Is that right?
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?