A laboratory specialising in accurate measurement of high voltages had the problem that the stacks of Zener or avalanche diodes they were using as voltage references lacked both precision and ...
[Doug] pulls a signal from the 9V AC power before it hits the bridge rectifier, using a 100K resistor and a zener diode to protect the microcontroller pin. The code for that project comes as a hex ...