L293D Dual H-Bridge Motor Driver IC (DIP-16) 1

L293D Dual H-Bridge Motor Driver IC (DIP-16)

Electronic Components

13

The L293D is the most popular motor driver IC for beginners and hobbyists. Packaged in a breadboard-friendly 16-pin DIP format, it acts as a crucial bridge between your microcontroller's low-power logic signals and the high-power demands of DC motors. It contains two built-in H-bridges, allowing you to simultaneously control the speed and direction of two DC motors, or precisely drive one bipolar stepper motor. With internal flyback diodes to protect your expensive development boards from voltage spikes, it is the safest and easiest way to give your Arduino or ESP32 projects physical motion.

1

Microcontrollers like the Arduino Uno or ESP32 are brains, not muscle. They can only output a tiny amount of current (usually around 20-40mA)—barely enough to light up an LED. If you connect a standard DC motor directly to a microcontroller pin, the motor will instantly draw too much current and permanently fry your board.

That is exactly why you need the L293D Motor Driver IC.

This chip acts as an amplifier and a switch. You provide the motor's heavy power supply (up to 36V) directly to the IC, and then use the low-power 5V or 3.3V digital pins from your microcontroller to tell the chip when to send that heavy power to the motors.

Because it features a Dual H-Bridge design, it doesn't just turn motors on and off; it can reverse their polarity. This means you can drive two DC motors forward, backward, or stop them completely independent of each other. It is the absolute foundation for building 2-wheel drive rovers, robotic arms, and automated blinds.

Important Safety Feature: The "D" in L293D stands for "Diodes." Unlike the older L293 or L298 ICs, this specific chip has built-in clamping diodes. When a motor stops spinning, it generates a nasty reverse voltage spike (Back EMF). The L293D safely absorbs this spike, preventing it from travelling back into your microcontroller and destroying it.

Key Features

  • Motor Control: Can independently drive two DC motors or one bipolar Stepper motor.
  • Operating Voltage (Motors): Accepts a wide motor power supply from 4.5V up to 36V DC.
  • Logic Voltage: Compatible with standard 5V logic (Arduino) and safely triggers from 3.3V logic (ESP32/Raspberry Pi).
  • Output Current: Delivers 600mA of continuous current per channel, with peak spikes up to 1.2A.
  • Package: Standard 16-pin DIP (Dual In-line Package) - Snaps perfectly into standard breadboards and zero-PCBs.
  • Protection: Features internal thermal shutdown (it turns off if it gets too hot) and internal ESD protection.

Pinout Guide

  1. Enable 1,2: Turns on the left side of the chip (Motors 1). Connect to a PWM pin for speed control!
  2. Input 1: Logic from microcontroller (Controls Motor 1 direction).
  3. Output 1: Connect to Motor 1 (+) terminal.
  4. GND: Connect to common ground (Also acts as a heat sink).
  5. GND: Connect to common ground.
  6. Output 2: Connect to Motor 1 (-) terminal.
  7. Input 2: Logic from microcontroller (Controls Motor 1 direction).
  8. VCC2 (Vs): Motor Power Supply (e.g., your 9V or 12V battery).
  9. Enable 3,4: Turns on the right side of the chip (Motor 2).
  10. Input 3: Logic from microcontroller (Controls Motor 2 direction).
  11. Output 3: Connect to Motor 2 (+) terminal.
  12. GND: Connect to common ground.
  13. GND: Connect to common ground.
  14. Output 4: Connect to Motor 2 (-) terminal.
  15. Input 4: Logic from microcontroller (Controls Motor 2 direction).
  16. VCC1 (Vss): Logic Power Supply (Connect to the 5V pin on your microcontroller).