At 02:52 PM 9/8/2011, Isaac Marino Bavaresco wrote: >You could try the circuit attached to this message, it worked well for me. That looks just like an early version of a zero-crossing detector I=20 used to use for AC lamp dimming (late '70s). Minus the input=20 coupling capacitor, though. dwayne --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .