I have used 2 set of Arduino code, both suffer from not being true RMS, but are OK for non precision rough approximation work.Why do you need "True RMS"? You aren't computing power. You just need to be able to accurately determine the value of the voltage of the AC input signal.
When line is essentially sinusoidal. Both only look at + half of cycle, so anything going on in
other half cycle not measured.
True RMS implies measure complex waveform, like distorted sine, or other, the energy in each cycle.
Early methods took waveform, applied to a R to generate heat, and calculated from R thermal proper-
tiers the power, from which V could be extracted.
