You are still making an unwarranted assumption that you have a sine wave. Darrell is suggesting the RMS chip and I suggested looking at the output of the Allegro chip with an oscilloscope (to see the waveform) because we don't think you have a sine wave. 0.707 x the peak will work with a sine wave and averaging ALL of the readings will work with any waveform (if the readings can be taken fast enough to get a good sampling of the wave form).
There are at least three ways to do this with non-sinusoidal waveforms. See the web page I referenced earlier (via email)...
I vaguely recalled a somewhat similar thread - it took me a while to find it.
Bookmarks