Universal Mains Input Detect

The circuit below provides a simple method to detect a mains votlage input with an input range of 90 – 240V AC:

(more…)