On Fri, Mar 19, 2010 at 7:19 PM, Dario Greggio wrote: > Marechiare ha scritto: >> Why not some simple scheme with Zener diode and an optocoupler >> to send a signal to the PIC when the peak voltage is higher than some > certain level? > > Thank you Marechiare - we've been into this and I did not want to add > more parts. Liked a complete-software approach.. Let us speak about transformers, for the mentioned transformer seems not to fit well the "complete-software approach" :-) -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist