L298N motor driver pinout

L298N motor driver (red module with heatsink), ST L298N, 5 V logic, 43×43 mm, 13 pins

partly verified15.10.2026

Top view, heatsink on top, motor terminals on the sides, power and control at the bottom, rotated 90° on the diagram.

Download PNG
Chip
ST L298N
Logic
5 V
Power
+12V (motor supply) 5-35 V+5V 4.5-7 V

Important

  • The L298 is a bipolar bridge: it loses about 2 V and gets hot. For 3-6 V motors and currents above 1 A, a TB6612FNG or DRV8833 is better.
  • 5V-EN jumper: fitted, the on-board 78M05 powers the logic and gives 5 V on the +5V terminal; above 12 V supply remove it and feed 5 V to +5V separately.
  • The ENA and ENB jumpers are fitted: motors are always enabled at full speed. For speed control, remove them and apply PWM to ENA/ENB.
  • The module ground and the microcontroller ground must be common.
  • IN1-IN4 control: 10 = forward, 01 = reverse, 00 or 11 = stop (11 with ENA=1 is braking).
  • Geometry from third-party KiCad footprints and seller descriptions (±0.5 mm), small components are drawn approximately. Check with calipers before laying out your own board.
  • Do not feed external 5 V to +5V while the 5V-EN jumper is fitted.
  • The 78M05 needs at least 7 V at its input: with 5-6 V on +12V the +5V output does not hold.

Revisions and clones

  • Similar 54×44 mm modules exist with a 2×4 header (IN1-IN4, ENA, 5V, 5V, ENB): different layout, check the labels.
  • The power terminal order is sometimes described as "+5V, GND, +12V": it is the same terminal block read from the other side. Check the silkscreen.

All pins

LabelNumberFunctionsLimitsCheck
OUT1Bridge A output (motor A)not from manufacturer
OUT2Bridge A output (motor A)not from manufacturer
OUT3Bridge B output (motor B)not from manufacturer
OUT4Bridge B output (motor B)not from manufacturer
+12V12 Vpower inputnot from manufacturer
GNDGroundnot from manufacturer
+5V5 Vpower inputpower outputnot from manufacturer
ENAENA: bridge A enable, PWM = speedonboard pull-upnot from manufacturer
IN1not from manufacturer
IN2not from manufacturer
IN3not from manufacturer
IN4not from manufacturer
ENBENB: bridge B enable, PWM = speedonboard pull-upnot from manufacturer

Sources

Not verified against the manufacturer: 13 of 13 pins. The pin card says what confirms each one and where sources disagree.

Size: 43×43 mm for Keyestudio and Probots and in the SVTmaker footprint; 43.4×43.8 in another footprint; Handsontec lists 34×43 (approximate).

FAQ

What supply voltage does the L298N motor driver need?
+12V (motor supply): 5-35 V; +5V: 4.5-7 V. 5 V logic.

You might also need

Similar boards