Skip to Content

L298N Dual H‑Bridge Motor Driver

L298N Dual H‑Bridge Motor Driver Module – Arduino Compatible

Drive two DC motors or one stepper motor with ease using the L298N H‑Bridge motor driver module, a robust solution for robotics, smart cars, and automation projects.

🔌 Key Technical Specifications

SpecificationValue
Motor Supply (VS)5 V – 35 V (up to 46 V max, absolute 50 V)
Logic Supply (VSS)5 V (up to 7 V max)
Output CurrentUp to 2 A/channel (peak ~3 A momentary)
Power Dissipation~25 W (at Tcase = 75 °C)
Voltage Drop (per MOSFET)~2 V (motor terminal sees ~10 V if VS = 12 V)
Quiescent Current~13 mA (VS), ~24 mA (VSS)
Logic Input ThresholdsLOW ≤ 1.5 V, HIGH ≥ 2.3 V
Operating Temperature–25 °C to +130 °C (junction), –40 °C to +150 °C storage
Protection FeaturesBuilt-in flyback diodes & thermal shutdown
Onboard 5 V RegulatorJumper-selectable (enable when VS ≤ 12 V)

🛠 Wiring Guide with Arduino

Pin Connections:

  • ENA, ENB → PWM-capable Arduino pins (e.g., D9 & D10)

  • IN1/IN2, IN3/IN4 → Digital pins for direction control (e.g., D5, D6, D7, D8)

  • +12V (VS) → Motor supply (5–35 V)

  • GND → Common ground with Arduino

  • +5V → Logic power (use only with jumper enabled when VS ≤ 12 V)

Example Wiring Code Snippet:

cpp
CopyEdit
#define ENA 9 #define IN1 5 #define IN2 6 #define ENB 10 #define IN3 7 #define IN4 8 void setup() { pinMode(ENA, OUTPUT); pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT); pinMode(ENB, OUTPUT); pinMode(IN3, OUTPUT); pinMode(IN4, OUTPUT); } void loop() { // Forward digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); digitalWrite(IN3, HIGH); digitalWrite(IN4, LOW); analogWrite(ENA, 200); analogWrite(ENB, 200); delay(2000); // Reverse digitalWrite(IN1, LOW); digitalWrite(IN2, HIGH); digitalWrite(IN3, LOW); digitalWrite(IN4, HIGH); delay(2000); }

For more advanced examples, including joystick robot control and PWM speed adjustments, see the HowToMechatronics guide smart-prototyping.com+11howtomechatronics.com+11instructables.com+11smart-prototyping.com+1hibit.dev+1forum.arduino.ccprojecthub.arduino.cc.

📱 applictions:

  • Use a Bluetooth (HC-05) or Wi‑Fi (ESP8266/ESP32) module connected to Arduino.

  • Build a mobile app (via MIT App Inventor or Blynk) to send commands over serial/UART.

  • Control motor speed and direction remotely — perfect for robot cars and IoT automation.

▶️ Video Tutorial

Learn the wiring and Arduino setup hands‑on with this YouTube tutorial: https://youtu.be/E2sTbpFsvXI


📄 Official Datasheet

Complete technical reference and pin details are available here:

L298(L298N) Datasheet

90.00 LE 90.00 LE

This combination does not exist.

DC Motor Driver