Okay, but that tells me nothing.connecting the LED will not give me the correct Out.
I want the LED lit when the output is HIGH(12V) and LED off when 0VOkay, but that tells me nothing.
When do you want the LED lit and when do you want if off?
Your circuit does that although the output won't be exactly 12 volts because of the voltage drop across R3I want the LED lit when the output is HIGH(12V) and LED off when 0V
You realize, I hope, that the output is high when the input is low.Your circuit does that although the output won't be exactly 12 volts because of the voltage drop across R3
I know that but why are you telling me it's not my circuit. The TS said: " I want the LED lit when the output is HIGH(12V) and LED off when 0V."You realize, I hope, that the output is high when the input is low.
Perhaps that is intended? TS requested LED to be lit when OUTPUT is high......output is high when the input is low.
It was directed at the TS, sorry about the confusion.I know that but why are you telling me it's not my circuit. The TS said: " I want the LED lit when the output is HIGH(12V) and LED off when 0V."
It would help if you let us know what signal your graph is showing the voltage for? Is it the collector of the transistor? Don't make people that you are asking for free help from have to guess. Help us help you.Hi,
I wanted to switch to 12V output using a NPN BJT. To indicate HIGH and LOW, I wanted to connect a LED, I simulated output in the LTSPICE, which shows connecting the LED will not give me the correct Out. Any ideas on how to tackle this ?
View attachment 298848View attachment 298849
Thanks
I want the LED ON when the output is HIGHWhen the input is high, do you want the LED to be on or off?
What is the source of the input signal (examples: NE555, PIC controller, manual button, etc?)
I think we can give you a corrected schematic with the additional information requested above.
I realized that I picked up a random LED model from LTSPICE but I was planning to use a typical LEDs with ~2V Vf and 10-20mA If.Apart from the valid comments above, the circuit switches as you might want, but will not work as you are not supplying enough current to the LED.
That LED has an operating current of about 1 Amp, but your circuit will supply 12V / (100 +1000 ohms) is about 10 mA or one hundredth of the required current.
I picked up a random LED model from LTSPICE. I was planning to use typical diodes with ~20mA IfHello,
If the led is really a LUW-W5AP, it will do not much in your circuit:
https://eu.mouser.com/ProductDetail/ams-OSRAM/LUW-W5AP-MYNY-5F8G-Z?qs=VcOkZLzzauZNHSBkrcsQhg==
Looking at the specs, it can have a maximum current of 1.4 Amp.
Bertus
I want the LED ON when input is LOW ie OUTPUT HIGH.When the input is high, do you want the LED to be on or off?
What is the source of the input signal (examples: NE555, PIC controller, manual button, etc?)
I think we can give you a corrected schematic with the additional information requested above.
My actual concern was to get a perfect 12.0 V output, while still using the led to visually reflect the output.But what is it that you are seeing that is giving you the impression that the original circuit isn't working (even given the poor choice of LED model)?