I am looking for an isolated method of measuring mains voltage (230VAC). First thoughts are a Opto coupler running in its linear region ? My concerns are that the transfer ratio degrades over time. The circuit needs to provide a fairly linear response from 150VAC to 270VAC. The output required for the Micro is 0-2.5V. Any ideas for existing circuits much appreciated Thanks in advance Regards David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist