I have 2 values of dc signals (less than 1.8V and greater than 2.3V ) coming through a line. I wanted to make 5v when I receive "greater than 2.3V" and make 0V when I receive "less than 2.3V". I thought about using an LM324 as a comparator .(The schematic given in the data sheet is attached). But it doesn't work. Could somebody help me please?