gardenyu wrote: > I cannot use the SMPS rectified input as well. Since the rectified AC is > filtered by a small cap at the SMPS input, with about 150V from min to > max. Why can't you use this? It seems to me that the peak voltage has a reasonably defined relationship with the voltage you want to measure. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist