I want to use LM293(comparator) to amplify signal. The input signal from 0 to 2.5V, and make the output signal double(from 0 to 5V).
Then I use the LM293, and I do the simulation first, it works fine. But when I test the circuit in reality, it doesn't works, which means when the input is 0 or something below about 1.6V, the output is always about 3.2V. When the input signal > 1.6V, the Vout= 2*Vin, which is I want.
Here is my circuit below, if you have any suggestion, please let me know. Thanks! I have draw the signal almost as I get. (I am sorry that C1 is connected between output of Lm293 and Gnd, I will update this Asap)