L298N Motor Driver Module
= Dual H-Bridge Controller for DC and Stepper Motors =
The L298N motor driver module enables independent speed and direction control for two DC motors or one stepper motor. It is built around the L298N IC, a highvoltage, highcurrent chip capable of handling up to 2A per channel .
Dual HBridge Design Drives two motors simultaneously with bidirectional control
Wide Voltage Support - Operates motors from 5V to 35V
Motor supply voltage is 5V to 35V; logic level is 5V
Use PWM signals on ENA/ENB pins for smooth speed control
Do not exceed 2A current per channel to prevent overheating
= Technical Specifications =
| Parameter | Value |
|---|
| Driver IC | L298N Dual H-Bridge |
| Motor Supply | 5V to 35V |
| Logic Supply | 5V |
| Output Current (per channel) | 2A continuous |
| Max Power | 25W |
| PWM Frequency | Up to 20kHz |
| Control Pins | IN1-IN4, ENA, ENB |
= Pin Configuration =
Power Inputs:
- VCC: Motor power 5-35V
- GND: Common ground
- 5V: Logic supply / output
Motor Outputs:
- OUT1 & OUT2: Motor A terminals
- OUT3 & OUT4: Motor B terminals
Control Inputs:
- IN1 & IN2: Direction control for Motor A
- IN3 & IN4: Direction control for Motor B
- ENA: Speed control (PWM) for Motor A
- ENB: Speed control (PWM) for Motor B
= Key Features =
High Current Handling - 2A per channel for most hobbyist motors
Onboard 5V Regulator - Can power Arduino when motor supply is ≤12V
Heatsink Included - Better thermal performance during heavy loads
Screw Terminals - Secure connections for motors and power supply
LED Power Indicator - Visual confirmation of power status
== Applications ==
- Arduino robotics and smart car projects
- Conveyor belts and automation systems
- Stepper motor control for CNC machines
- DIY RC cars and drones
- Industrial actuator control
Versatile Driver - Popular choice for motor control projects
Easy Interface Simple logiclevel inputs from Arduino
√ Includes onboard 5V regulator for logic power
√ Screw terminals for reliable wiring
√ Compatible with Arduino, ESP32, and Raspberry Pi
= 5V Jumper Guidelines =
The onboard 5V jumper controls the voltage regulator:
| Motor Supply | Jumper Setting | 5V Pin Function |
|---|
| ≤12V | Keep jumper ON | Output: supplies 5V to Arduino |
| >12V | Remove jumper | Input: requires external 5V supply |
Remove jumper when using motor supply above 12V to protect the regulator
Do not use 5V pin as output if motor supply exceeds 12V
= Troubleshooting =
Motor not spinning:
- Check common ground between module and Arduino
- Verify power supply connections
- Ensure jumper setting matches motor voltage
No speed control:
- Connect ENA/ENB to PWM-capable pins
- Use
analogWrite() for speed modulation
Overheating:
- Add external heatsink
- Reduce load current below 2A
- Ensure adequate ventilation