I have more than one AC power source and I want to detect which one of them is ON which one is OFF using a Microcontroller. So my question here is what is the cheapest and smallest in size method to detect whether an AC power line is there or not?
From 100~240 VAC to 3.3V Steady DC