Hello,
I connected the Arduino with 4 relays, the relays are further connected to 4 motors, and i am giving 12 Volts external supply to motors, now the problem is, when I turn off the power supply of the motor, then the Arduino is working fine with relays, but when I turn on the power supply of the motor, i.e, when I try to run motors, then the Arduino get reset randomly during execution, can you please tell me any solution to solve this?
I connected the Arduino with 4 relays, the relays are further connected to 4 motors, and i am giving 12 Volts external supply to motors, now the problem is, when I turn off the power supply of the motor, then the Arduino is working fine with relays, but when I turn on the power supply of the motor, i.e, when I try to run motors, then the Arduino get reset randomly during execution, can you please tell me any solution to solve this?

