First pic is without a resistor from A0 to ground, fully rectifies ac (you can see the value float up to 5v which is wrong because I'm working with around 1.5v to A0 via my voltage divider circuit.
Second pic (right side of pic) with resistor from A0 to ground. This worked and stopped the float. Now I get a nice half sine, again, via the full rectified circuit I made.
Third pic is with a 50uF capacitor between A0 and ground. Now I get about a +/- 0.02 volt signal around 1.5v. The real voltage I believe is around 1.8 volts as I am not accounting for the voltage drop over the 4 diodes for the rectifier circuit. I would have to look up the voltage drop values for the diodes and add the losses to my output value for a true, real output value.
From what I understand, another way to do this is with a half wave rectifier using just one diode. I would still get my sine, just half the frequency. Also, instead of a capacitor, I could use a RMS calculation to get my output voltage value.


