https://harizanov.com/2014/02/detecting-ac/schematic-3/
schematic