Controlling LED with Transistor

  • Thread starter cepheid
  • Start date
  • #1
cepheid
Staff Emeritus
Science Advisor
Gold Member
5,192
38
I want to implement the following very simple logic:

Voltage at point "A" is high ==> LED is OFF

Voltage at point "A" is low or floating ==> LED is ON

and I came up with the attached circuit to implement it. I'm just wondering if there is anything "bad" about doing it this way, or if this circuit is OK.
 

Attachments

  • led_npn.png
    led_npn.png
    5.4 KB · Views: 453

Answers and Replies

  • #2
MATLABdude
Science Advisor
1,657
4
You should be okay with this basic inverter, assuming:
1) The LED forward voltage is higher than the BJT's saturation voltage [itex]V_{CE(SAT)}[/itex], and lower than [itex]V_{CC}[/itex], and
2) The base resistor is selected such that the BJT actually saturates
 
  • #3
cepheid
Staff Emeritus
Science Advisor
Gold Member
5,192
38
You should be okay with this basic inverter, assuming:
1) The LED forward voltage is higher than the BJT's saturation voltage [itex]V_{CE(SAT)}[/itex], and lower than [itex]V_{CC}[/itex],

Okay, well I have measured a fairly large forward voltage for this LED, ~ 1.8 V, whereas it appears that the collector is pulled down to 0.2 V when conducting (I assume that this is the saturation voltage). My Vcc is 6.0 V, since I'm using 4 AA batteries.

and
2) The base resistor is selected such that the BJT actually saturates

My understanding of what saturation is is that the base current is large enough that the expected collector current IC = βIB, is so large that it cannot possibly be achieved by a voltage drop across the collector resistor. The required voltage drop would mean pulling the collector below ground, which the transistor cannot do. Instead the collector just gets pulled down to some small voltage value that is almost 0 -- the saturation voltage. It seems like with a choice of base resistor of 1k or 10k, saturation is happening easily. Am I understanding things correctly?
 
  • #4
MATLABdude
Science Advisor
1,657
4
Things sound like they're all right. When I learnt of saturation, it was "starving the collector", but it could just as easily be "stuffing the base", depending on your context and what you have available. When you design for saturation, you get to choose the value for beta, such that [itex]\beta_{SAT} < \beta_{\circ}[/itex]
 
  • #5
129
0
http://profmason.com/wp-content/uploads/2010/11/LogicProbe.jpg [Broken]
 
Last edited by a moderator:
  • #6
685
16
There is one-thing 'stupid' of the circuit. It will consume more power when the led is OFF.
If you wanted to have no power consumed when the led is off Pherhaps you could do so in this way. I have guessed some values.
modi.jpg
 

Related Threads on Controlling LED with Transistor

Replies
2
Views
986
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
4
Views
1K
Replies
1
Views
5K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
7
Views
17K
  • Last Post
Replies
6
Views
10K
Replies
5
Views
1K
Top