I have found an app note (I think someone linked to it on here for somebody else) for an AVR single phase power meter. The app note itself is very good and does a good job of explaining things. However, in the BOM they haven't listed the value of inductor L50, which is on the schematic (see attached) and don't mention it in the app note. How to I work out what the value should be? I assume it is just there to filter out any noise between the analogue and digital supplies?
I have modified the circuit a bit from the original. I have used a transformer to isolate and step down the voltage, rather than transformerless design Atmel use. I have also added a couple of extra ranges on the gain switches and done away with the counter and anti-tamper stuff, I don´t need that. So I am just reading the voltage/current on the live.
the attached image is Atmel´s original design from app note AVR465