How to Make L293D Motor Driver Module

Featured image

This is the first post on my blog. In this blog, I am trying to explain how to make an L293D motor driver module at home.

Components required

About L293D IC

L293D IC

L293D is the main part of the project. The L293D devices are quadruple high-current half-H drivers. The L293D is designed to provide bidirectional drive currents of up to 600-mA at voltages from 4.5 V to 36 V. L293D is a 16-pin IC that can control a set of two DC motors simultaneously in any direction. It means that you can control two DC motors with a single L293D IC.

Pinout of L293D

L293D IC Pinout

Pin no. 16(VCC 1): This pin is directly connected to +5 volt which is required for its internal circuit of IC. If you are using more than 5 volts you can use a 7805 voltage regulator for 5 volts conversion.

Pin no. 8(VCC 2): This pin is connected to a voltage source according to the voltage of your motor requirement. Let us say you are using a motor that requires 9 Volt then you have to connect a voltage source of 9 volts to this pin.

Pin no. 4,5,12,13(GND): These pins are interconnected internally so no need of attaching all the pins to the ground(Zero Volt). You can choose any pin from these 4 pins and connect it to the ground.

Pin no. 1,9(Enable 1,2 & 3,4): These 2 pins helps us to control the speed of both the motors individually if. Enable 1,2 means this pin(1)  have control over 2 output pins(3,6) means one motor. Similarly, Enable 3,4 have control over another motor. When you connect these pins directly to 5 volts then your motor will rotate at its full speed and if you connect it with 2.5 volts then the motor will rotate at its half speed and if no voltage is connected to these pins then the motor there will be no rotation. And in the case of Arduino &  microcontroller speed of motors will be controlled with the help of PWM(Pulse width modulation).

Pins 2,7,10,15(Input 1,2 & 3,4): These pins are used to control the direction of motors clockwise as well as anticlockwise. These pins actual changes the polarity of output pins. And Input 1,2  is for one motor and input 3,4 is for the second motor. Let’s see the truth table it helps you to understand  how it changes the direction of the motor   

Pin no. 3,6,11,14(Output 1,2 & 3,4): These pins are connected to motors Pin 3,6 to one motor and Pin 11,14 to another one.

Input 1Input 2Output 1Output 2
LowHigh– (GND)+ (Vcc)
HighLow+ (Vcc)– (GND)
L293D Working Table


L293D Module Circuit Diagram

In this circuit, I used 4×1 male header pins for Input, 5×1 male header pins for the power supply. We can connect 7-30V to this circuit through IC 7805 voltage regulator or 5V directly. 2 jumper pins are used to connect Enable pins to 5V. You can connect Enable pins to PWM in input by removing those jumper pins. One LED is connected to the 5v through a 1K resistor for power indication. The output pins for two motors are taken from corresponding screw terminals.

PCB making

Design PCB board with the schematic diagram

I used Easyeda to design the PCB

PCB Layout


Print PCB layout on photo paper, art paper or magazine paper. I used Art paper of size A4. Photo paper is recommended.

Layout Printed
Layout Printed

Use a laundry iron to iron your printed PCB layout to your board. Ironing the printed layout transfers the ink from the paper going to the PCB board. You need to set your iron’s temperature to the highest setting if your paper is thick but if not, set it to the medium setting.

There are different varieties of etching solutions but the most common is Ferric Chloride. Get a plastic container, never use any kind of metal container. Pour the etching solution into your plastic container. Leave the PCB board for about 30-45 minutes in the container. After about 30-45 minutes remove it from the container, leaving it for a long time will etch the ink protected area so please remove it when it’s done.

Drill the board with a mini drill a Dremel tool will do. After drilling it rinse it again with water. Be sure to drill it on the copper side, since the copper layout will be your guide on where to drill.

Final result

After cleaning all

PCB Board

After soldering all components

Using with Arduino

Circuit diagram


Motor driver moduleArduino
input 1D3
input 2D4
input 3D5
input 4D6


//Code not available