Hi all,
This topic will make most eyes-roll, but hear me out please.
I want to be able to measure mains-AC voltage
safely. This means, not looking at the cheap options on Aliexpress.
I found this
great Hackaday article detailing an opto-isolated solution with a LM331. Full details can be
read here.
This has an input limit of 1V - 5V and reconstructs this as a frequency from 1 - 5kHz.
One of the comments mention:
This is quite an old-school approach – technology is starting move in a different direction. They are not very cheap (unless you are buying by the million) but you are starting to see isolated ADC chips appearing – ADC plus isolation built in – this is being driven by the energy metering market – this will give 14 to 16 bits ENOB with a couple of kV of isolation. Also now that there are digital isolators with built in isolated DC-DC converters you can stick a nice ADC and perhaps a micro to perform scaling and compensation on the isolated side. Cost is getting to be competitive with a discrete analogue approach.
All I'm looking for is a nice ADC with isolation, of course, I have no issues adding opto-isolation myself (here's
an example of a simple option) say onto the I2C lines.
Have you come across a more recent IC that can be used for this purpose or do you have a better suggestion, keeping that Simple(r) is always better, in mind!
Ultimately, 230V mains input will be fed to MCU (Arduino/ESP32 etc) and I want to make this 100% safe (including ground potential lightning strikes etc).
Thanks!
Cheers M.