In a message dated 98-01-25 05:02:18 EST, you write:

<<
hello

I am working on a project that involves controlling electric motors
through relays with a PIC16F84. The motors and relays have the
appropriate back EMF suppression circuits, but I find that the PIC
occasionally resets when the motor and/or relay swithes on/off. I suspect
that this has something to do with the MCLR pin on the PIC.

Can anybody advise a way of making the pic resistant to this type of
resetting, or possibly disabling the mclr pin?

Any assistance that you could give would be most appreciated.

Mark

>>
Hello Mark
In addition to the other reponses you will be getting about capcitance etc, make sure the diodes you are using for the back emf are fast enough. Most common diodes are fairly slow..

Dave