Driving Multiple LEDs from a transistor
![Zoot](https://forums.parallax.com/uploads/userpics/559/nW4UO23UEIWZ4.png)
I want to drive 4 or 5 LEDs (@ ~17ma each) from a transistor.
I wired up one LED to a transistor and a micro pin following the attached schematic (which has been reproduced many places in these forums).
So... if I wanted to hook up several LEDs, can I tie the cathode of all of them to the transistor and the anode of each to Vdd through it's own limiting resistor? Or would I need a transistor for each (I would think not, since the 2N3904s I have on hand should be able to handle up to 100ma).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
I wired up one LED to a transistor and a micro pin following the attached schematic (which has been reproduced many places in these forums).
So... if I wanted to hook up several LEDs, can I tie the cathode of all of them to the transistor and the anode of each to Vdd through it's own limiting resistor? Or would I need a transistor for each (I would think not, since the 2N3904s I have on hand should be able to handle up to 100ma).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Comments
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Magic Smoke Theory of Electronics –
Inside every electronic part there is magic smoke.
The magic smoke is what makes everything work.
If you release the magic smoke, the part stops working!
It okay to parallel them if each LED has it's own dropping resistor.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST