Arduino restarts when Motor turns on

I have Circuit like picture below and the goal is to have 5V stable Voltage for Arduino or any other microcontroller without it restarting.

The main problem is that when I turn on the motor, the Arduino Nano restarts.

I am not sure what the cause of the problem is and how to solve it. It could be the high current draw of the motor, which results in a voltage drop across the battery, or it could be due to ripple and noise caused by the motor and motor controller, along with additional noise from other components.
When i turn on the Motor it draws 5-6 A . after couple milliseconds it drops to 1.2 A .

The MOSFET is there to allow current to pass when it receives a trigger signal from the Arduino so that I can measure the voltage drop and ripple with the motor at the moment when the motor turns on.

at the Moment i have 2 Batteries. one for Motor and one for Arduino and the rest of components which are connected to Arduino. but i want to power both with one battery. how dose the load makes a difference hier. i meant the load at the motor and alps the Load at Arduino.

how should i measure the Voltage drop, Ripple and noise effectively. what dose 20 MHz bandwidth refers to ?
how to fix the Arduino restart Problem? is a Capacitor enough to solve voltage drop and noise problem ? or i need a LC or LCL filter? how big should be ? should it be before or after the DC/DC Convertor?

Voltage Drop at output of DC/DC converter in (1 second)
Green Signal is the Trigger signal for Mosfet and Oscilloscope.
small Ripples 88 mV

Ripple in AC

Is your schematic simplified, or accurate? If simplified, please add any resistors/capacitors that are missing.

edit - please also indicate exactly what Arduino pins are connected. Vin/5V, GND most importantly.

it is accurate i have not resistors or Capacitors. i am using 5V pin. the 5 V comes directly from DC/DC Converter. the GND is connected to the OUT - of DC/DC convertor and the mosfet. pin D12 is the Trigger for Mosfet.

Add a kick back diode across the motor. Anode to the low side and cathode to the positive side.

1 Like

Hi, @horizon67
Welcome to the forum.

Can you please post some pictures of your project?
So we can see your component layout.

What are your batteries?

Show us the circuit diagram please?
Does this 2 battery system work properly?

Tom.... :smiley: :+1: :coffee: :australia:

How does the 12vdc to 9vdc magic happen without any load between them?

it actually should be 9V input i made a mistake.

Hi, @horizon67

Thanks.. Tom.... :smiley: :+1: :coffee: :australia:


hier is the Voltage drop. Yello : input of DC Convertor and Green is output of DC Convertor


What kind of Battery do you suggest?

Something bigger capacity than a smoke detector battery.

How much current does your motor draw?
Can you post a link to spec/data please.

Tom.... :smiley: :+1: :coffee: :australia:

the Large Battery in Picture take almost 5 A of Inrush current and then drops to 1.4 A.
the two small N20 Motors have 1.8 A inrush then drop to 380 mA.

What about your wiring, the pics of the scope shows nearly a 5V drop, if that is the output of the power supply at the DC-DC converter.
Look at the trace at the terminals of the power supply, if it drops the same then you have a power supply problem.

Tom.... :smiley: :+1: :coffee: :australia:

i will check . do you have any Suggestion for 9V or 7.4VLiFePO4 battery with BMS for this kind of Projects ?

Do you also need a charger?

yes