Hi all, Now theres a thought! I have not checked that particular gotcha and cannot wait to get home tonight to test it out. Thank a million!! I will let you know how I went. John -----Original Message----- From: Terry [mailto:t3design@PACIFIC.NET.SG] Sent: Saturday, 11 March 2000 2:26 To: PICLIST@MITVMA.MIT.EDU Subject: Re: Gotcha not Importance: High Are you using a PCB under the dome? Either enclose the PCB in a water tight enclosure with a small packet of desiccant prior to sealing it up or use a good conformal coating sprayed top and bottom of the board. Clear domes are great for distilling pure water by condensing water vapor. Make sure the LDR and it's circuit is coated with the conformal coating too. You can tape a small piece of masking tape on the lens of the LDR and peel it off before the coating fully dries. Cheers Terry At 01:18 PM 3/10/00 +1100, you wrote: >Hi all, >Many thanks for the varied and wonderful answers. I am driving the relay >transistor (2N222A) through a 1K resistor from the PIC and the relay has >reverse BEMF protection.