There seems to be a reluctance to even consider the suggestion I made. It may have been commented on an rejected for some good reason but I don't recall seeing it. Transformer and 2 resistors in basic form. Connect one leg to Vdd, other via divider to ground and tap to ADC in. Add cap if desired for noise handling. Track smoothed minimum and maximum to give loaded full voltage excursion. Sounds super easy, no body diodes at risk, no diode drops, minimum components, full cycle of waveform, ... . ? R -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist