Try keeping the cap on the motor (or two caps to the motor frame) and add two "hash chokes" (Digi-Key #M5252-ND or simillar) in the motor leads near the motor. A hash choke is basically a low Q, high current, moderate inductance coil intended to stop EMI. Sherpa Doug > -----Original Message----- > From: Quentin [mailto:qsc@ICON.CO.ZA] > Sent: Wednesday, August 29, 2001 2:25 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: PIC reseting due to relays > > > Gary Neal wrote: > > > 7. Moved the caps to the terminals right on the motor - better > > success. Failed probably 1% of the time. > > > > I'm saying failure is when the PIC resets or jumps > to a random > > place in the code. > > So, I'm thinking if I put a bigger cap on the motor winding > > terminals, it will help even more. Question is, how big of > a cap should I > > use? I can't use an electrolytic b/c the motor reverses > direction. Anyone > > have a suggestion? Hopefully something fairly cheap. > We in the electric R/C world always put caps on the terminals (10n). > What we also do is to connect a cap from each terminal to the > metal body > of the motor as well. > > Quentin > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu