I would like to connect 3 L293D Motor controllers to an Arduino Uno with the hopes of powering 6 different dc motors. I was just wondering how to wire this being that one motor controller (which allows for 2 dc motors to be controlled) already takes up most of the pins on the Arduino, thanks.

Below is the wiring diagram for how I am hooking up 1 L293D motor controllers to the Arduino.

enter image description here

  • Hey you can use Adfruit Motor Shield v2 [adafruit.com/products/1438] it allows 2 connections for 5V 'hobby' servos, Up to 4 bi-directional DC,Up to 2 stepper motors. Apr 5, 2017 at 3:43

2 Answers 2


The suggestion of using an Adafruit Motor Shield V2 for Arduino seems fairly good, although that particular shield controls only four DC motors at once. That shield has a dedicated PWM driver chip on it, which removes the overhead of motor and speed control from the MCU. That might allow you to drive four motors via the shield, and two via wires from the Arduino; or, stack two motor shields on the Uno.

If you definitely want to drive six motors from the Arduino, you may need to add a couple of control chips. You could add a 74HCT04 hex inverter and a 74LS595, to create inverted drive signals and enable signals. For example, the first PWM drive would go to L293 pin 1A and to '04 pin 1A; the first '04 output, 1Y, would drive L293 pin 2A. One of the '595 outputs would go to L293 pin 1,2EN.

Alternately, you could use two '595s, with outputs to control L293 pins 2A; 4A; 1,2EN; and 3,4EN on each of three L293's. The six PWM outputs from the Uno would go to 1A and 3A on the several L293's. Using motor shields probably is a better idea, however.


If you want to make your own circuit.. then you need two IC 74HCT595(8-bit serial-in, serial or parallel-out shift register). You have to wiring with your arduino and L293D you can go this way.. Wiring schematic with Arduino . This Circuit diagram is an Idea, don't think its actual circuit you have to modify this schematic accroding to your application.

Data Sheet link 74HCT595 DATASHEET

  • if I were to wire exactly this diagram, however, would it still work for controlling 6 dc motors? Apr 5, 2017 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.