L298N Motor Driver Module
Atoms

L298N Motor Driver Module

Overview

L298N Dual H-Bridge Motor Driver Module designed for controlling DC motors, stepper motors, and robotic actuators using microcontrollers such as Arduino, ESP32, STM32, and Raspberry Pi. Based on the STMicroelectronics L298N dual full-bridge driver IC, the module supports bidirectional motor control with independent speed and direction management.

The module includes onboard voltage regulator, screw terminals, heat sink, and easy-to-use pin headers, making it one of the most popular motor driver solutions for robotics, automation, and embedded systems projects.

Specifications

ParameterValue
ModelL298N
Driver TypeDual H-Bridge
Motor Channels2
Motor Voltage5V – 35V
Logic Voltage5V
Max Current2A per channel
Peak Current3A
Control InterfaceTTL Logic
PWM SupportYes
Voltage RegulatorOnboard 5V regulator
Driver ICST L298N
Heat SinkIncluded
Dimensions~43mm × 43mm × 27mm

Pin Configuration

PinDescription
ENAEnable Motor A (PWM Speed)
IN1Motor A Direction 1
IN2Motor A Direction 2
IN3Motor B Direction 1
IN4Motor B Direction 2
ENBEnable Motor B (PWM Speed)
OUT1Motor A Output
OUT2Motor A Output
OUT3Motor B Output
OUT4Motor B Output
+12VMotor Power Input
GNDGround
5VLogic Power

Features

  • Dual H-Bridge control — control 2 DC motors independently
  • Bidirectional motor control
  • PWM speed control
  • Supports stepper motors
  • High motor voltage support — up to 35V
  • Integrated heat sink
  • Onboard 5V regulator
  • Easy screw terminal connections
  • Widely compatible with microcontrollers
  • Stable and reliable motor control
  • Ideal for robotics applications

L298N vs L293D

FeatureL298NL293D
Max Current2A600mA
Motor Voltage35V36V
Heat SinkYesNo
EfficiencyMediumLow
Module SizeLargerSmaller
Best ForMedium motorsSmall motors

Wiring with STM32 Blue Pill

L298NBlue Pill
ENAPA8
IN1PB0
IN2PB1
IN3PB10
IN4PB11
ENBPA9
GNDGND

Wiring with Arduino UNO

L298NArduino UNO
ENAD5
IN1D8
IN2D9
IN3D10
IN4D11
ENBD6
GNDGND

Common Applications

  • Robot cars
  • Line-following robots
  • RC vehicles
  • Smart automation systems
  • Conveyor control
  • Stepper motor projects
  • DIY robotics
  • Embedded motor control systems
  • STEM education projects

Basic Arduino Motor Example

#define ENA 5
#define IN1 8
#define IN2 9

void setup() {
    pinMode(ENA, OUTPUT);
    pinMode(IN1, OUTPUT);
    pinMode(IN2, OUTPUT);
}

void loop() {

    // Forward
    digitalWrite(IN1, HIGH);
    digitalWrite(IN2, LOW);
    analogWrite(ENA, 200);

    delay(2000);

    // Stop
    analogWrite(ENA, 0);

    delay(1000);

    // Reverse
    digitalWrite(IN1, LOW);
    digitalWrite(IN2, HIGH);
    analogWrite(ENA, 200);

    delay(2000);
}

Package Includes

  • 1× L298N Motor Driver Module
  • 1× Heat Sink

Notes

  • Large motors may require external power supply
  • Module can become hot under heavy load
  • Remove 5V regulator jumper above 12V input
  • Common ground required with microcontroller
  • Not suitable for high-efficiency battery systems
  • Modern MOSFET drivers are more efficient for advanced projects
$1.50$1.25Save $0.25

៛5,000

10 in stock
Quantity
1
Buy Now
🚚

Fast Shipping

Phnom Penh & provinces

↩️

7 Day Returns

Hassle-free returns