Can you not rather use a fet to do this.(less stress on the resistor?) Thys -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@mitvma.mit.edu]On Behalf Of Jinx Sent: 16 September 2003 12:29 To: PICLIST@mitvma.mit.edu Subject: Re: [PIC:] Why is my 12F629 resetting? > 240V~ > o-------/\/\/---+--| > Neutral 4.7M Bala, make sure that 4M7 is OK to drop 230V. It would be better to put 3 x 1M5 or 4 x 1M2 in series -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.