Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

L293 and L293D h bridge motor driver Ic Pin out and Working

By EG Projects April 12, 2019

When ever you want to drive heavy loads with a small TTL signal you use a transistor, bjt or a mosfet. In case the circuit becomes complex and you need to drive load with two, three or four TTL signals you use a combination of transistors or mosfet to provide high power output to load. For example motors dc or stepper or servo require high power and 2, 3 control signals for rotation direction change and speed control. This transistor or mosfet combination is know as H-bridge circuit. Making a H-bridge circuit on bread board or pcb(printed circuit board) requires many wires to be connected and it seems like a mess also the circuit takes too much space. Luckily this issue can be over come by using l293d ic.
L293d ic is same like an h bridge circuit with two channels. It has two half h bridge circuits residing in it. You can use it to drive uni polar, bi polar stepper motors, dc motors or even servo motors. The individual two channels can be use stand alone to drive solenoids/relays. A single channel can be used to drive a dc motor in forward(clock wise) or back word(anti clock wise) direction. Hence we can drive two dc motors with l293d. It can also be used to output a pwm (pulse width modulation) signal.
The ic came in two different versions L293 and L293D. Both have same number of operational pins with same pin names. But differ in voltage and current supply and control specifications. L293 can output more current. But the disadvantage is it has greater number of pins than L293D.
L293 and L293d pin out

L293 and L293d pin out

L293D

Total number of pins = 16
Ic Operating voltage = 5 – 7 v
Input voltage = 4.5 – 36 v
Output voltage = 4.5 – 36 v
Continuous Output Current = 600 mA or 0.6 A

L293

Total number of pins = 28
​Ic Operating voltage = 5 – 7 v
Input voltage = 4.5 – 36 v
Output voltage = 4.5 – 36 v
​Continuous Output Current = 1 A 

L293 and L293D Pin out defination

1,2EN: To activate the channel 1 we supply +5v to this pin.
3,4EN: To activate the channel 2 we supply +5v to this pin.
Vcc1: Input voltage to derive the internal circuit (darligton array) = 4.5 to 5 v
Vcc2: Supply/Output to appear at output = 4.5 to 36 v 
1A: Channel-1 Input Pin
2A: Channel-1 Input Pin
1Y: Channel-1 Output Pin
2Y: Channel-1 Output Pin
3A: Channel-2 Input Pin
4A: Channel-2 Input Pin
3Y: Channel-2 Output Pin
4Y: Channel-2 Output Pin
1A and 2A are control pins of channel 1. 1Y and 2Y are output pins of channel 1. Similarly 3A and 4A are input pins for channel 2 and 3Y, 4Y are output pins for channel 2. 1,2En are enable pins of channel 1. 3,4 EN are enable pins of channel 2. Individual l293d motor driver channel equivalent circuit is given below.

L293d Channels

L293d equivalent circuit

L293d equivalent circuit

How l293d motor driver individual channel works?

When input 1 is closed and input 2 is opened transistor Q3 and Q2 are opened/operational, allowing current to flow from them. The motor connected across the output 1 and 2 now starts rotating. The motor direction of rotation is clock wise. One PNP and one NPN transistor is activated when one input is closed and other is opened.

Note: Enable 1 is also at high potential. Means it is supplied +5 volts. Vs is supplied 0 – 36 volts depending on the motor requirements.  

l293d clock wise direction current flow

l293d clock wise direction current flow

l293d anticlock wise direction of motor current flow

l293d anticlock wise direction of motor current flow

When input 1 is opened and input 2 is closed transistor Q4 and Q1 are operational. Current start flowing through this path and the motor starts moving in the anti clock wise direction. Enable is still at high potential and vs is supplied  battery required voltage.
If both the input 1 and input 2 are opened or closed to current path will be established and motor will not rotate. If any input is closed and enable is not at high potential than still the circuit will not work. Enable is a master pin and controls the whole circuit.  
A pwm(pulse width modulated) signal can be applied to input pins to control the speed of motor. Enable pin can also be utilized to control the motor rotation speed. By enabling and disabling the enable pin, individual channels can be enable/disable rapidly producing a pulse width modulated signal which alternatively lowers or increases the rotation speed of dc motor.

L293 and L293D Internal structure

L293d internal structure by stmicroelectronics

L293d internal structure by stmicroelectronics

L293d internal structure by Texas Instruments

L293d internal structure by Texas Instruments

Above the internal structure of l293d is shown. One is taken from datasheet by stmicroelectronics and other is from Texas instruments. In both the above circuits you can see the internal structure is same. Their are total four channels. The diodes are fly wheel/kick back diodes that eliminates any induced emf by motors,solenoids and relay etc connected at output. The circuit by Texas instruments show how to run dc motors with l293d and how the polarity works. 
L293d enable circuit equivalent

L293d enable circuit equivalent

L293d input output enable circuit equivalent

L293d input output enable circuit equivalent

Above the equivalent of input circuit and output circuit is shown. Input side is simple just a transistor with a protection diode. At output side we have a darlington circuit with high current gain and protection diodes. The rotation of motors connected at the output of l293d and the input output truth table is shown below. Single direction driven motor and dual direction control motors circuit and truth table is given below. Single direction driven motor uses only one channel. Where as direction control motor occupies two channels.
Picture

Check Out a some Projects Related to L293D h bridge motor controller and 89c51, arduino and stm32 microcontroller.

Dc motor speed and direction control with l293d and stm32 microcontroller

Dc motor speed control using l293d with 89c51 microcontroller

Driving a Dc Motor Bi-Directionaly with 89c51 Microcontroller and L293D HBridge Ic

Driving a Dc Motor Uni directionally with 89c51 Microcontroller and L293D HBridge Ic

Driving Dc motor with Arduino and L293D

Conclusion

L293d Pinout and Working

L293d Pinout and Working

An external unit is required to control the function of the l293d motor driver, like microcontroller, fpga etc. L293d is used in many circuits, it is popular in toy industry. You can find it in many toys such as rc cars, helicopters etc. Many diy kits are available in market to start working with l293d. You can find cheap l293d diy circuit modules on eBay and Alibaba. 


Filed Under: Microcontroller Projects, STM32

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Thermal modelling of repetitive power pulse
  • Redundant XORs
  • No Output Voltage from Voltage Doubler Circuit in Ansys Nexxim (Harmonic Balance Simulation)
  • Discrete IrDA receiver circuit
  • ISL8117 buck converter blowing up

RSS Electro-Tech-Online.com Discussions

  • Can I make two inputs from one??
  • using a RTC in SF basic
  • Help with finding unique wire lug(s)
  • Simple LED Analog Clock Idea
  • Kawai KDP 80 Electronic Piano Dead

Featured – LoRa/LoRaWan Series

  • What is the LoRaWAN network and how does it work?
  • Understanding LoRa architecture: nodes, gateways, and servers
  • Revolutionizing RF: LoRa applications and advantages
  • How to build a LoRa gateway using Raspberry Pi
  • How LoRa enables long-range communication
  • How communication works between two LoRa end-node devices

Recent Articles

  • What is the LoRaWAN network and how does it work?
  • Understanding LoRa architecture: nodes, gateways, and servers
  • Revolutionizing RF: LoRa applications and advantages
  • How to build a LoRa gateway using Raspberry Pi
  • How LoRa enables long-range communication

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe