L293D Motor Driver Pinout, Datasheet & Arduino Connections

Last updated on March 27th, 2024 at 11:13 am

L293D is a basic motor driver integrated chip (IC) that enables us to drive a DC motor in either direction and also control the speed of the motor. The L293D is a 16-pin IC, with 8 pins on each side, allowing us to control the motor.

It means that we can use a single L293D to run up to two DC motors. L293D consists of two H-bridge circuit. H-bridge is the simplest circuit for changing polarity across the load connected to it.

There are 2 OUTPUT pins, 2 INPUT pins, and 1 ENABLE pin for driving each motor. It is designed to drive inductive loads such as solenoids, relays, DC motors, and bipolar stepper motors, as well as other high-current/high-voltage loads.

L293D motor driver IC
L293D motor driver IC

L293D motor driver pinout

Pinouts of L293D IC
Pinouts of L293D IC
Pin No.NameFunction
1Enable 1-2When this pin is given HIGH or Logic 1, the left side of the IC works and when it is low, the left side doesn’t work.
2INPUT 1When this pin is given HIGH or logic 1, the output 1 becomes HIGH.
3OUTPUT 1This pin is connected to one of the terminals of the motor 1.
4,5GNDShould be connected to the circuit’s ground.
6OUTPUT 2This pin is connected to one of the terminals of the motor 1.
7INPUT 2When this pin is given HIGH or Logic 1, the output 2 becomes HIGH.
8VCC2This is the voltage required to run the motor. IT can be greater than the IC voltage(VCC1).
16VCC1It provides power to the l293D IC. So, this pin should be supplied with 5 V.
15INPUT 4When this pin is given HIGH or logic 1, the output 4 becomes HIGH.
14OUTPUT 4This pin is connected to one of the terminals of the motor 2.
13,12GNDShould be connected to the circuit’s ground.
11OUTPUT 3This pin is connected to one of the terminals of the motor 2.
10INPUT 3When this pin is given HIGH or logic 1, the output 3 becomes HIGH.
9Enable 3-4When this pin is given HIGH or Logic 1, the right side of the IC works and when it is low, the right side doesn’t work.
L298N pin description

Note: There are a total of 4 ground pins in L293D IC because it has to deal with heavy currents. So, we need a heat sink to reduce the heating and protect the IC from damage. When we solder these pins on PCB, we get a large metallic area between the grounds where the heat can be released.

Pinout of L293D motor driver module 

L293D motor driver module pinout
L293D motor driver module pinout

The image given above shows the pinouts of the L293D motor driver module. The function of each pin and port is also mentioned in the picture.

IN1, IN2, and IN3, IN4 are input pins used for providing a control signal from the controller to run the motor in different directions.

Specifications

Given below are the technical specifications of this motor driver IC.

SpecificationsDescription
ICDual H-Bridge Motor Driver
Motor ControlTwo DC Motors
Speed ControlYes
Direction ControlYes
Motor Voltage (Vcc2)4.5V to 36V
Maximum Peak Motor Current1.2A
Maximum Continuous Motor Current600mA
Supply Voltage (Vcc1)4.5V to 7V
Maximum junction temperature, TJ150-degree celsius
Separate InputLogic Supply
Thermal shutdown Automatic
Packages Available16-pin DIP, TSSOP, SOIC
Specifications of L293D

Working of L293D motor driver IC

There are 4 input pins for direction control in L293d. Pin 2,7 (1A and 2A) on the left side and pin 15,10 (3A and 4A) on the right of the IC.

The left-side input pins regulate the rotation of the motor connected across the left end and the right-side input pins regulate the motor on the right side. The motors are rotated based on the inputs provided across the input pins as HIGH or LOW signals.

Let’s take an example, a motor is connected on the left side output pins (pin 3,6). To control this motor, we have to provide an input logic to pin 2,7 (1A,2A).

Circuit example for working of L293D IC
Circuit example for working of L293D IC
  • Pin 2 = HIGH and Pin 7 = LOW | Clockwise Direction
  • Pin 2 = LOW and Pin 7 = HIGH | Counterclockwise Direction
  • Pin 2 = LOW and Pin 7 = LOW | Idle (No rotation)
  • Pin 2 = HIGH and Pin 7 = HIGH | Idle (No rotation)

Similarly, we can control the motor on the right side connected to the pin (11,14). For this, we need to provide HIGH and LOW input signals across pins (10,15).

  • Pin 10 = HIGH and Pin 15 = LOW | Clockwise Direction
  • Pin 10 = LOW and Pin 15 = HIGH | Counterclockwise Direction
  • Pin 10 = LOW and Pin 15 = LOW | Idle (No rotation)
  • Pin 10 = HIGH and Pin 15 = HIGH | Idle (No rotation)

L293D motor driver IC datasheet

Click this link to view the entire DATASHEET

You can find detailed information on L293D IC in the datasheet given above. Specifications and information like Absolute maximum ratings, Block diagrams, and suggested circuits can be found in the datasheet.

How to use L293D IC with Arduino UNO

Here’s a small project you can easily make using an L293D IC. The objective of this project is to control the state of the DC motor according to a predefined temperature limit.

Temperature controlled fan using Arduino
Temperature-controlled fan using Arduino

To know more about this project click here: Temperature-controlled motor using L293D IC with Arduino

Where to buy L293D motor driver?

HiLetgo L293D DC Motor Drive Shield Stepper Motor…
  • This is a commonly used DC motor drive module, using a small current 293 chip DC motor driver chip.
  • Using this chip you can use DC motors and power supplies of up to 10 Volts, that some pretty big motors and the chip can supply a maximum current of 600mA per channel.

FAQs

Can L293D control 2 motors?

Yes, the L293D can control up to two motors independently by utilizing its dual H-bridge configuration.

What is enable pin in L293D?

The enable pin in the L293D IC activates or deactivates motor output. A logic HIGH enables motor control, while a logic LOW disables it, offering convenient on/off functionality.

What does L293D stand for?

The “L” stands for “linear” because it’s designed to handle linear (analog) signals. The “293” signifies the model number, and the “D” indicates it’s a version of the chip.


Photo of author

Ankit Negi

I am an electrical engineer by profession who loves to tinker with electronic devices and gadgets and have been doing so for over six years now. During this period, I have made many projects and helped thousands of students through my blog and YouTube videos. I am active on Linkedin.

Leave a Comment