I am new to this. I want to make a circuit to measure the voltage from (0 ~12 V), which can have 2 op-amps as comparator to give the output positive, when the voltage goes from 8 V to 12 V and give output negative when the voltage goes from 0 V to 4 V. The reference voltage should be 6 V (+/-2 V). Please suggest me the basic circuit using 2 op-amps.
- Input voltage: 0 to 12 V
- Reference voltage is 6 V
- Higher limit : 8 V
- Lower limit : 4 V
Means, when I increase the input voltage from 6 V, it should not show any change until it crosses 8 V and when its more than 8 V, it should show HIGH VOLTAGE. Similarly, like when i down the input voltage from 6 V, it should not show any change in output until it cross the 4 V and when its lower than 4 V. it should show LOW VOLTAGE.
Thanks.
Table 1. Function table for OP to edit.
V_IN V_OUT
----------- ----------
0 - 4 V Negative
4 - 8 V 0 V
8 - 12 V Positive
Please Refer this Circuit and suggest me the corrections, if any. Thanks