You caused no offense.hi
my question would seem to be pretty much self-explanatory,cant think of what i could add.
if i have caused offence, i apologise.
Most comparators have an open collector output, so you'll need external circuitry for pull up as well as pull down.HI
i would like to have two leds indicating the on /off states of a comparator. eg red for on, green for off.
can it be done, without adding an additional output (transistor) stage?
thank you
dougal
I have done just that, back when I was using a 393 for a line-following robot. Something very similar to this, except the outputs were connected to PNP transistors, which drove the motors as well as the LEDs.'as its some time since i built this circuit, i forgot this was a dual comparator and the second half is spare, so that perhaps could be used for the second led'
so i guess i could just extend the inputs to the second half of the comparator reversing the inv/ non inv connections?
I had to draw this out because it didn't make sense. Anode and cathode above are swapped.Or, starting with the circuit in post #10, connect the cathode of LED2 to the cathode of LED1. Connect the anode of LED2 to GND through a small signal diode like a 1N914 or 1N4148. When the comparator output is low, LED1 will light. By itself it has a lower Vf than the LED2-plus-diode combination, so LED2 will be off. When the comparator output is off, LED2 will light. Net change to the original circuit plus the 2nd LED: 1 signal diode.
The original post asked:The op has a spare 393 in the package. Why not use it?
Then it was modified to consider using the spare comparator.can it be done, without adding an additional output (transistor) stage?
Solutions for both have been provided.'as its some time since i built this circuit, i forgot this was a dual comparator and the second half is spare, so that perhaps could be used for the second led'
so i guess i could just extend the inputs to the second half of the comparator reversing the inv/ non inv connections?
by Don Wilcher
by Jake Hertz
by Jake Hertz
by Duane Benson