L298N dual H-bridge motor driver
Lets your board control motors safely, including direction and speed.
Classic dual H-bridge board with heatsink: two DC motors or one bipolar stepper, 2 A per channel. Motor supply 5-35 V; with the 5V-EN jumper fitted (supply under 12 V) its regulator also outputs 5 V. Drops about 2 V, so motors see less than the battery.
Electrical
- Supply voltage
- 5 to 35 V
- Current
- 36 mA typical, 2000 mA max
- Talks over
- digital, pwm
Pins
| Pin | Can do | Max V | Max mA |
|---|---|---|---|
| 12V | power inMotor supply, 5-35 V (labelled +12V). | ||
| GND | groundShared ground for battery and board. | ||
| 5V | 5 V5 V out when the jumper is on and the supply is under 12 V. | ||
| ENA | PWMMotor A speed (remove jumper). | ||
| IN1 | digital | ||
| IN2 | digital | ||
| IN3 | digital | ||
| IN4 | digital | ||
| ENB | PWMMotor B speed (remove jumper). | ||
| OUT1 | not connectedMotor A. | ||
| OUT2 | not connectedMotor A. | ||
| OUT3 | not connectedMotor B. | ||
| OUT4 | not connectedMotor B. |
Size and material
- Size
- 43 × 27 × 43 mm
- Material
- pcb
- Sold by the
- piece
Works with
- Arduino Uno R3
- Arduino Nano
- Arduino Mega 2560 Rev3
- Arduino UNO R4 WiFi
- Arduino UNO R4 Minima
- Arduino Nano ESP32
- ESP32 DevKitC (ESP32-WROOM-32, 38-pin)
- ESP32-S3-DevKitC-1 (N8R8)
- Adafruit ESP32-S3 Feather (4 MB flash, 2 MB PSRAM)
- Seeed XIAO ESP32S3 Sense (camera + mic)
- Seeed XIAO ESP32C3
- Seeed XIAO ESP32C6
- Raspberry Pi Pico (RP2040)
- Raspberry Pi Pico W (RP2040, Wi-Fi)
- Raspberry Pi Pico 2 (RP2350)
- Raspberry Pi Pico 2 W (RP2350, Wi-Fi)
- Seeed XIAO RP2040
- Seeed XIAO nRF52840 (Bluetooth LE)
- Raspberry Pi 5 (4 GB)
- Raspberry Pi 4 Model B (4 GB)
- Raspberry Pi Zero 2 W
Projects using it
No public project uses it yet. Design one that does.