|
Re: Selecting a microcontroller
Don't base your chip choice on current-handling capacity. To switch an LED on or off, you can control a simple transistor (like a 2N3906, about a dime each, handles 100 mA easily) sinking just a few milliamps from the microcontroller.
If you want to control them linearly, that is, more than on or off but also 'in-between', then you can pulse them at varying duty cycles, or bias the 3906 for linear operation.
An analogy is controlling motors: we use Victors instead of the MC itself.
If it is a three-color LED (R, G, and 2xB is common), EACH of those needs 20 mA, or 80 mA per (internal) device. 6 x 80 = 480 mA.
Don
__________________
I am N2IRZ - What's your callsign?
|