Comparator LED Indicator

Thread Starter

artmaster547

Joined Jan 6, 2016
409
Hi All
I am trying to create a circuit at the output of a comparator, when the output of the comparator is high (3v3) I want and LED to turn on, but then I want this LED to remain on after this even regardless of any changes to the output of the comparator. Can someone please suggest what I could use, provide LTSpice simulations, any guidance help would be appreciated. I am also trying to reduce the amount of components I need to use as much as possible for this circuit if an IC already exists that already does this any suggestions would be greatly appreciated.

Kind Regards

Art
 

jayanthd

Joined Jul 4, 2015
945
Hi All
I am trying to create a circuit at the output of a comparator, when the output of the comparator is high (3v3) I want and LED to turn on, but then I want this LED to remain on after this even regardless of any changes to the output of the comparator. Can someone please suggest what I could use, provide LTSpice simulations, any guidance help would be appreciated. I am also trying to reduce the amount of components I need to use as much as possible for this circuit if an IC already exists that already does this any suggestions would be greatly appreciated.

Kind Regards

Art

OpAmp with Flip-Flop.
 

Marley

Joined Apr 4, 2016
519
Comparator plus latch (to be precise). But how will this latch be reset to switch the LED off or does it stay on forever?
 

Alec_t

Joined Sep 17, 2013
15,117
What are you comparing? It may be possible to use one Schmitt trigger IC (e.g. CD4093) as both a comparator and a latch.
 

Thread Starter

artmaster547

Joined Jan 6, 2016
409
What are you comparing? It may be possible to use one Schmitt trigger IC (e.g. CD4093) as both a comparator and a latch.
So I am using this principle across various circuit it will be comparing voltage and current measurements that have a range of 0V-3V3, and I will be setting reference voltages myself, these comparators will be used as trips that go to a microcontroller but this particular uC only has three trip inputs so I'm ORING all these trips together, so that is why I was thinking of using LED's as a way to indicate which trip went off.
 

jayanthd

Joined Jul 4, 2015
945
So I am using this principle across various circuit it will be comparing voltage and current measurements that have a range of 0V-3V3, and I will be setting reference voltages myself, these comparators will be used as trips that go to a microcontroller but this particular uC only has three trip inputs so I'm ORING all these trips together, so that is why I was thinking of using LED's as a way to indicate which trip went off.
Why don't you use ADC of uC (1 channel) with ADG731 (analog multiplexer spi interface).?
 

DickCappels

Joined Aug 21, 2008
10,661
If the negative-most range of the input signal (Vin) does not go below V- on the compariator + 1 diode drop, you can just use a diode to get a large amount of hysteresis to keep your LED on.I may be reading Alec_t's mind.

upload_2017-8-29_18-56-20.png
 
Top