Hi guys. I have 8 bicolor LEDs that I plan to drive from 8x2 ports of the micro. The LEDs are common cathode. Basic idea is to ground the cathode and connect a NPN transistor before every anode and connect the base of the transistor to the micro IO pin. No, this will of course work, if the collectors of the NPNs are connected to VCC (5v) via some resistor.
But here is my question....
In an attempt to get a high brightness out of the LEDs, I would like to use some form of PWM to pulse a higher current through them. So my question is, instead of connecting all the NPNs collectors to VCC, can I use one more transistor as a switch, and turn it on and off using some 555 circuit?
Again basically I guess the idea is correct, but, what I don't know is will the current be uniform across all LEDs (given that any combination may be glowing at any given point in time) or will the LEDs intensity vary with the number of LEDs on? How do I get them to glow nice and bright in a uniform way?
Thanks!
Oh, attached a circuit that sort of gives the idea... (excuse the messy drawing!)