I'm testing out the comparator LM393 but when I try and the comparator conditions meet it only outputs low and won't switch high.
That or I don't understand how it works properly so if you can help me out it would be great.
I have 2 power supplies (each independent.)
One output a voltage of 12V, the second can output 10V or 13V.
Output 1 would resemble Vref (12v)
Output 2 would resemble Vin (10-13V)
In the picture below
- Vin is connected to the non-inverting input
- Vref is connected to the inverting input
- GND is connected for both supplies
- resistors are for current limiting
The first diagram I've connected the led so when the comparator output switches low.
When only Vin > Vref it would light up.
In the second diagram I've connected the led so when the comparator switches high the LED will turn on
BUT no matter what the output won't switch high and the LED won't turn on. What am I missing here?