RMS of sine = 0.707 peak of sine. Use a peak detector with an opamp and diodes and divide the output by 0.7 using resistors. Peter -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics