L298N High-Current Motor Driver Module – Dual Channel H-Bridge for Robotics & DIY

SKU: FA2064-2
Motor Supply Voltage (Vs)

5V – 35V

Logic Supply Voltage (Vss)

5V

Continuous Output Current (Per Channel)

2A

Peak Output Current (Per Channel)

3A

Input Logic Level (High / Low)

5V / 0V

Onboard 5V Regulator Output

5V (Jumper Dependent)

Operating Temperature Range

-25°C to +130°C

Board Dimensions (Approx.)

60mm x 54mm

Weight (Approx.)

30g

Product Overview

The L298N High-Current Motor Driver Module is a robust and reliable dual-channel H-Bridge driver, designed to act as a powerful interface between your low-voltage microcontroller and high-power motors. Built around the industry-standard ST L298N integrated circuit, this board allows you to independently control the speed and direction of two DC motors, or drive one bipolar stepper motor with precision.

Ideal for robotics, mechatronics projects, and industrial automation, this module simplifies motor control. By accepting standard TTL logic signals (5V) from controllers like Arduino, Raspberry Pi, STM32, or ESP32, it handles the high current requirements of your motors safely. The module includes built-in protection diodes and an optional 5V regulator, making it a complete and user-friendly solution for driving loads up to 35V and 2A.


Key Features

  • Dual H-Bridge Design: Based on the ST L298N chip, featuring two independent H-bridges. Perfect for controlling two DC motors simultaneously (differential drive for robots) or one bipolar stepper motor.

  • High Voltage & Current Handling: Operates with motor supply voltages from 5V to 35V and delivers a continuous 2A current per channel, with peaks up to 3A. Suitable for a wide range of 5V, 12V, and 24V motors.

  • PWM Speed Control: Dedicated Enable pins (ENA & ENB) allow for precise speed regulation via Pulse Width Modulation (PWM) from your microcontroller, enabling smooth acceleration and deceleration curves.

  • Onboard 5V Regulator: Features a built-in 78M05 voltage regulator. When the jumper is active, it can provide 5V power for the logic side directly from the motor supply (provided the supply is between 7V and 35V).

  • Integrated Protection: Includes flyback (snubber) diodes for each output, protecting the IC from voltage spikes generated by motor inductance during operation.

  • Clear Status LEDs: Onboard LEDs indicate power presence and motor direction activity, making troubleshooting and operation monitoring simple.

  • Easy-Terminal Connections: Heavy-duty screw terminals provide secure, reliable connections for power supplies and motor wires, ensuring stability even in high-vibration environments.

  • Standard Logic Interface: Control inputs are TTL-compatible (5V), allowing for direct connection to most microcontrollers without additional level shifting.


Technical Specifications

Parameter Operating Value
Motor Supply Voltage (Vs) 5V – 35V
Logic Supply Voltage (Vss) 5V
Continuous Output Current (Per Channel) 2A
Peak Output Current (Per Channel) 3A
Input Logic Level (High / Low) 5V / 0V
Onboard 5V Regulator Output 5V (Jumper Dependent)
Operating Temperature Range -25°C to +130°C
Board Dimensions (Approx.) 60mm x 54mm
Weight (Approx.) 30g

Pinout & Interface Guide

Understanding the pinout is essential for successful integration.

Power Section

  • VCC (+12V/GND): Main screw terminal for motor power. Connect your battery or external power supply (5V-35V) here.

  • GND: Common ground. Must be connected to the ground of your microcontroller.

  • +5V: Dual-function pin controlled by the 5V-EN jumper.

    • Jumper ON (7V < VCC < 35V): Acts as a 5V OUTPUT. Powers the logic circuit. Can also power a low-current microcontroller.

    • Jumper OFF (VCC < 7V or to use external logic): Acts as a 5V INPUT. You must supply a regulated 5V to this pin.

Motor Outputs

  • OUT1, OUT2: Connection points for first DC motor (Motor A) or one coil of a stepper motor.

  • OUT3, OUT4: Connection points for second DC motor (Motor B) or the second coil of a stepper motor.

Control Pins

  • IN1, IN2: Logic inputs for controlling the direction of Motor A.

  • IN3, IN4: Logic inputs for controlling the direction of Motor B.

  • ENA: Enable A. Connect to a PWM-capable pin on your microcontroller to control the speed of Motor A. (Jumper ON = Full speed).

  • ENB: Enable B. Same function as ENA, for Motor B.


Usage Guide

Typical Wiring Diagram (Arduino + 12V Motors)

L298N Module Connection / Component
VCC (+12V) To +12V of motor battery pack.
GND To GND of battery AND to a GND pin on Arduino.
+5V (Leave unconnected or can power Arduino if current <500mA)
5V-EN Jumper Keep this jumper ON (since VCC is 12V).
ENA Jumper Remove this jumper (to enable PWM). Connect to Arduino pin ~5.
IN1 Connect to Arduino digital pin 7.
IN2 Connect to Arduino digital pin 6.
IN3 Connect to Arduino digital pin 4.
IN4 Connect to Arduino digital pin 3.
ENB Jumper Remove this jumper. Connect to Arduino pin ~9.
OUT1, OUT2 Connect to Motor A.
OUT3, OUT4 Connect to Motor B.

Control Logic Table (DC Motor)

ENA Pin (PWM) IN1 IN2 Motor A Behavior
LOW X X Coast / Stopped (Motor free-runs)
HIGH LOW LOW Brake (Motor stops abruptly)
HIGH HIGH LOW Forward (Speed = PWM duty cycle)
HIGH LOW HIGH Reverse (Speed = PWM duty cycle)
HIGH HIGH HIGH Brake (Motor stops abruptly)

(Same logic applies to Motor B using ENB, IN3, IN4)

Q: What motors can I use with this driver?

This module is designed for brushed DC motors and bipolar stepper motors. It is not suitable for brushless DC motors (BLDC) or servo motors.

Q: Can I use this with a 3.3V microcontroller (e.g., ESP32, Raspberry Pi Pico)?

Yes, but we recommend using a logic level shifter to boost the 3.3V signals to 5V for maximum reliability. While the L298N’s logic high threshold is technically 2.3V, using 3.3V signals can sometimes lead to erratic behavior under load or noise.

Q: Is this driver suitable for industrial applications?

Yes, for light industrial tasks or prototyping. However, for continuous high-load industrial use, consider that the L298N is a linear driver and can generate significant heat. Proper heat sinking and derating (reducing current at high temperatures) may be required.

Q: My motors run slowly or won't start. What's wrong?

This is typically a power issue. Check:

  1. Power Supply: Ensure your battery/power supply can deliver enough current for both motors starting simultaneously.

  2. Grounding: Confirm the L298N GND is connected to the microcontroller GND.

  3. Voltage Drop: The L298N has an internal voltage drop of ~2V. If your motor is rated for 6V, you may need to supply 8-9V to the VCC terminal to achieve rated speed.

Q: My microcontroller resets when the motors turn on.

This is caused by voltage sag from high inrush current. Add a large electrolytic capacitor (470µF to 1000µF, 50V) across the VCC and GND terminals of the L298N to stabilize the voltage.

Q: The module gets very hot. Is this normal?

It will get warm during normal operation. If it is extremely hot to the touch, you are likely drawing too much current. Check for mechanical binding in your robot, reduce the load, or add active cooling (a small fan).

Q: The LEDs light up, but the motors don't move.

This usually points to the Enable pins.

  • Check ENA/ENB: If you removed the jumpers, ensure your microcontroller is sending a HIGH (or PWM) signal to these pins. If the jumpers are still on, they are enabled by default.

Q: My motors only spin in one direction.

Verify your code is correctly changing the states of the IN pins. For reverse, you must have the opposite logic (e.g., IN1=LOW, IN2=HIGH) compared to forward (IN1=HIGH, IN2=LOW).

Q: What happens if I use a motor supply over 12V with the 5V jumper ON?

You will damage the onboard 5V regulator. If your motor supply is above 12V, you MUST remove the 5V-EN jumper and supply a separate, regulated 5V to the +5V pin.