L293D IC Dual H-Bridge Motor Driver In Pakistan
SKU: 637736392696988389
The Device 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 device is suitable for use in switching applications at frequencies up to
5
kHz. The L2
9
3
D is assembled in a1
6
lead plastic package that has4
center pins connected together and used for heatsinking. L2
9
3
D Pin ConfigurationPin Number
Pin Name
Description
1
Enable1
,2
This pin enables the input pin Input1
(2
) and Input2
(7
)2
Input1
Directly controls the Output1
pin. Controlled by digital circuits3
Output1
Connected to one end of Motor1
4
Ground
Ground
pins are connected to ground of circuit (0V)5
Ground
Ground
pins are connected to ground of circuit (0V)6
Output2
Connected to another end of Motor1
7
Input2
Directly controls the Output2
pin. Controlled by digital circuits8
Vcc2
(Vs) Connected to Voltage pin for running motors (4
.5
V to3
6
V)9
Enable3
,4
This pin enables the input pin Input3
(1
0) and Input4
(1
5
)1
0 Input3
Directly controls the Output3
pin. Controlled by digital circuits1
1
Output3
Connected to one end of Motor2
1
2
Ground
Ground
pins are connected to ground of circuit (0V)1
3
Ground
Ground
pins are connected to ground of circuit (0V)1
4
Output4
Connected to another end of Motor2
1
5
Input4
Directly controls the Output4
pin. Controlled by digital circuits1
6
Vcc2
(Vss) Connected to +5
V to enable IC functionFeatures
- It can be used to run Two DC motors with the same IC.
- Speed and Direction control is possible Motor voltage Vcc
- Automatic Thermal shutdown is available Available in
- Module GND – Arduino GND. Module
- Module Motor terminals – DC motors. Module VSS power terminal- External power source of
2
(Vs):4
.5
V to3
6
V Maximum Peak motor current:1
.2
A Maximum Continuous Motor Current:6
00mA Supply Voltage to Vcc1
(VSS):4
.5
V to7
V Transition time:3
00ns (at5
Vand2
4
V)1
6
-pin DIP, TSSOP, SOIC packages L2
9
3
D Equivalent Dual Timer IC LB1
9
09
MC, SN7
5
4
4
1
0, ULN2
003
Connections with Arduino Module5
V (VCC) – Arduino5
V.1
– Arduino D8
. Module2
– Arduino D9
. Module3
– Arduino D1
0. Module4
– Arduino D1
1
.9
V.Make the connection as shown above.
Make sure that the Jumpers are preset on the Enable1
-2
and Enable3
-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 Enable1
/2
is HIGH , motor connected to left part of IC will rotate according to following manner: Input1
Input2
Result 0 0 Stop 01
Anti Clockwise1
0 Clockwise1
1
Stop3
. 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
=1
0; // Pin1
5
of L2
9
3
D IC const int inputPin2
=1
1
; // Pin1
0 of L2
9
3
D IC //Motor B const int inputPin3
=9
; // Pin7
of L2
9
3
D IC const int inputPin4
=8
; // Pin2
of L2
9
3
D 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); }