L298N Dual H-Bridge Motor Driver Module
Drive Two DC Motors or One Stepper from Logic-Level Signals
A microcontroller GPIO pin can only source a few tens of milliamps - nowhere near enough to spin a DC motor - and it has no built-in way to reverse a motor's direction either. An H-bridge circuit solves both problems at once: four switching transistors are arranged so that opposite diagonal pairs can be turned on together, letting current flow through the motor in either direction depending on which pair is active, while a separate PWM-driven enable pin controls how much of the time that current flows, which is what sets speed. The L298N chip at the heart of this module packs two complete H-bridges into a single IC, so one board can independently control direction and speed for two separate DC motors, or be rewired to drive a single 4-wire bipolar stepper motor instead. The breakout board built around it adds terminal blocks for easy wiring, protective flyback diodes to absorb the voltage spikes motors generate when switched off, and an onboard 5V regulator that - within its voltage limits - can power your logic-side electronics from the same supply as the motors, avoiding a second power source.
Key features
Dual H-Bridge
Independently drives two DC motors, each with its own direction and speed control.
Stepper Motor Capable
Can be rewired to drive a single 4-wire bipolar stepper motor instead.
PWM Speed Control
Dedicated ENA/ENB enable pins accept a PWM signal for variable motor speed.
Onboard 5V Regulator
Can power logic-side electronics from the same supply as the motors.
Built-In Flyback Diodes
Protects the driver IC from voltage spikes caused by motor back-EMF.
Screw Terminal Connections
Solid, solder-free wiring for both motor leads and power input.


