HI,
I am currently designing a circuit in which I need my microcontroller to detect if the AC mains power supply is ON or OFF. Initially I thought I could use a zero-crossing opto-coupler. But I will be using its interupt for dimming application of a lamp. So do I need to use another dedicated opto-coupler for detecting power supply ON-OFF status or can you please suggest an alternative solution. Please help.
Thanks in advance!!!
I am currently designing a circuit in which I need my microcontroller to detect if the AC mains power supply is ON or OFF. Initially I thought I could use a zero-crossing opto-coupler. But I will be using its interupt for dimming application of a lamp. So do I need to use another dedicated opto-coupler for detecting power supply ON-OFF status or can you please suggest an alternative solution. Please help.
Thanks in advance!!!