A
Andy Ladouceur
Guest
Hi everyone,
I took a basic electronics course a few years back, otherwise only know
what I've found online, and am having one hell of a time trying to work
out the right voltages / resistances for a project I'm working on.
I have 2.4V @ 24mA coming off an output from an IC, that I'd like to
use to power an LED. The LED needs 3.3V, 20mA.
I'm able to vary the 24mA output from the IC in 16 1.5mA steps. (From
1.5mA -> 24mA)
I could be mistaken, but I'm quite sure what I'm looking for here is a
NPN transistor. I just don't know what values of.. -anything-, I'd
need. I had it calculated as:
NPN Transistor, Beta 50.
Power to collector: 12V, with a 420 Ohm resistor.
Power to base: 2.4V
Power to emitter: 0V (Ground), with an 80 Ohm resistor.
This would give me 3.25V at 20mA coming out of the collector. (Er..
right?) Which would work perfectly, if I didn't plan on varying the
current. But, I'm not sure how to calculate what the current going to
the LED would be when the base current is dropped to 1.5V. What I'd
ultimately like is to be able to vary the current and have 1.5mA
pretty much be 'off' for the LED, and 24mA at its brightest.
With my current setup, is this how it would work, or am I right in
assuming most of its current comes from the 12V collector?
Could someone please advise me of a setup that'd let me do the above,
if my current(sorry) one doesn't allow for it? Thanks in advance for
any help you might provide. I'd like to be able to understand the
workings of a transistor enough to be able to figure this out myself,
but it's been two hours, and it seems that's not happening, right now.

-Andy
I took a basic electronics course a few years back, otherwise only know
what I've found online, and am having one hell of a time trying to work
out the right voltages / resistances for a project I'm working on.
I have 2.4V @ 24mA coming off an output from an IC, that I'd like to
use to power an LED. The LED needs 3.3V, 20mA.
I'm able to vary the 24mA output from the IC in 16 1.5mA steps. (From
1.5mA -> 24mA)
I could be mistaken, but I'm quite sure what I'm looking for here is a
NPN transistor. I just don't know what values of.. -anything-, I'd
need. I had it calculated as:
NPN Transistor, Beta 50.
Power to collector: 12V, with a 420 Ohm resistor.
Power to base: 2.4V
Power to emitter: 0V (Ground), with an 80 Ohm resistor.
This would give me 3.25V at 20mA coming out of the collector. (Er..
right?) Which would work perfectly, if I didn't plan on varying the
current. But, I'm not sure how to calculate what the current going to
the LED would be when the base current is dropped to 1.5V. What I'd
ultimately like is to be able to vary the current and have 1.5mA
pretty much be 'off' for the LED, and 24mA at its brightest.
With my current setup, is this how it would work, or am I right in
assuming most of its current comes from the 12V collector?
Could someone please advise me of a setup that'd let me do the above,
if my current(sorry) one doesn't allow for it? Thanks in advance for
any help you might provide. I'd like to be able to understand the
workings of a transistor enough to be able to figure this out myself,
but it's been two hours, and it seems that's not happening, right now.
-Andy