Using the L239D motor driver IC

Using the L239D motor driver IC


From microcontroller we can not connect a motor directly because microcontroller can not give sufficient current to drive the DC motors. Motor driver is a current enhancing device, it can also be act as Switching Device. Thus we insert motor driver in between motor and microcontroller. Motor driver take the input signals from microcontroller and generate corresponding output for motor.



Motor Driver IC L293D
This is a motor driver IC that can drive two motor simultaneously. L293D IC is a dual H-bridge motor driver IC. One H-bridge is capable to drive a dc motor in bidirectional. L293D IC is a current enhancing IC as the output from the sensor is not able to drive motors itself so L293D is used for this purpose. L293D is a 16 pin IC having two enables pins which should always be remain high to enable both the H-bridges. L293B is another IC of L293 series having




1. L293D can run a motor up to 600 mA whereas L293B can run up to 1 A.


2. L293D has protection diode whereas L293B doesn’t have any such protection diode. Need to
add the protection diode manually.








  Connecting L239D to motors

 

Diagram 2




 Points regarding L293D


Supply voltage (Vss) is the Voltage at which we wish to drive the motor.
Generally we prefer 6V for dc motor and 6 to 12V for gear motor, depending upon the rating of the motor.
Logical Supply Voltage will decide what value of input voltage should be
considered as high or low .So if we set Logical Supply Voltage equals to +5V, then -0.3V to 1.5V will be considered as Input Low Voltage and 2.3 V to 5V will be considered as Input High Voltage.
L293D has 2 Channels .One channel is used for one motor.
 Channel 1  -  Pin 1to 8
 Channel 2  -  Pin 9 to 16
Enable Pin is use to enable or to make a channel active .Enable pin is also called as Chip Inhibit Pin.
All  Input  (Pin  No.  2,  7,10and  15)  of  L293D  IC  is  the  output  from microcontroller (ATmega8).
E.g.-We connected (Pin No. 2, 7, 10 and 15) of L293D IC to (Pin No. 14,
15,16and 17) of ATmega8 respectively in our robots, because on pin 15 and 16 of ATmega8 we can generate PWM.
All Output (Pin No. 3, 6,11and 14) of L293D IC goes to the input of Right and
Leftmotor.


if Enable pin low, the output will be at 0 always. If its high output depend on input 

Output Connections

 OUTPUT 1  (Pin No  3)  ---   Negative Terminal of Right Motor
 OUTPUT 2 (Pin No   6)  ---  Positive Terminal of Right Motor
 OUTPUT 3 (Pin No 10)   --- Positive Terminal of Left Motor
 OUTPUT 4 (Pin No 14)   --- Negative Terminal of Left Motor



Input
1
Input
2
Input
3
Input
4
Output
1
Output
2
Output
3
Output
4
Motors Output
Movement
Right
Left
Low
High
High
Low
0
Vss
Vss
0
Straight
Straight
Straight
Low
High
Low
Low
0
Vss
0
0
Straight
No move
Left Turn
Low
Low
High
Low
0
0
Vss
0
No move
Straight
Right Turn
Low
High
Low
High
0
Vss
0
Vss
Straight
Reverse
Sharp Left
High
Low
High
Low
Vss
0
Vss
0
Reverse
Straight
Sharp Right
High
Low
Low
High
Vss
0
0
Vss
Reverse
Reverse
Backward

110 comments:

  1. where can i buy this Motor Driver IC L293D ... pls provide the link [preferaably INDIA]

    ReplyDelete
    Replies
    1. you can fin dit in DHOLAI KHAL!

      Delete
    2. Here is the list of robotics online stores in India
      http://startrobotics.blogspot.com/2013/05/normal-0-false-false-false-en-us-x-none.html

      Delete
  2. http://mgsuperlabs.co.in/estore/

    ReplyDelete
  3. Does the output from L239D control the speed of the motor ?? Or does it only decide id the motor runs in clockwise or anticlockwise direction ??

    ReplyDelete
    Replies
    1. L239D can control the speed if you use PWM(Pulsw Width Modulation) as input

      Delete
    2. yes which all pins we have to use as a input PWM if you are having the code could you mail me ... surendra.racer@gmail.com

      Delete
  4. Hi sir. Im doing a mini project on controlling the DC motor speed by SMS. im using GSM, arduino and h-bridge driver. I'm new with all this thing. can u help me sir?

    ReplyDelete
  5. for quadcopter this IC can be used for control the BLDC motors

    ReplyDelete
  6. nice tutorial and easy to follow

    ReplyDelete
  7. what happens if 12V is supplied to an output pin?

    ReplyDelete
  8. here you can see more about l293d
    http://www.engineersskull.com/l293d-motor-driver/

    ReplyDelete
  9. What is the significance of l,2,9,3,d in naming of l293d ic?

    ReplyDelete
  10. What is the significance of l,2,9,3,d in naming of l293d ic?

    ReplyDelete
  11. What is the significance of l,2,9,3,d in naming of l293d ic?

    ReplyDelete
    Replies
    1. L is for logic, a classification made in the modelling number by Texas Instruments in its product numbering scheme.

      293 is just a part number.

      the 'd' differentiates this chip from the standard L293 because it provides back-EMF protection in the form of strategically placed diodes inside the circuit - a feature one would have to manually implement should you decide to use the L293.

      Hope this is helpful!

      Delete
  12. Wow, really fantastic post. I never seen this type of post. This post are really helpful for those who have big fan of Plane.

    ReplyDelete
  13. Actually if we give 0 logic to pin2 or any other input pins then motor starts rotating without any logic on respective channel , it shows that all input pins need only 0logic for their rotation in respective direction , then why in truth table you have given logic 1, &logic0 , and so on,, plz tell me , i m right or wrong , and what pulse actually input pins need

    ReplyDelete
  14. Very glad to read your blog.Thank you for sharing this article.It is great! I will keep your article in my idea. Very happy reading.

    ReplyDelete
  15. A motor driver IC is an integrated circuit chip which is usually used to control motors in autonomous robots. Motor driver ICs act as an interface between microprocessors in robots and the motors in the robot.
    Power transformers in India | SMPS Transformer Manufacturer in India

    ReplyDelete
  16. Can we give 12V 1.3Ah power supply as input in pin:8 of L293D ic

    ReplyDelete
  17. We studied your blog and it is very nice. We found it really interesting and meaningful. We like your blog and would like to visit it again. MM ENGINEERING SERVICES LTD only delivers what they promise, We are very specific with our motors and their quality. Visit our page for more information.

    ReplyDelete
  18. Hi,

    I just want also to add that an L293D module is readily available which includes capacitors and voltage regulators. This is what is used in this self-balancing robot project.

    ReplyDelete
  19. Register for Industrial Automation (PLC SCADA) Job Oriented Training
    World Class Training with World Class Facility and 100 % Job Assistance.
    Call us: 91-9310096830/31
    Address: B-74 (Top Floor), Near Sector 15 Metro Station, Sector 2, Noida, Uttar Pradesh 201301
    More: https://www.facebook.com/DIACTRAINING/

    ReplyDelete
  20. I don't know if there was automated machines to produce these assemblies or if they were re-used in other designs..

    Stream Smart TV box
    Internet TV streaming device
    Online TV live
    streaming box

    ReplyDelete
  21. Hi.. You have posted a good project. Keep sharing.
    You will learn about different Arduino Project ideas which are used in our day to day life. Every Arduino Microcontroller has a circuit diagram and source code. It's very beneficial for all the electronics and electrical engineers community. Engineers Garage is a community of Electronics and Electrical Engineers where they can take ideas for there projects or submit there tutorials also. This website works on the electric circuit diagram, microcontrollers, DIY projects, Innovation Stories and More.

    ReplyDelete
  22. where do I get it, if I am from india

    ReplyDelete
    Replies
    1. sorry Australia
      where do I get it from if I am from Australia

      Delete
  23. Diac Automation is providing Summer Training 2018 to help students to enhance their technical education skills. Enroll here for the career changing PLC SCADA ROBOTICS Summer Training to get Global certificate. Call +91 9953489987 for more information.

    ReplyDelete
  24. This is really nice to read content of this blog. A is very extensive and vast knowledgeable platform has been given by this blog. I really appreciate this blog to has such kind of educational knowledge.
    Dell WinServ 2012 R2 Essentials

    ReplyDelete
  25. I got such a good information on this topic its very interesting one. You made a good site and I have found a similar website, please check this one Splined Bushings visit the site to know more. Regards, from https://hydrauliquescontinental.ca

    ReplyDelete
  26. nice knowldge but how we can use 3 phase motor control is there any tips

    ReplyDelete
  27. Nice and interesting information and informative too.Can you please let me know the good attraction places we can visit: motor driving in ghansoli

    ReplyDelete
  28. I am grateful to you on the grounds that your article is exceptionally useful for me to continue with my exploration in same region. Your cited illustrations are all that much significant to my exploration field.This is extraordinary! It really exhibits to me where to broaden my online diary
    https://quickserv.co.th/networking/CISCO/Switch-:-Catalyst/detail/Catalyst-3850/WS-C3850-48T-L.html

    ReplyDelete
  29. Story of this blog is well written. The writer kept in consideration the grammar very well. Level of English also very well. Lot many new words has been used while writing content of this blog.
    Synology DS116

    ReplyDelete
  30. HP printer is widely used in residential as well as commercial places. Hewlett-Packard provides a good variety of printers for different types of users. If you face any problem with your HP printer, call HP Printer Support Number. This HP Printer Phone Number provides reliable tech supports to all the HP customers. You can get the best solutions for your issues from our expert technicians. HP Printer Support provides 24*7 services to the customers. Call HP Printer Support Number & get instant support from technical team. Resolve your issues related to HP Printer support or billing on call or chat.

    Brother Printer Support Number | Lexmark Printer Support

    ReplyDelete
  31. An author must have a vast knowledge of vocabulary. The dictionary of a writer must be full of new english vocabulary to make their work more attractive. Use of new words makes their work more valuable and graceful.
    ทำไมต้องจ้างบล็อกเกอร์รีวิว

    ReplyDelete
  32. Hey, It really is incredibly fantastic and informative website. Good to discover your site Very well article! I’m simply in love with it.
    APC Smart UPS BROAD

    ReplyDelete
  33. creativity of writer is purely impressive. It has touched to the level of expertise with his writing. Everything is up to the mark. Written perfectly and I can use such information for my coming assignment.
    Cisco SF220 POE

    ReplyDelete
  34. This data would give them the thought, with respect to what kind of organization picture they have to make for their customers' scope of items/administrations. logo design service

    ReplyDelete
  35. Good Post. I like your blog. Thanks for Sharing
    Ping Speed Test

    ReplyDelete
  36. Your blog is very informative. Eating mindfully has been very hard for people these days. It's all because of their busy schedules, work or lack of focus on themselves. As a student I must admit that I have not been eating mindfully but because of this I will start now. It could help me enjoy my food and time alone. Eating mindfully may help me be aware of healthy food and appreciating food.
    architect nijmegen

    ReplyDelete
  37. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. amarmobile.com.bd

    ReplyDelete
  38. Professionally written blogs are rare to find, however I appreciate all the points mentioned here. I also want to include some other writing skills which everyone must aware of.
    zwangerschapsmassage amsterdam

    ReplyDelete
  39. Taxi driver jobs in New York City have existed for about eighty years using the famous yellow cab. If you are interested in taxi employment and making money with one of the taxi driver jobs, there are several issues that should be considered. Driver Jobs

    ReplyDelete
  40. Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. hazard perception test sa

    ReplyDelete
  41. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. driver knowledge test

    ReplyDelete
  42. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... DKT

    ReplyDelete
  43. This blog is really helpful for my database. It enhanced the area of my thoughts and pushed me beyond the boundaries. Work ethic of every point is different and represent a new way to improve myself.architect nijmegen

    ReplyDelete
  44. I propose merely very good along with reputable data, consequently visualize it: Viking, Sub-Zero, GE REFRIGERATOR REPAIR IN HIGHLAND

    ReplyDelete
  45. This is good information and really helpful for the people who need information about this.
    Robotics Summer Training in Delhi
    Robotics Summer internship Training

    ReplyDelete
  46. https://mobilebaazar24.blogspot.com/2020/06/xiaomi-redmi-9-mobile-price-in.html#more

    ReplyDelete
  47. https://mobilebaazar24.blogspot.com/2020/06/oppo-f15-mobile-price-in-bangladesh.html#more

    ReplyDelete
  48. https://mobilebaazar24.blogspot.com/2020/06/samsung-galaxy-m31-mobile-price.html

    ReplyDelete
  49. https://mobilebaazar24.blogspot.com/2020/05/tecno-camon-15-mobile-price-in.html

    ReplyDelete
  50. https://mobilebaazar24.blogspot.com/2020/06/xiaomi-redmi-9-mobile-price-in.html#more

    ReplyDelete
  51. https://mobilebaazar24.blogspot.com/2020/06/oppo-a9-mobile-price-in-bangladesh.html#more

    https://mobilebaazar24.blogspot.com/2020/06/xiaomi-redmi-9-mobile-price-in.html#more

    https://mobilebaazar24.blogspot.com/2020/06/samsung-galaxy-m31-mobile-price.html

    https://mobilebaazar24.blogspot.com/2020/05/vivo-v19-pro-mobile-price-in-bangladesh.html

    https://mobilebaazar24.blogspot.com/2020/06/oppo-a9-mobile-price-in-bangladesh.html

    ReplyDelete
  52. This comment has been removed by the author.

    ReplyDelete
  53. OPPO A9 Mobile $Price In Bangladesh

    ReplyDelete
  54. This is really very nice post you shared, i like the post, thanks for sharing..

    Data Science Course

    ReplyDelete
  55. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.

    Data Science Training

    ReplyDelete
  56. It's rare all around educated individuals in this specific point, yet you sound like you hear what you're saying! Much obliged
    Paint

    ReplyDelete
  57. Amazing post! I really liked it. Thanks for sharing this valuable information.
    whatsapp lucky draw also have a blog to help people win kbc 25 lakh lottery prizes.

    ReplyDelete

  58. All kittens adopted from royaltykitten.com Sphynx Cattery come with current vaccinations, dewormings, written sales contract, Two year health guarantee, health record, Spayed or Neutered, 30 days of free pet insurance for your kitten, and a kitten care package which includes food, litter and several surprises for you and your kitten.
    Kittens are Generally ready to leave between 12 to 16 weeks old.
    Sphynx do not develop as quickly as cats with hair.
    sphynx kittens for sale, sphynx kittens for sale, sphynx cat for sale near me,
    sphynx cats for sale, sphynx for sale, hairless cat for sale, sphynx kitten near me, sphynx for sale

    ReplyDelete
  59. Beagle puppies are one of the most popular breeds in the world. Beagle Puppies For Sale are intelligent, friendly, and loyal dogs that make great companions for people with allergies or who live alone. Beagles have a single coat that is short and soft to the touch, which makes them perfect for active city dwellers who want an outdoor companion. Beagle puppy are usually available at shelters because they're so popular! If you're looking to adopt a Beagle puppies For Sale near me, check out your local shelter today

    ReplyDelete
  60. This material is fabulous! It's full of incisive information and the points you make are rational and solid. I agree with the importance of this information.
    papas 2.0

    ReplyDelete
  61. Titanium Dabb nail tips - TITanium Girls
    › tips › Titanium-Dabb-__ westcott scissors titanium › tips › Titanium-Dabb-_ titanium apple watch band 5 years ago — 5 ford ecosport titanium years ago Tita - the titanium lug nuts best nail tips. Tips for nail nail tips. These are nano titanium by babyliss pro the top tips for nail tips in the world.

    ReplyDelete
  62. Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. bitcoin miner

    ReplyDelete
  63. Fantastic! Such a very informative article... Thanks for sharing this information… Do you know about the ETA New Zealand application process? The process of applying for an NZETA visa is a simple process and takes no time at all. You need to fill the application form with passport and personal details, attach the required document, pay the fees and get your visa.

    ReplyDelete

  64. Nice post with informative and good quality content. Thank you for sharing this information with us. This is really helpful. Also check lighting panel

    ReplyDelete
  65. Attractive component of the material. I just stumbled across your web site and accession capital to say that I really enjoyed your site. You are a compelling author. An e visa Turkey is an electronic visa which is for those travelers who can apply from anywhere from all around the world.

    ReplyDelete
  66. It was a pleasure reading your article. I hope you will write more articles like this in the future. A Turkish Visit Visa is an easy process. It's saved your time and money as well.

    ReplyDelete
  67. In India, Smtpget is the top supplier of SMTP Mail Services. To ensure excellent deliverability rates and stop email abuse, we follow best practises.

    ReplyDelete
  68. Congratulations on your article, it was very helpful and successful. f4215baff5f6cb64c3550a00a6e67e84
    website kurma
    website kurma
    numara onay

    ReplyDelete
  69. Thank you for your explanation, very good content. 691cc2c5305b6aaa92e5fe0cc9478a09
    define dedektörü

    ReplyDelete
  70. Thanks for your article. a47d63043fc5f37cc6360e3085b6363a
    evde iş imkanı

    ReplyDelete
  71. I have read this article; it is 이천출장샵very informative and helpful for me

    ReplyDelete
  72. Splendid blog entry! Your talent for simplifying complex subjects into understandable content is admirable. Your writing style is engaging and holds my attention from start to finish. The incorporation of real-life anecdotes enhances the understanding and relatability of the material. Excited to see what other enlightening content you have in store! Keep up the phenomenal work!

    ReplyDelete
  73. This is a blog of using motor driver, visit graphic designing training program in agra


    ReplyDelete
  74. Great and I have a super supply: Where Do You Get The Money To Renovate A House house renovation exterior

    ReplyDelete