Sub topic 15
Troubleshooting Overheating, Resets, and Weak Torque
Assume you know basic Arduino programming, can read a wiring diagram, and understand voltage, current, and power. Troubleshooting is easier when you separate three paths: logic power for the Arduino, motor power for the driver, and the signal ground shared by both systems.
Start with the symptom
| Symptom | Likely causes | First check |
|---|---|---|
| Driver or motor becomes hot | Stall current, excessive load, voltage drop, poor cooling | Measure current and driver temperature |
| Arduino resets | Motor supply sag, ground bounce, electrical noise | Measure the logic voltage during startup |
| Motor has weak torque | Low motor voltage, current limit, weak battery, high driver loss | Measure voltage at the driver and motor |
A useful fault path
Overheating
A motor can draw much more current while starting or stalled than while spinning freely. This is called stall current. The driver must tolerate that current for the time your application requires. A driver rated for a motor's normal running current may still overheat during repeated starts.
Check these points:
- Compare the motor's stall current with the driver's continuous and peak ratings.
- Check the driver's voltage drop. Bipolar drivers such as older L293D or L298N devices waste more voltage as heat than modern MOSFET drivers.
- Reduce the mechanical load and test again. A jammed gearbox can keep the motor near stall.
- Check whether the driver board has adequate airflow and a correctly fitted heatsink.
- Do not assume a lower PWM setting always prevents heat. A heavily loaded motor may still draw high current during each pulse.
If the driver has a current-limit adjustment, set it using the manufacturer's procedure. A multimeter reading from the power supply may miss short current peaks.
Arduino resets
A reset usually means the logic supply briefly fell below a safe voltage or received electrical interference. Motors produce rapid current changes, and their wiring can inject noise into the logic circuit.
Use a separate motor supply when possible. Connect the motor supply ground, driver logic ground, and Arduino ground at a deliberate common point. Place a bulk capacitor, such as 100 to 470 microfarads, across the driver's motor supply and ground. Add a small ceramic capacitor, such as 0.1 microfarad, close to the driver logic pins.
Measure the Arduino voltage while the motor starts, reverses, or stalls. If it dips, use a stronger regulator, shorter power wires, a battery with lower internal resistance, or a separate supply. Keep motor wires away from sensitive signal wires.
> callout warning > Never power a motor directly from an Arduino I/O pin. The pin cannot provide the required current and may be permanently damaged.
Weak torque or failure to start
Measure voltage directly at the driver's motor supply terminals while the motor is loaded. A battery can show its nominal voltage with no load but sag badly during startup. Thin wires, poor connectors, and breadboards also create voltage drop.
Confirm that the driver is not limiting current too aggressively. Check that the PWM duty cycle is high enough to overcome static friction. Very low duty cycles may produce pulses that are too weak to start the motor. Also inspect the gearbox, wheel alignment, and shaft for binding.
A simple test is to disconnect the mechanical load. If the unloaded motor starts but the loaded motor does not, the electrical system may be undersized for the required torque.
A repeatable test order
- Remove the load and test at low speed.
- Verify motor voltage at the driver during startup.
- Check shared ground and decoupling capacitors.
- Measure or estimate stall current.
- Test the driver temperature during the real duty cycle.
- Reconnect the load and check for binding.
Exercise
The motor runs freely, but the Arduino resets whenever the motor starts. What should you test first?
Show answer
Measure the Arduino logic voltage during startup and inspect the shared ground, motor-supply decoupling, and supply wiring for voltage sag or noise.