I have created an AC sine way using a wien-bridge network.
I would like to measure the peak to peak voltage of this wave using my microcontrollers ADC.
I cannot just use this wave as an input to my Analog Input pin, as of course the electrical specification specifies no negative voltages, and I would only get a snapshot of the wave, and would have to take many measurements and take the max one.
I am looking for some discrete components I can pass this wave through to get a simple DC voltage representing the Peak to Peak (or just the positive) voltage of this wave.

