L293D Motor Driver Pinout, Datasheet & Arduino Connections

Last updated on November 7th, 2023 at 02:21 pm

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 consist 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 Module
L293D Motor Driver Module

Pinouts of L293D Motor Driver Module 

L293D Motor Driver Module Pinouts
L293D Motor Driver Module Pinouts

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.

Sale
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.

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

Pinouts of L293D Motor Driver IC

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 total 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.

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 diagram, and suggested circuits can be found in the datasheet.

Specifications of L293D Motor Driver IC:

  • Wide Supply-Voltage Range: 4.5 V to 36 V
  • Separate Input-Logic Supply
  • Internal ESD Protection
  • High-Noise-Immunity Inputs
  • Output Current 600 mA Per Channel
  • Peak Output Current 1.2 A Per Channel
  • Output Clamp Diodes for Inductive Transient Suppression
  • Operation Temperature 0°C to 70°C.
  • Automatic thermal shutdown is available

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)

In a similar manner, 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)

How to use L293D IC with Arduino UNO:

Temperature controlled DC motor using LM35: Circuit Connections
Circuit Diagram of L293D IC with Arduino

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


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 and Facebook.

Leave a Comment