I'd like to use an HCPL3700(M) (datasheet) to sense if a 220 Vac mains is present. In my application, the device needs to raise an alarm if the mains voltage is lost. Backup power will be provided by a battery or super cap.
I've found this (which is, at least in part, based on this), but I am not smart enough to figure out if the values in the schematic below are appropriate for 220 V mains...
So, my questions are:
- Does C1 need to be 400 V rated?
- Are the values for R2 and R3 appropriate?
- What rating would R2 and R3 need to have? 2 W?
- I have seen some examples with a cap between MAINS_PRES and GND - is that necessary? If so, what values would be appropriate?