hi everyone..
I am trying to swap out my regular old 5mm (radioshack) common anode RGB led, for a high powered RGB led star version.. (again I believe it to be common anode as well)
however the current requirements are MUCH more demanding.. and more than the Arduino can give.
- Driving voltage and current per channel:
Red: 2.5V ~ 3.0V, 350mA
Green: 3.2V ~ 3.8V, 350mA
Blue: 3.2V ~ 3.8V, 350mA
So I thought it could be done much the similar way I am running/driving a high powered motor in the same circuit... (using a transistor for the 'power by pass' and Arduino to trigger gate on transistor..etc)
Currently set-up as such: (using a 2N222 NPN transistor)
but Im confused on the NPN vs PNP transsistors.. (and current sourcing vs current sinking..etc in general to be honest)..
and am unsure about how to correctly add in this 3W RGB led..
project specs:
Arduino (custom board) powered by battery pack
Battery pack 7.2v Li-Ion pack
odd surplus motor as posted above (3v-9v rating it said on box??? and somethign about stall current or stall voltage,...I dont recall off hand)
There will only be one led die (color) on at a time..
my current approach was/is using 3 transistors one for each color
but not sure what transistor I should use?
I also think I need resistors on the leds between transistor(s) too....correct?
Here is my current schematic of visualizing it:
Do I need a NPN or PNP transistor? (I have seen links/images with both?)
What would a correct value/transistor to get? one that has the enough current and close enough/equal to 3.3 volts?
(was wanting to pick up a few from local radioshack if available)
thanks.