Gary Neal wrote: >Hello, > > I've got a 16f870 that I'm using to turn a relay (Tyco V23105 150 mW >Nominal Coil Power, 960 ohm, 12 volt Nominal Coil Voltage) on/off. This >relay is controlling a very small DC motor (~0.5amps). About 10% of the >time when this relay turns on/off, it resets the PIC. I've verified this >is what's happening. Seems to work fine when the motor isn't connected to >the relay. Only resets when the motor is connected. ....... Sounds like you need a suppressor across the relay "contacts", or better yet at the motor itself. Since a DC motor, try a reverse diode there or a snubber - 10-100 ohm resistor in series with a 0.1 uF cap across the motor winding. The cap should be better quality than simple low-V ceramic. 200V or so polypropylene. - dan michaels www.oricomtech.com ======================== -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body