How to use L298N motor driver module to drive a DC motor using Arduino (MX1508 1627HS)

About:

This module is tiny and efficient to drive dc motors up to 2.5A without external heat sink. It can drive up to two dc motors or a 4-wire steeper motor, can be operate to change the motor direction and speed using PWM. It also equipped with built-in thermal protection and automatic restore function. It can drive motors from 2v to 10v with zero standby current.







Circuit Diagram:

L298N MX1508 1627HS



Working:

The module is build to work on two inputs for each motor, if you power up the circuit and supply high pulse to IN1 and low pulse to IN2, then your motor will rotate in forward direction.

If you supply low pulse to IN1 and high pulse to IN2, then your motor will rotate in reverse direction.

If you supply high pulse to both IN1 and IN2, then it will act as brake and your motor will stop rotating.




Working Video:




Code:




Downloads:

Leave a Reply

Your email address will not be published. Required fields are marked *