sdobric
Newbie level 5
I have a simple circuit, but it's not working as expected.
View attachment 190407
LM358 is used as simple comparator for slow input signal, it should detect when Vin goes above 2V (trimmed by POT). It works, but not as expected, ie when Vin is above Vref, Vout is only 0.8 V instead close to 5V. Tried new LM358 IC, result is same. Unless there is some hidden error in pcb, I can't figure where is the problem.
View attachment 190407
LM358 is used as simple comparator for slow input signal, it should detect when Vin goes above 2V (trimmed by POT). It works, but not as expected, ie when Vin is above Vref, Vout is only 0.8 V instead close to 5V. Tried new LM358 IC, result is same. Unless there is some hidden error in pcb, I can't figure where is the problem.