Using this schematic can be made a network voltage indicator electronic circuit. If the input voltage is present across the network, the optocoupler transistor is open, T1 is blocked and controlled rectifier, Th1, is in a state of conduction. Since both terminals of the piezoelectric buzzer is at the same potential, buzzer is off. If voltage disappears, the transistor T1 enters the conduction and thus makes the terminal of buzzer to be put on the ground (maintains thyristor conduction state).
|Circuit Source: DIY Electronics Projects|
In this situation, there is a sufficiently large potential difference across the buzzer and D5's to determine that these two elements to indicate AC power loss, both audible and visual. By pressing the reset button current is interrupted by Th1, so thyristor enter in blocking state and the other terminal of the buzzer is connected to ground.