‹ ExplorePart
L298N motor driver
L298N dual H-bridge motor driver module
Its pins and limits from the datasheet, and the exact wires Jig uses for it in 3 free builds.
Check your board: this is a generic part, and boards from different sellers can name or order the pins differently. Go by the labels printed on yours.
Pins
| Pin | What it is | Up to | Current |
|---|
| 12V · check yours | Power | 12 V | — |
| GND | Ground | — | — |
| 5V | Power | 7 V | — |
| ENA · check yours | Signal | 7 V | 0.1 mA |
| IN1 | Signal | 7 V | 0.1 mA |
| IN2 | Signal | 7 V | 0.1 mA |
| IN3 | Signal | 7 V | 0.1 mA |
| IN4 | Signal | 7 V | 0.1 mA |
| ENB · check yours | Signal | 7 V | 0.1 mA |
| OUT1 | Motor lead | — | — |
| OUT2 | Motor lead | — | — |
| OUT3 | Motor lead | — | — |
| OUT4 | Motor lead | — | — |
Voltages are the working limits Jig’s wiring checks use, read from the datasheet above. Where the datasheet gives no absolute maximum, it’s the working voltage, not a proven limit. “—” means the datasheet doesn’t say.
Wired in Jig builds
- GND → Battery holder − (black)
- GND → Uno GND
- 12V → Battery holder + (red)
- 12V → Uno VIN
- OUT1 → Left motor wire 1
- OUT2 → Left motor wire 2
- OUT3 → Right motor wire 1
- OUT4 → Right motor wire 2
- ENA → Uno pin 5 (pull the ENA jumper cap off first)
- IN1 → Uno pin 7
- IN2 → Uno pin 8
- IN3 → Uno pin 9
- IN4 → Uno pin 10
- ENB → Uno pin 6 (pull the ENB jumper cap off first)
- GND → Battery holder − (black)
- GND → Uno GND
- 12V → Battery holder + (red)
- 12V → Uno VIN
- OUT1 → Left motor wire 1
- OUT2 → Left motor wire 2
- OUT3 → Right motor wire 1
- OUT4 → Right motor wire 2
- ENA → Uno pin 5 (pull the ENA jumper cap off first)
- IN1 → Uno pin 7
- IN2 → Uno pin 8
- IN3 → Uno pin 9
- IN4 → Uno pin 10
- ENB → Uno pin 6 (pull the ENB jumper cap off first)
- GND → Battery holder − (black)
- GND → Uno GND (the Uno GND socket beside 5V; step 3 uses the one beside VIN)
- 12V → Battery holder + (red)
- 12V → Uno VIN
- OUT1 → Left motor wire 1
- OUT2 → Left motor wire 2
- OUT3 → Right motor wire 1
- OUT4 → Right motor wire 2
- ENA → Uno pin 5 (pull the ENA jumper cap off first)
- IN1 → Uno pin 7
- IN2 → Uno pin 8
- IN3 → Uno pin 9
- IN4 → Uno pin 10
- ENB → Uno pin 6 (pull the ENB jumper cap off first)
- 5V → Servo + (red) (5 V from the L298N's own regulator: only while the 5V-EN jumper is on and the battery is switched on)
Each build walks you through these wires step by step.