The L298N is a dual full-bridge driver IC capable of driving two DC motors or one stepper motor. It handles up to 2A per channel at up to 46V, with TTL-compatible logic inputs. Widely used in Arduino and Raspberry Pi motor control projects.
| Pin | Name | Function | Type |
|---|---|---|---|
| 1 | SENSE A | Current sense for channel A | ADC |
| 2 | OUT1 | Motor A output 1 | I/O |
| 3 | OUT2 | Motor A output 2 | I/O |
| 4 | VS | Motor supply, 5V to 46V | PWR |
| 5 | IN1 | Logic input 1, channel A | I/O |
| 6 | ENA | Enable channel A, PWM speed control | I/O |
| 7 | IN2 | Logic input 2, channel A | I/O |
| 8 | GND | Ground | GND |
| 9 | VSS | Logic supply, +5V | PWR |
| 10 | IN3 | Logic input 1, channel B | I/O |
| 11 | ENB | Enable channel B, PWM speed control | I/O |
| 12 | IN4 | Logic input 2, channel B | I/O |
| 13 | OUT3 | Motor B output 1 | I/O |
| 14 | OUT4 | Motor B output 2 | I/O |
| 15 | SENSE B | Current sense for channel B | ADC |