Motor driver is on but the motor doesn't turn

  • L298N
  • L293D

Why it happens

  • Enable (ENA/ENB) isn't HIGH or its jumper is off.
  • The motor supply isn't connected.
  • The grounds aren't joined.
  • Both inputs are the same, so the motor brakes.

How to fix it

  1. Put the ENA/ENB jumpers on, or wire ENA to a PWM pin.
  2. Connect the motor battery to the driver's 12V (Vs) and GND.
  3. Join the driver's GND to the Arduino's GND.
  4. Make IN1 HIGH and IN2 LOW.
  5. Remember the L298N loses about 2 V: a 6 V motor wants about 8 V.

It worked if: The motor turns, and turns the other way when you swap IN1 and IN2.

From how the part works. Explained from how the part works; not tried on a real circuit for this page.

Didn't help? Search another error or ask us.