You can also take many readings (~100 x the frequency or 6000Hz) and average them but I don't think a PIC can do this fast enough for accuracy. This is how digital wattmeters work.
If an oscilloscope is not available, it might be possible to get an idea of the waveform using a PC or laptop with a LineIn port for the soundcard. The sampling rate should be adequate unless there are sharp spikes. Since the Allegro output is 0-5V, you can use the same technique I use for IR & RF. See...
Bookmarks