Russell, > I have used a properly designed resistive input from mains to > processor pin > with no problems. Well, based on what you and Roman have input here the following would work for 240VAC (assuming shitty Australia and New Zealand power); * Two resistors in series - say 3~4M each * 5.1V Zener from Pin to GND - only small wattage, I assume is OK * up to say 100nF Metalised cap (rated at 400V) strapped across Zener OR * a pair of Schottky diodes on input pin Yes? Ho do you feel about sinking the gate current to a PIC pin through a single resistor - if maintained at around 5mA? Regards, Sean -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu