The L293D is a dual H-bridge motor driver with built-in flyback diodes for inductive load protection. It drives two DC motors up to 600mA each or one stepper motor. The D suffix means diodes are built in.
| Pin | Name | Function | Type |
|---|---|---|---|
| 1 | EN1-2 | Enable channels 1 and 2 | I/O |
| 2 | IN1 | Input 1, channel 1 | I/O |
| 3 | OUT1 | Output 1, motor A | I/O |
| 4 | GND | Ground | GND |
| 5 | GND | Ground | GND |
| 6 | OUT2 | Output 2, motor A | I/O |
| 7 | IN2 | Input 2, channel 1 | I/O |
| 8 | VS | Motor supply voltage | PWR |
| 9 | EN3-4 | Enable channels 3 and 4 | I/O |
| 10 | IN3 | Input 3, channel 2 | I/O |
| 11 | OUT3 | Output 3, motor B | I/O |
| 12 | GND | Ground | GND |
| 13 | GND | Ground | GND |
| 14 | OUT4 | Output 4, motor B | I/O |
| 15 | IN4 | Input 4, channel 2 | I/O |
| 16 | VSS | Logic supply +5V | PWR |