The L293D is a dedicated module to fit in Arduino UNO R3 Board, and Arduino MEGA, It is actually a motor driver shield that has full featured Arduino Shield can be used to drive 2 to 6 DC motor and 4 wire Stepper motor and it has 2 set of pins to drive a SERVO.

L203D is a monolithic integrated that has a feature to adopt high voltage, high current at four channel motor driver designed to accept load such as relays solenoids, DC Motors and Stepper Motors and switching power transistor. To simplify to use as two bridges on each pair of channels and 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.

The device is suitable for use in switching applications at frequencies up to 5kHz. The L293D is assembled in a 16 lead plastic package which has 4 center pins connected together and used for heat sinking. The L293DD is assembled in a 20 lead surface mount which has 8 center pins connected together and used for heat shrinking.

L294D Shield Feature:

L293D-Hbridge-Motor-control-shield

L293D-Hbridge-Motor-control-shield-Power-Detail

• Control up to 4 DC motors.
• Control 2 Servos.
• Logic Control Voltage VSS: 4.5 ~ 5.5 V
• Motor Supply Voltage VSS: 15v
• Drive operating current IO: 1.2A
• 8 Stage Serial Shift Registers

Wiring a Stepper Motor

L293D-Wired-4-Motor-with-servo-Stepper-Motor

What is a stepper motor?

A digital electric motor that moves one step at a time and each step is defined by a step angle. The stepper motor moves is distinct steps during its rotation. Each steps is defined by a step angle. In the example below you may notice that there are 4 distinct steps for the rotor to make a complete 360 degree rotation. As defines in step angle at 90 degrees. Since the stepper motor does move in discreet movement, we can say that a stepper motor is actually a digital motor. This characteristic makes it very suitable for digital interfaces integrates with a microcontroller. if you want to learn more about Stepper Motor download the reference below.

Itroduction-Stepper-Motor

In this example we will going to use the  14HM Series 2 Phase Hybrid Stepper Motor

Stepper-Motor-Spects-Wiring-Diagram

Wiring diagram

BiPolar-Stepper-Motor-Wiring-Diagram

Stepper motors are great for (semi-)precise control, perfect for many robot and CNC projects. This motor shield supports up to 2 stepper motors. The library works identically for bi-polar and uni-polar motors

Stepper Motors are perfect for semi-precise control, adaptable to robots and CNC projects. The L293D Arduino shield supports up to 2 stepper motors. The MOTOR library works identically for BI-POLAR and UNI-POLAR Stepper Motor.

For Uni-Polar motors you need to connect up the stepper firstly you need to find out which pins connected coil, and which pins are the center tap in this demonstration we will going to test the 4 wire stepper motor. If its a five wire motor then there will be 1 center tap for both coil. The center taps should both be connected together to the GND terminal on the motor shield output block, the coil 1 should connect to 1 motor port let say M1 or M3 and coil 2 should connect to M2 or M4.

For BI-POLAR motor its just like UNI-POLAR motors except there is not fifth wire to connect to the ground.

check the previous article how to import the MOTOR library

Download the motor library here | ZIP
Download the L293D datasheet here | PDF
Download the schematic here | PDF
Download the 74HC595 Datasheet here | PDF

 

Wiring L293D UNO/MEGA Shield with Stepper Motor
Facebooktwitterredditpinterestmail
Tagged on:         

JLCPCBPCBgogoPCBway4pcb

2 thoughts on “Wiring L293D UNO/MEGA Shield with Stepper Motor

Leave a Reply

Your email address will not be published. Required fields are marked *