This seems simple from what I've read, but having problems. Trying to use a 741 op amp to compare two voltages. I need to be able to compare voltages between 1 and 3 volts. These voltages are from a .5-4.5 volt sensor and a reference voltage from a potentiometer. I want to turn a buzzer or led on if the sensor voltage drops below a variable set point.
I'm using a battery at 7.6 volts, I have also tried powering everything thru a 5 volt regulator. When I connect power to the 741 with nothing connected to the inputs, the output goes high at 6.6 volts. If I connect the inverting input to the positive 7.6 volts the output only drops to 1.2 volts; I expected lower but I guess not a big problem.
The problem is if my sensor voltage at the inverting input drops below 1.9 volts, the output goes high regardless of the reference voltage at the non-inverting input.
I have also tried a 1458 op amp with similar results.
These two op amps were just what I had, but what I've read seem to indicate they would work. Do I just need a different op amp or a comparator?
Any help with comparing voltages between 1 and 3 volts would be appreciated.
I'm using a battery at 7.6 volts, I have also tried powering everything thru a 5 volt regulator. When I connect power to the 741 with nothing connected to the inputs, the output goes high at 6.6 volts. If I connect the inverting input to the positive 7.6 volts the output only drops to 1.2 volts; I expected lower but I guess not a big problem.
The problem is if my sensor voltage at the inverting input drops below 1.9 volts, the output goes high regardless of the reference voltage at the non-inverting input.
I have also tried a 1458 op amp with similar results.
These two op amps were just what I had, but what I've read seem to indicate they would work. Do I just need a different op amp or a comparator?
Any help with comparing voltages between 1 and 3 volts would be appreciated.