Use of transistors to turn on an LED

Click For Summary

Discussion Overview

The discussion revolves around using transistors to control two LEDs based on the output from a comparator op-amp, which provides HIGH or LOW signals. Participants explore schematic designs and the need for buffering in the circuit, while also considering whether transistors are necessary for this application.

Discussion Character

  • Homework-related
  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using logic gates initially but later considers transistors as a better option.
  • Hints are provided to search for Emitter-Follower and Common-Emitter configurations to understand their roles in driving LEDs.
  • There is a clarification that one LED should be ON based on the comparator's output, with the other LED OFF, and vice versa.
  • Some participants question whether the comparator's output can be in between HIGH and LOW, with one stating that they are using a comparator with hysteresis, implying it will not be in between.
  • Concerns about whether buffering is required for the comparator to drive the LEDs directly are raised, with some participants suggesting it may be acceptable without buffering.
  • One participant mentions that the project is theoretical and that they can use any components available, which may affect the design considerations.
  • There is a discussion about the necessity of using a transistor, with one participant referencing a source that claims it may be overkill.
  • Questions about the current sourcing and sinking capabilities of the comparator output are posed, indicating a need for understanding the electrical characteristics involved.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of using transistors versus directly using the comparator output to drive the LEDs. Some believe transistors are not obligatory, while others suggest they may be beneficial. The discussion remains unresolved regarding the best approach to take.

Contextual Notes

Participants have varying levels of experience with electronics, which may influence their perspectives on the complexity of the circuit design. The discussion includes assumptions about the comparator's output behavior and the theoretical nature of the project, which may limit practical application considerations.

akaliuseheal
Messages
53
Reaction score
8

Homework Statement


Hello,
I have got input from comparator op amp which gives HIGH or LOW. Based upon that, one of two LEDs needs to light up. Two LEDs should't be ON at the same time.
Calculations are not needed, only the schematics.

Homework Equations


None

The Attempt at a Solution


I am not really familiar with the transistors, so I used logic gates.

Untitled.png

Input = 1
AND 1 | NOR 0

Input = 0
AND 0 | NOR 1The use of logic gates should be avoided here, thus the use of transistors comes to my mind.
 

Attachments

  • Untitled.png
    Untitled.png
    2 KB · Views: 714
Physics news on Phys.org
Hint -- Use Google Images and search for Emitter-Follower Transistor LED Drive and Common-Emitter Transistor LED Drive (two separate searches). Show us what you find, and tell us which one of those is an inverting configuration and which is a buffer configuration (for NPN transistors). :smile:
 
berkeman said:
Hint -- Use Google Images and search for Emitter-Follower Transistor LED Drive and Common-Emitter Transistor LED Drive (two separate searches). Show us what you find, and tell us which one of those is an inverting configuration and which is a buffer configuration (for NPN transistors). :smile:

Thanks for looking at the thread, I will be looking into that a bit later, Busy right now.

Original text may be a bit vague. So, to avoid confusion, one LED is always ON. If input is logic 1 , first LED is ON. If input is logic 0, second LED is ON.
 
akaliuseheal said:
I have got input from comparator op amp which gives HIGH or LOW. Based upon that, one of two LEDs needs to light up. Two LEDs should't be ON at the same time.
Calculations are not needed, only the schematics.
You have a comparator whose o/p can be taken to be logic HI or logic LO. Can it be somewhere in between HI and LO? You want this to drive a pair of LEDs, with one LED glowing to indicate the comparator o/p is HI and the other LED similarly indicating but on o/p LO. Is there a requirement for buffering, or is it okay to use a comparator that is able to drive the LEDs directly?
 
NascentOxygen said:
You have a comparator whose o/p can be taken to be logic HI or logic LO. Can it be somewhere in between HI and LO?
I am using comparator with hysteresis, I don't think it can be somewhere in between.
You want this to drive a pair of LEDs, with one LED glowing to indicate the comparator o/p is HI and the other LED similarly indicating but on o/p LO.
Yes
Is there a requirement for buffering, or is it okay for the comparator to drive the LEDs directly?
I think it would be okay.

I only had one electronics course so far and it was introductory. In this course we do some introductory circuit designing with a lot of variables ignored like system response or accuracy of measurements. This is the last part of the circuit.
 
Do you know the voltage levels of the comparator's output? What supply voltage/s do you have available?
 
NascentOxygen said:
Do you know the voltage levels of the comparator's output? What supply voltage/s do you have available?

Well, calculating the values of all the components used is the part two of the project, first I need to complete the schematics. I won't actually build this. Project is only done on the paper. Meaning, I can use any part that can be bought from some store or ordered online, every part in existence is available.
 
Have you been given enough hints to be able to finish this now? Just make sure to specify the gate driving the LEDs is of a type that has buffering.
 
NascentOxygen said:
Have you been given enough hints to be able to finish this now?
To be honest, by myself no. No reason for me to lie. Like I said, I know really basic stuff in electronics. But browsing the internet, I stumbled upon some thread stating that using a transistor is not needed and "overkill". Use of transistor here is not obligatory.

And this was provided
Capture.PNG
 

Attachments

  • Capture.PNG
    Capture.PNG
    26.3 KB · Views: 514
  • #10
Does that look like it will do what you want?
 
  • #11
NascentOxygen said:
Does that look like it will do what you want?
On the first glance it looked weird, but explanation is provided and there is a video in which it is seen working. I would have to show it to my professor so he could tell me if that solution is acceptable.
 
  • Like
Likes   Reactions: NascentOxygen
  • #12
How much current can your comparator output source and sink?
 
  • Like
Likes   Reactions: Tom.G and berkeman

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
15
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
34
Views
4K