If Vcc is less than 23V transistor is ON LEd2 & buzzer operates and if VCC is greater than 23V it is OFF buzzer does not operate and LEd1 is ON. But somewhere between around 23.100V both LED 1 and Led2 are ON and there is some sound in buzzer. This effect is happening when there is transistion from VCC>23V to VCC<23V somewhere around 23.1V. How can I improve upon on this circuit so that there is immediate switching between Voltage levels .
This circuit is a part of complete schematic in which when Voltage at Pin2 is greater than Pin 3 output Pin 1 is low and when voltage at pin 2 is less than pin 3 output Pin1 is high .
This circuit is a part of complete schematic in which when Voltage at Pin2 is greater than Pin 3 output Pin 1 is low and when voltage at pin 2 is less than pin 3 output Pin1 is high .