# L293D Motor Driver IC introduction, pinouts and how to use

There are multiple kinds of motion we face in our daily life some are linear some are rotatory motion. Both motions have their importance in machines and our life. In the 19th century, the scientist started discovering/inventing some ways of producing current and motions when British physicist John Ambrose Fleming invented the right-hand rule.

## Why do we need motors?

The right-hand rule was invented in the 19th century and it shows that we can produce current by combining the magnetic field and motion by following some specific rules. It also shows that we can produce the magnetic field and motion by combining one of each with the current.

After the invention of right-hand rule, a DC motor was invented by British scientist William Sturgeon. The DC motor was the first motor used by the scientist to convert the electric current to rotatory motion. DC Motor in the late 19th century has its own use but after the discovery of AC motor by Nikola Tesla and a wide amount of usage of AC current in industry and houses. The usage of AC motor became very much popular in the 20th century. But after the invention of the ICs DC motor again start gaining its popularity.

## Why we need a Motor Driver?

Every AC and DC motor have the ability to rotate in both directions. AC motor has its own rules and usage, but DC motor could rotate in another direction just by changing the polarity of the current. Now a day mostly DC Motors are used to produce rotatory motion due to its high efficiency. But in some cases, we need to rotate the motor in both directions. Like robots, cars, etc. There are multiple circuits by which motor could be rotated in both directions just by using some diodes and transistors. But those circuits are complex to make. To avoid the complexity and IC name l293d was invented by which not only direction, other multiple functions could be achieved just by the blink of an eye.

## L293D Motor Driver Introduction

L293d IC is known as a motor driver. It is a low voltage operating device like other ICs. The other ICs could have the same functions like L293d but they cannot provide the high voltage to the motor. L293d provides the continuous bidirectional Direct Current to the Motor. The Polarity of current can change at any time without affecting the whole IC or any other device in the circuit. L293d has an internal H-bridge installed for two motors.

H-Bridge is an electrical circuit that enables the load in a bidirectional way. L293d bridge is controlled by external low voltage signals. It may be small in size, but its power output capacity is higher than our expectation. It could control any DC motor speed and direction with a voltage range of 4.5 – 36 Volts. Its diodes also save the controlling device and IC from back EMF. To control the max 600mA amount of current an internal “Darlington transistor sink” installed in it, which could be used to control a large amount of current by providing a small amount of current. It has also internal “pseudo-Darlington source” which amplifies the input signal to control the high voltage DC motor without any interception.

### FEATURES

• L293d could be used to control the two motors at the same time.
• It has the ability to control the speed by using the enable pin.
• The direction is also easy to change.
• Voltage supply range is higher than other IC. Voltage range between 4.5-36 volts can easily handle by the IC to the motor.
• The motor has a maximum continuous range of current close to 600mA but the maximum peak current range is 1.2A
• It has an automatic shutdown system on thermal condition.
• Its working range is from 0 – 70 degree which is much higher for any small-sized IC.
• It has an internal back emp protection for IC and the controlling device.

## How to Use L293D?

L293d may have an internal complex circuit, but it is easy to use in real life. Just attach two motors with output pins. Remember at output 1 and output 2 same motor should be connected and it needs to be the same for output 3 and output 4. All ground should be common with both the power supplies provided to the IC. The enable pins are used to control the outputs but when we use the microcontrollers or microprocessor these enable pins can be used to control the speed of the motor.

### Motor Control Pins

The Input pins have a major role to control the direction of the motor. If Input 1 (Pin 2) is High and Enable (Pin 1) is high low but Input 2 (Pin 7) is low than motor will rotate clockwise at motor attached to the Pin 3 & 6. The rotation will be anti-clockwise when Input 2 (Pin 7) & Enable (Pin 1) is high but Input 1 (Pin 2) is low. To control the rotation of Pin 11 & 14 the Pin 9,10 & 11 will be used. If Input 1 & Input 2 has the same logic at the same time or enable 1 pin is low then there will be no rotation. This will be the same for Input 3, Input 4 and enable 2.

## L293D Example Circuits

As you read above L293d has multiple featured and usage where it can be used without any limitations. Here is an example of the circuit of street racing cars. We just need to use two L293d to control the car.

• Connect all the enable pins together and use the single button to control the motor power state.
• Then attach the input pins with any microcontroller or microprocessor and control their direction.
• The speed of the car could be control by proving the controllable PWM on enable pins.
• After attaching all pins to the microcontroller/microprocessor follow these states to control the direction of the car.

### Moving Robot Forward or Backward

If Input 1 and Input 3 of both L392d is high then the car will move in forwarding direction. To change the direction from forward to backwards just change all inputs of forwarding direction from high to low and low to high.

### Moving Robot Left or Right

• To move the turn to the right of left you just need to turn off all the wheel of that direction where they should be turned.
• If you want the car to take the left turn than just turn off the right tyros by giving them the same inputs to the right wheel. Do the same for the left wheel to move left.

These all above methods are usually used for the car. These functions could be developed on the bases of the requirement. In robot or any other car different methods will be used but to control multiple DC motors (range 4.5 -36 Volts) direction and speed L293D is the best option.

### Proteus Simulation

You may also like to have a look at practical examples with L293D:

## APPLICATIONS of L293D

• It could be used to control stepper and DC motor direction and Speed.
• Due to a separate power supply for the motor, it could be used in small children’s cars, street racing cars, or robots.
• It could be used for latching relay drivers.

## 1 thought on “L293D Motor Driver IC introduction, pinouts and how to use”

1. I like this site.