L293D IC Dual H-Bridge Motor Driver in Pakistan

120.00

Description:

The 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.

L293D Pin Configuration:

Pin NumberPin NameDescription
1Enable 1,2This pin enables the input pin Input 1(2) and Input 2(7)
2Input 1Directly controls the Output 1 pin. Controlled by digital circuits
3Output 1Connected to one end of  Motor 1
4GroundGround pins are connected to ground of circuit (0V)
5GroundGround pins are connected to ground of circuit (0V)
6Output 2Connected to another end of  Motor 1
7Input 2Directly controls the Output 2 pin. Controlled by digital circuits
8Vcc2 (Vs)Connected to Voltage pin for running motors (4.5V to 36V)
9Enable 3,4This pin enables the input pin Input 3(10) and Input 4(15)
10Input 3Directly controls the Output 3 pin. Controlled by digital circuits
11Output 3Connected to one end of Motor 2
12GroundGround pins are connected to ground of circuit (0V)
13GroundGround pins are connected to ground of circuit (0V)
14Output 4Connected to another end of Motor 2
15Input 4Directly controls the Output 4 pin. Controlled by digital circuits
16Vcc2 (Vss)Connected to +5V to enable IC function

Features of L293D IC Dual H-Bridge Motor Driver:

  1. It can be used to run Two DC motors with the same IC.
  2. Speed and Direction control is possible
  3. Motor driver voltage Vcc2 (Vs): 4.5V to 36V
  4. Maximum Peak motor current: 1.2A
  5. Maximum Continuous Motor Current: 600mA
  6. Supply Voltage to Vcc1(VSS): 4.5V to 7V
  7. Transition time: 300ns (at 5Vand 24V)
  8. Automatic Thermal shutdown is available
  9. Available in 16-pin DIP, TSSOP, SOIC packages

L293D Equivalent Dual Timer IC

LB1909MC, SN754410, ULN2003

Make the connection as shown above.

Make 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.

2.1. Working Mechanism

Rotation 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:

Input 1Input 2Result
00Stop
01Anti Clockwise
10Clockwise
11Stop

3. Programming:

Here is the code to run this circuit.

//Tutorial by RoboIndia on Motor Control
//Hardware Require: Motor Driver(By RoboIndia) & Arduino

//Motor A
const int inputPin1  = 10;    // Pin 15 of L293D IC
const int inputPin2  = 11;    // Pin 10 of L293D IC
//Motor B
const int inputPin3  = 9;   // Pin  7 of L293D IC
const int inputPin4  = 8;   // Pin  2 of L293D IC


void setup() 
{
    pinMode(inputPin1, OUTPUT);
    pinMode(inputPin2, OUTPUT);
    pinMode(inputPin3, OUTPUT);
    pinMode(inputPin4, OUTPUT);  
}

void loop() 
{
    digitalWrite(inputPin1, HIGH);
    digitalWrite(inputPin2, LOW);
    digitalWrite(inputPin3, HIGH);
    digitalWrite(inputPin4, LOW);  
}