{"product_id":"l293d-ic-dual-h-bridge-motor-driver","title":"L293D IC Dual H-Bridge Motor Driver in Pakistan","description":"\u003ch3 id=\"description\" class=\"tab-list-title\"\u003eDescription:\u003c\/h3\u003e\n\u003cdiv id=\"content_description\" class=\"ty-wysiwyg-content content-description\"\u003e\n\u003cdiv\u003e\n\u003cp\u003eThe L293D IC Dual H-Bridge Motor Driver is a monolithic integrated high voltage, high current four channel driver designed to accept standard DTL or TTL logic levels and drive inductive loads (such as relays solenoids, DC and stepping motors) and switching power transistors.  To simplify use as two bridges each pair of channels is equipped with an enable input. A separate supply input is provided for the logic, allowing operation at a lower voltage and internal clamp diodes are included. This L293D motor driver is suitable for use in switching applications at frequencies up to 5 kHz. The L293D is assembled in a 16 lead plastic package that has 4 center pins connected together and used for heatsinking.\u003c\/p\u003e\n\u003ch3\u003e\n\u003cstrong\u003eL293D Pin \u003c\/strong\u003e\u003cstrong\u003eConfiguration:\u003c\/strong\u003e\n\u003c\/h3\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e\u003cstrong\u003ePin Number\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"160\"\u003e\u003cstrong\u003ePin Name\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"392\"\u003e\u003cstrong\u003eDescription\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e1\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eEnable 1,2\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eThis pin enables the input pin Input 1(2) and Input 2(7)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e2\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eInput 1\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eDirectly controls the Output 1 pin. Controlled by digital circuits\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e3\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eOutput 1\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eConnected to one end of  Motor 1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e4\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eGround\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eGround pins are connected to ground of circuit (0V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e5\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eGround\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eGround pins are connected to ground of circuit (0V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e6\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eOutput 2\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eConnected to another end of  Motor 1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e7\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eInput 2\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eDirectly controls the Output 2 pin. Controlled by digital circuits\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e8\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eVcc2 (Vs)\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eConnected to Voltage pin for running motors (4.5V to 36V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e9\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eEnable 3,4\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eThis pin enables the input pin Input 3(10) and Input 4(15)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e10\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eInput 3\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eDirectly controls the Output 3 pin. Controlled by digital circuits\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e11\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eOutput 3\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eConnected to one end of Motor 2\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e12\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eGround\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eGround pins are connected to ground of circuit (0V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e13\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eGround\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eGround pins are connected to ground of circuit (0V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e14\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eOutput 4\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eConnected to another end of Motor 2\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e15\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eInput 4\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eDirectly controls the Output 4 pin. Controlled by digital circuits\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"64\"\u003e16\u003c\/td\u003e\n\u003ctd width=\"160\"\u003eVcc2 (Vss)\u003c\/td\u003e\n\u003ctd width=\"392\"\u003eConnected to +5V to enable IC function\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2\u003eFeatures of L293D IC Dual H-Bridge Motor Driver:\u003c\/h2\u003e\n\u003col\u003e\n\u003cli\u003eIt can be used to run Two DC motors with the same IC.\u003c\/li\u003e\n\u003cli\u003eSpeed and Direction control is possible\u003c\/li\u003e\n\u003cli\u003eMotor driver voltage Vcc2 (Vs): 4.5V to 36V\u003c\/li\u003e\n\u003cli\u003eMaximum Peak motor current: 1.2A\u003c\/li\u003e\n\u003cli\u003eMaximum Continuous Motor Current: 600mA\u003c\/li\u003e\n\u003cli\u003eSupply Voltage to Vcc1(VSS): 4.5V to 7V\u003c\/li\u003e\n\u003cli\u003eTransition time: 300ns (at 5Vand 24V)\u003c\/li\u003e\n\u003cli\u003eAutomatic Thermal shutdown is available\u003c\/li\u003e\n\u003cli\u003eAvailable in 16-pin DIP, TSSOP, SOIC packages\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003ch3\u003e\u003cstrong\u003eL293D Equivalent Dual Timer IC\u003c\/strong\u003e\u003c\/h3\u003e\n\u003cp\u003eLB1909MC, SN754410, \u003ca href=\"https:\/\/components101.com\/stepper-motor-driver-ic-uln2003-pinout-datasheet\"\u003eULN2003\u003c\/a\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003c\/h4\u003e\n\u003cfigure\u003e\u003cimg class=\"wp-image-1353\" src=\"https:\/\/roboindia.com\/wp\/wp-content\/uploads\/2019\/05\/5-12-1024x854.png\" sizes=\"(max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/roboindia.com\/tutorials\/wp-content\/uploads\/2019\/05\/5-12-1024x854.png 1024w,  https:\/\/roboindia.com\/tutorials\/wp-content\/uploads\/2019\/05\/5-12-300x250.png 300w,  https:\/\/roboindia.com\/tutorials\/wp-content\/uploads\/2019\/05\/5-12-768x640.png 768w,  https:\/\/roboindia.com\/tutorials\/wp-content\/uploads\/2019\/05\/5-12.png 1222w\" alt=\"\" loading=\"lazy\"\u003e\u003c\/figure\u003e\n\u003cp\u003eMake the connection as shown above.\u003c\/p\u003e\n\u003cp\u003eMake sure that the Jumpers are preset on the Enable 1-2 and Enable 3-4 pins of module, so that motor will be enabled and work at maximum speed.\u003c\/p\u003e\n\u003ch4\u003e\u003cstrong\u003e2.1. Working Mechanism\u003c\/strong\u003e\u003c\/h4\u003e\n\u003cp\u003eRotation of motor depends on Enable Pins. When Enable 1\/2 is HIGH , motor connected to left part of IC will rotate according to following manner:\u003c\/p\u003e\n\u003cdiv class=\"table-wrapper\"\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eInput 1\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eInput 2\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eResult\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0\u003c\/td\u003e\n\u003ctd\u003e0\u003c\/td\u003e\n\u003ctd\u003eStop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003eAnti Clockwise\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003e0\u003c\/td\u003e\n\u003ctd\u003eClockwise\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003eStop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003ch4\u003e\u003cstrong\u003e3. Programming:\u003c\/strong\u003e\u003c\/h4\u003e\n\u003cp\u003eHere is the code to run this circuit.\u003c\/p\u003e\n\u003cpre\u003e\u003cspan style=\"color: #434f54;\"\u003e\/\/Tutorial by RoboIndia on Motor Control\u003c\/span\u003e\n\u003cspan style=\"color: #434f54;\"\u003e\/\/Hardware Require: Motor Driver(By RoboIndia) \u0026amp; Arduino\u003c\/span\u003e\n\n\u003cspan style=\"color: #434f54;\"\u003e\/\/Motor A\u003c\/span\u003e\n\u003cspan style=\"color: #00979c;\"\u003econst\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eint\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003einputPin1\u003c\/span\u003e  \u003cspan style=\"color: #434f54;\"\u003e=\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003e10\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e    \u003cspan style=\"color: #434f54;\"\u003e\/\/ Pin 15 of L293D IC\u003c\/span\u003e\n\u003cspan style=\"color: #00979c;\"\u003econst\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eint\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003einputPin2\u003c\/span\u003e  \u003cspan style=\"color: #434f54;\"\u003e=\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003e11\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e    \u003cspan style=\"color: #434f54;\"\u003e\/\/ Pin 10 of L293D IC\u003c\/span\u003e\n\u003cspan style=\"color: #434f54;\"\u003e\/\/Motor B\u003c\/span\u003e\n\u003cspan style=\"color: #00979c;\"\u003econst\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eint\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003einputPin3\u003c\/span\u003e  \u003cspan style=\"color: #434f54;\"\u003e=\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003e9\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e   \u003cspan style=\"color: #434f54;\"\u003e\/\/ Pin  7 of L293D IC\u003c\/span\u003e\n\u003cspan style=\"color: #00979c;\"\u003econst\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eint\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003einputPin4\u003c\/span\u003e  \u003cspan style=\"color: #434f54;\"\u003e=\u003c\/span\u003e \u003cspan style=\"color: #000000;\"\u003e8\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e   \u003cspan style=\"color: #434f54;\"\u003e\/\/ Pin  2 of L293D IC\u003c\/span\u003e\n\n\n\u003cspan style=\"color: #00979c;\"\u003evoid\u003c\/span\u003e \u003cspan style=\"color: #5e6d03;\"\u003esetup\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e \n\u003cspan style=\"color: #000000;\"\u003e{\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003epinMode\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin1\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eOUTPUT\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003epinMode\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin2\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eOUTPUT\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003epinMode\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin3\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eOUTPUT\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003epinMode\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin4\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eOUTPUT\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e  \n\u003cspan style=\"color: #000000;\"\u003e}\u003c\/span\u003e\n\n\u003cspan style=\"color: #00979c;\"\u003evoid\u003c\/span\u003e \u003cspan style=\"color: #5e6d03;\"\u003eloop\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e \n\u003cspan style=\"color: #000000;\"\u003e{\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003edigitalWrite\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin1\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eHIGH\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003edigitalWrite\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin2\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eLOW\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003edigitalWrite\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin3\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eHIGH\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e\n    \u003cspan style=\"color: #d35400;\"\u003edigitalWrite\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e(\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003einputPin4\u003c\/span\u003e\u003cspan style=\"color: #434f54;\"\u003e,\u003c\/span\u003e \u003cspan style=\"color: #00979c;\"\u003eLOW\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e)\u003c\/span\u003e\u003cspan style=\"color: #000000;\"\u003e;\u003c\/span\u003e  \n\u003cspan style=\"color: #000000;\"\u003e}\n\u003c\/span\u003e\n\u003c\/pre\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Electronics Hub","offers":[{"title":"Default Title","offer_id":54466793832761,"sku":"product-6224","price":120.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/l293d-dual-H-Bridge-Motor-driver-IC-DIP-1.jpg?v=1789233056","url":"https:\/\/electronicshub.pk\/products\/l293d-ic-dual-h-bridge-motor-driver","provider":"Electronics Hub","version":"1.0","type":"link"}