Hi. This circuit that I did is suppose to be a single supply, non-inverting comparator with some hysteresis. As far as I understand comparators, it is suppose to compare the Vin with the Vref and if the Vin is higher the Vout should output the voltage size of the power, otherwise the output should stay near the ground.
It is not behaving like this. The output is just steadily increasing as Vin increases, kind of like a unity gain buffer.
Any ideas? Do you see any problems?
Thanks!

It is not behaving like this. The output is just steadily increasing as Vin increases, kind of like a unity gain buffer.
Any ideas? Do you see any problems?
Thanks!

