Oh come on guys..... Use an Avo Steve (sorry couldn't resist) -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of M.L. Sent: 20 March 2010 23:38 To: Microcontroller discussion list - Public. Subject: Re: [PIC] measuring 220V mains On Sat, Mar 20, 2010 at 1:44 PM, Russell McMahon wrote: > 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, ... . > ? It's too simple, Russell. This is a common problem for designs presented on public forums :) -- Martin K. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist