This compact mains voltage sensor is intended to monitor and signal to another circuit, for instance a microcontroller, about the presence and/or absence of the ac mains voltage. For this task, a ...