I have a voltage that is too small to be rectified that i want to read on the analog to digital converter. If i have a 1Vpp sine wave, can i program to only read the peak or rms value. I can add a dc offset so the midpoint is 2.5V, therefore the wave does not drop below 0 (or 1.5) so it should be in the 0-5VDC input range. I just need to know how to get the peak value from the wave. I cannot find any information on this online and would really appreciate some help

I also want to avoid using a voltage amplifier

Thanks