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
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.
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.