L293D Pinout
L293D Motor Driver (Dual H-Bridge) · Dual H-bridge motor driver; drives 2 DC motors or 1 stepper; includes freewheeling diodes.
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | 1,2EN · EN12 | Control | Enable 1/2 (active-high; can drive with PWM for speed control) |
| 2 | IN1 · 1A | Input | Input 1 |
| 3 | OUT1 · 1Y | Output | Output 1 (to motor) |
| 4 | GND | GND | Ground / heatsink |
| 5 | GND | GND | Ground / heatsink |
| 6 | OUT2 · 2Y | Output | Output 2 (to motor) |
| 7 | IN2 · 2A | Input | Input 2 |
| 8 | VCC2 · Vs | Power | Motor supply (4.5–36V) |
| 9 | 3,4EN · EN34 | Control | Enable 3/4 (active-high) |
| 10 | IN3 · 3A | Input | Input 3 |
| 11 | OUT3 · 3Y | Output | Output 3 (to motor) |
| 12 | GND | GND | Ground / heatsink |
| 13 | GND | GND | Ground / heatsink |
| 14 | OUT4 · 4Y | Output | Output 4 (to motor) |
| 15 | IN4 · 4A | Input | Input 4 |
| 16 | VCC1 · Vss | Power | Logic supply +5V |
How to read the L293D pinout
- 01
Find pin 1
One end of the chip has a half-circle notch or a dot; with the notch facing up, the top-left pin is pin 1.
- 02
Count counter-clockwise
Count counter-clockwise from pin 1: go down the left side first, then up the right side from the bottom.
- 03
Check the table below
Look up each pin's function by number in the table below; power/ground are color-coded, and alternate-function signals are in parentheses.
Frequently asked questions
What's the difference between the two supply pins?
VCC1 (pin 16) supplies 5V to the chip logic; VCC2 (pin 8) powers the motor (4.5–36V). They must share a common ground. Separating logic and motor supplies makes it easy to drive higher-voltage motors.
How do I control a DC motor in both directions?
Use the IN1/IN2 pair: IN1=1, IN2=0 runs forward, the reverse runs backward, equal values brake/stop; pull EN high to enable (PWM for speed control).
Why is heat / drive capability limited?
The L293D handles about 600mA per channel (1.2A peak), and being a BJT output it has a voltage drop and noticeable heating; for high current / efficiency use a MOSFET driver such as the L298N or DRV8833.
Pinout data comes from ST/TI L293D datasheet (standard DIP-16 numbering). Refer to the actual device datasheet as authoritative for the pinout.