L298N Dual H-Bridge DC Stepper Motor Driver Module
Product Overview
Control the speed and direction of DC motors and stepper motors with the popular L298N Dual H-Bridge Motor Driver Module. Compatible with Arduino, ESP32, Raspberry Pi, and STM32, it supports dual motor control with PWM speed regulation and bidirectional operation.
Description
The L298N Dual H-Bridge Motor Driver Module is one of the most widely used motor control modules for robotics, automation, and embedded system projects. Based on the L298N motor driver IC, this module can independently control the speed and direction of two DC motors or one bipolar stepper motor.
Featuring a dual H-Bridge design, the module allows bidirectional motor rotation and PWM speed control through simple digital signals from microcontrollers such as Arduino, ESP32, Raspberry Pi, STM32, PIC, and AVR boards.
The onboard voltage regulator simplifies power management and can provide regulated 5V output when operating with motor voltages below 12V. Large heatsinks improve thermal performance, making the module suitable for continuous operation in robotics and automation projects.
The L298N is widely used in robotic cars, line-following robots, obstacle avoidance systems, smart vehicles, conveyor systems, DIY automation projects, and educational STEM applications.
Its reliable design, easy interfacing, and low cost make it one of the most popular motor driver solutions for beginners and professionals alike.
Applications
- Arduino robotics projects
- ESP32 motor control systems
- Raspberry Pi robots
- Smart robotic vehicles
- Line follower robots
- Obstacle avoidance robots
- DC motor control
- Stepper motor control
- Automation systems
- Conveyor systems
- STEM education
- DIY robotics projects
- Mechatronics development
- Industrial prototypes
Key Features
- Dual H-Bridge motor driver
- Controls 2 DC motors independently
- Supports 1 bipolar stepper motor
- PWM speed control support
- Bidirectional motor operation
- Compatible with Arduino and ESP32
- Onboard 5V voltage regulator
- High current motor driving capability
- Large heatsink for heat dissipation
- Easy screw terminal connections
- Ideal for robotics and automation
Technical Specifications
| Specification | Details |
|---|---|
| Driver IC | L298N |
| Driver Type | Dual H-Bridge |
| Motor Channels | 2 DC Motors |
| Stepper Motor Support | Yes |
| Logic Voltage | 5V |
| Motor Supply Voltage | 5V – 35V DC |
| Output Current | Up to 2A per Channel |
| PWM Control | Supported |
| Direction Control | Forward / Reverse |
| Voltage Regulator | Onboard 5V Regulator |
| Heat Sink | Included |
| Interface | Digital Logic Control |
Package Includes
- 1 × L298N Motor Driver Module
- 1 × Aluminum Heatsink (Pre-installed)
Datasheet Summary
Power Terminals
| Terminal | Function |
|---|---|
| 12V | Motor Power Input |
| GND | Common Ground |
| 5V | Logic Supply / Regulated Output |
Motor Outputs
| Terminal | Function |
|---|---|
| OUT1 | Motor A Output |
| OUT2 | Motor A Output |
| OUT3 | Motor B Output |
| OUT4 | Motor B Output |
Control Pins
| Pin | Function |
|---|---|
| ENA | Motor A Speed Control (PWM) |
| IN1 | Motor A Direction Control |
| IN2 | Motor A Direction Control |
| IN3 | Motor B Direction Control |
| IN4 | Motor B Direction Control |
| ENB | Motor B Speed Control (PWM) |
Electrical Characteristics
| Parameter | Value |
|---|---|
| Operating Voltage | 5V – 35V DC |
| Logic Voltage | 5V |
| Output Current | Up to 2A per Channel |
| PWM Control | Supported |
| Motor Channels | 2 |
How It Works
The L298N module uses two H-Bridge circuits to control the direction and speed of motors.
Direction Control
For Motor A:
- IN1 = HIGH, IN2 = LOW → Forward
- IN1 = LOW, IN2 = HIGH → Reverse
For Motor B:
- IN3 = HIGH, IN4 = LOW → Forward
- IN3 = LOW, IN4 = HIGH → Reverse
Speed Control
The ENA and ENB pins can receive PWM signals from Arduino, ESP32, or other controllers.
- PWM = 0 → Motor Stop
- PWM = 255 → Full Speed
This allows precise motor speed adjustment and smooth motion control.