Jaume Aragay Badia wrote: > > > Mosfets are perfectly good relay drivers in general. I can't tell wether > > you want them to be immune from noise, or you think that they create > > noise?? There is an impulse when you turn off the relay coil, but you can > > handle that in hardware, either with a snubber, or by turning the FET off > > slowly. It's the attempt to instantaneously stop the current through an > > inductor that gets you into trouble there. > > Dave, I ask about using the FET INSTEAD of the relay, not to drive it. Other PIClisters as well as myself have suggested a loads of solutions to problems we don't know exist. 1) Have you looked at the 5V rail on a scope? Is it smooth, or noisy? 2) Have you looked at MCLR on a scope? Is it solid 5V, or is it also noisy? 3) Have you looked at OSCO on a scope? Is it running smoothly? Are you using the correct XTAL fuse setting? Answer these questions, and we can solve your problem pronto. -- Friendly Regards /"\ \ / Tjaart van der Walt X ASCII RIBBON CAMPAIGN mailto:tjaart@wasp.co.za / \ AGAINST HTML MAIL |--------------------------------------------------| | WASP International | |R&D Engineer : GSM peripheral services development| |--------------------------------------------------| | Mobile : tjaart@sms.wasp.co.za (160 text chars) | | http://www.wasp.co.za/~tjaart/index.html | |Voice: +27-(0)11-622-8686 Fax: +27-(0)11-622-8973| | WGS-84 : 26¡10.52'S 28¡06.19'E | |--------------------------------------------------|