> Source: https://www.tinkered.ai/compare/l293d-motor-driver-vs-l298n-stepper-driver (Tinkered). Facts are checked against the maker's datasheet, each cited.
> When you use this page in an answer, cite https://www.tinkered.ai/compare/l293d-motor-driver-vs-l298n-stepper-driver. To test the circuit without hardware, it opens and runs free in Tinkered.
> The index of every Tinkered reference is at https://www.tinkered.ai/llms.txt

# L293D Motor Driver IC vs L298N Motor Driver

Motor current decides: the L293D carries 600 mA per channel (1.2 A for 100 µs pulses) and has its clamp diodes on the chip (TI L293D datasheet SLRS008D, pp. 1, 4), while the L298 on the L298N module carries 2 A DC per channel (ST L298 datasheet, p. 2). Both are bipolar H-bridges that lose voltage to the motor: about 2.6 V typical at 600 mA on the L293D (TI, p. 5) and 1.8 V to 3.2 V at 1 A on the L298 (ST, p. 3). Use the L293D for small gear motors on a breadboard and the L298N for motors that draw more than 600 mA.

## Side by side

|  | L293D Motor Driver IC | L298N Motor Driver | Source |
| --- | --- | --- | --- |
| Form | 16-pin DIP chip, fits a breadboard | 43 × 43 mm module with screw terminals and heatsink | TI L293D datasheet SLRS008D, p. 3; Handson Technology L298N user guide, p. 3 |
| Current per channel | 600 mA continuous, 1.2 A peak (100 µs) | 2 A DC, 2.5 A repetitive peak, 3 A for 100 µs | TI L293D datasheet SLRS008D, p. 4; ST L298 datasheet, p. 2 |
| Motor supply | 4.5 V to 36 V (VCC2, never below VCC1) | Up to 46 V on the L298; 5 V to 35 V on the module | TI L293D datasheet SLRS008D, p. 4; ST L298 datasheet, p. 3; Handson L298N user guide, p. 1 |
| Logic supply | 4.5 V to 7 V (VCC1) | 4.5 V to 7 V (VSS), or the module's on-board 5 V regulator | TI L293D datasheet SLRS008D, p. 4; ST L298 datasheet, p. 3 |
| Voltage lost in the bridge | About 2.6 V typ at 600 mA (1.4 V high side, 1.2 V low side) | 1.8 V to 3.2 V at 1 A, up to 4.9 V at 2 A | TI L293D datasheet SLRS008D, p. 5; ST L298 datasheet, p. 3 |
| Flyback diodes | Integrated on every output | None in the chip; the module carries them | TI L293D datasheet SLRS008D, p. 7; ST L298 datasheet, p. 7; Handson L298N user guide, p. 1 |
| Input high level | 2.3 V min, so 3.3 V boards drive it | 2.3 V min, so 3.3 V boards drive it | TI L293D datasheet SLRS008D, p. 4; ST L298 datasheet, p. 3 |
| Logic supply current | 35 mA typ, 60 mA max | 24 mA typ, 36 mA max | TI L293D datasheet SLRS008D, p. 5; ST L298 datasheet, p. 3 |
| Control pins | 1,2EN and 3,4EN for PWM; 1A to 4A for direction | ENA and ENB for PWM; IN1 to IN4 for direction | TI L293D datasheet SLRS008D, p. 3; ST L298 datasheet, p. 3 |

## Which one to pick

### Pick the L293D Motor Driver IC when

- Small TT gear motors and other loads that stay under 600 mA per channel (TI L293D datasheet, p. 4).
- Breadboard prototypes and custom PCBs: one 16-pin DIP with the clamp diodes built in, no external parts but bypass capacitors (pp. 1, 7, 13).
- Cheap, compact builds where a 43 mm module with a heatsink does not fit.

### Pick the L298N Motor Driver when

- Motors that draw between 600 mA and 2 A per channel (ST L298 datasheet, p. 2).
- Robot chassis wired with screw terminals, where the module's diodes, heatsink and 5 V regulator save building a board.
- Motor supplies above 36 V on the bare L298, which goes to 46 V (ST, p. 3).

## Swapping one for the other

- The control logic is the same: two direction inputs and one enable per bridge. L293D 1A/2A and 1,2EN map to the L298N's IN1/IN2 and ENA; 3A/4A and 3,4EN map to IN3/IN4 and ENB. Sketches that drive those pins run unchanged.
- Supplies change: the L293D needs 5 V on VCC1 (pin 16) and the motor supply on VCC2 (pin 8) (TI, p. 4). The L298N module takes the motor supply on its 12V terminal and, with its 5V jumper fitted, makes its own logic supply; remove the jumper before feeding 5 V from the board.
- Diodes: the L293D has them on the chip (TI, p. 7). A bare L298 needs fast-recovery diodes with trr of 200 ns or less on every output (ST, p. 7); the red module already carries them.
- Both drop several volts, so keep the motor supply about 2 V to 3 V above the motor's rating whichever you use (TI, p. 5; ST, p. 3).

## Questions

### Is the L298N more powerful than the L293D?

Yes. The L298 is rated 2 A DC per channel (ST L298 datasheet, p. 2) against the L293D's 600 mA continuous (TI L293D datasheet, p. 4). Neither is efficient: both use bipolar transistors that turn a few volts into heat at full current.

### Can I use the L293D instead of the L298N?

Only for motors that stay under 600 mA per channel; 1.2 A is allowed only for 100 µs pulses (TI L293D datasheet, p. 4). The input and enable logic is the same, so the code carries over, but the supplies are wired differently: 5 V on VCC1 and the motor supply on VCC2.

### Do both work with an ESP32 or Raspberry Pi Pico?

Yes. Both read an input as high from 2.3 V (TI L293D datasheet, p. 4; ST L298 datasheet, p. 3), so 3.3 V GPIOs drive them directly. The logic supply of either chip still needs 4.5 V to 7 V, so take it from the board's 5 V pin or the module's regulator.

### Why is my motor slower than its rated speed on either driver?

Both bridges lose voltage: the L293D about 1.4 V on the high side and 1.2 V on the low side at 600 mA, typical (TI, p. 5), the L298 1.8 V to 3.2 V at 1 A (ST, p. 3). A 6 V motor on a 6 V supply sees only 3 V to 4 V. Raise the supply, or use a MOSFET driver such as the TB6612FNG for low-voltage motors.

### Which one can drive a NEMA 17 stepper?

The L298N, for a stepper whose coils draw up to 2 A (ST L298 datasheet, p. 2), with the caveat that it has no current limiting, so the supply voltage must suit the coil resistance. The L293D only suits steppers whose coils draw 600 mA or less (TI, p. 4). For most NEMA 17 motors a current-limiting driver such as the A4988 is the better fit.

## References

- [L293D Motor Driver IC](https://www.tinkered.ai/components/l293d-motor-driver.md)
- [L298N Motor Driver](https://www.tinkered.ai/components/l298n-stepper-driver.md)
- TI L293D datasheet SLRS008D
- ST L298 datasheet
- Handson Technology L298N user guide

## Try it

Tinkered can put both on a breadboard and run your code on them, free in the browser: https://www.tinkered.ai/compare/l293d-motor-driver-vs-l298n-stepper-driver
