SNOSDE7B December 2022 – September 2024 TLV1851 , TLV1852 , TLV1854 , TLV1861 , TLV1862 , TLV1864
PRODMIX
Configure the circuit as shown in Figure 7-7. Connect V+ to a 3.3V power supply and VEE to ground. Make R1, R2 and R3 each 10MΩ resistors. These three resistors are used to create the positive and negative thresholds for the window comparator (VTH+ and VTH–).
With each resistor being equal, VTH+ is 2.2V and VTH- is 1.1V. Large resistor values such as 10MΩ are used to minimize power consumption. The resistor values may be recalculated to provide the desired trip point values.
The sensor output voltage is applied to the inverting and noninverting inputs of the two comparators. Using two open-drain output comparators allows the two comparator outputs to be Wire-OR'ed together.
The respective comparator outputs will be low when the sensor is less than 1.1V or greater than 2.2V. The respective comparator outputs will be high when the sensor is in the range of 1.1V to 2.2V (within the "window"), as shown in Figure 7-8.