E
Eric
I'm a bit stumped on how to drive a bank of common cathode LEDs from a
microcontroller. Here is the problem.
The green and blue colors require 3.5v @ 40mA, and the red portion
requires 2v @ 40mA. I would like to drive 5 of each from the
microcontroller. For a normal bank of LEDs I would simple connect
them in series along with a resistor to the collector of a 3904
transistor. Since they are common cathode LEDs, I am guessing that I
would have to connect them in parallel between the transistor emitter
and ground. This would result in 15 (!) resistors. Is there a better
way to accomplish this task?
microcontroller. Here is the problem.
The green and blue colors require 3.5v @ 40mA, and the red portion
requires 2v @ 40mA. I would like to drive 5 of each from the
microcontroller. For a normal bank of LEDs I would simple connect
them in series along with a resistor to the collector of a 3904
transistor. Since they are common cathode LEDs, I am guessing that I
would have to connect them in parallel between the transistor emitter
and ground. This would result in 15 (!) resistors. Is there a better
way to accomplish this task?