Hi, I am controlling 6A coil contactor, using a 12V relay by the micro controller.
Circuit is working fine even there are noises, but when i connect the ground of CRO to the Circuit ground, when the contactor is energized, the controller resets.
Inductive components ( mottors, Contactores, Solenoids, and even relays ) adds big induced spikes at board, mainly if is at protoboard.
Check tracks distances ( if at PCB ), or wires ( if at PROTO ).
Also is important take special aptention to uC power supply, if it is filtering noises properly.