The l293d is a dual channel h bridge ic capable of controlling two dc motors.
L293d motor driver circuit diagram arduino.
A motor driver is an integrated circuit chip which is usually used to control motors in autonomous robots.
The schematic diagram below shows a simplified version of the internal circuitry that controls one motor.
While using this shield 6 analog pins which can be used as digital pins too pin 2 and pin 13 of arduino are free.
It can control both speed and spinning direction of any unipolar stepper motor like 28byj 48 or bipolar stepper motor like nema 17.
First of all we will connect the l293d motor driver ic with the arduino.
Each channel of this module has the maximum current of 1 2a and doesn t work if the voltage is more than 25v or less than 4 5v.
Driver ic l293d is available as module and arduino shield.
The l293d is a 16 pin motor driver ic which can control a set of two dc motors simultaneously in any direction.
The l293d motor driver s output channels for the motor a and b are brought out to pins out1 out2 and out3 out4 respectively.
How the l293d works.
L293d shield is a driver board based on l293 ic which can drive 4 dc motors and 2 stepper or servo motors at the same time.
Connect the pin 1 of the l293d ic the pin 7 of arduino.
Arduino dc motor speed and direction control with l293d motor driver.
Each channel on the ic can deliver up to 600ma to the dc motor.
How to use arduino l293d motor driver shield.
Circuit diagram and connections.
The l293d is designed to provide bidirectional drive currents of up to 600 ma per channel at voltages from 4 5 v to 36 v at pin 8.
Sometimes it can be extremely hot.
You can use it to control small dc motors toy motors.
L293d motor driver arduino interfacing.
The speed is controlled using a potentiometer connected to pin a0 and the direction of rotation can be changed with a pushbutton connected to pin 8.
Connect the pin 2 of l293d to the pin 6 of the arduino.
You can connect two dc motors having voltages between 4 5 to 36v to these terminals.
L293d motor driver modules usually come with an inbuilt lm317 voltage regulator circuit or similar voltage regulating circuit along with connectors.
The most commonly used motor driver ic s are from the l293 series such as l293d l293ne etc.
One of the easiest and inexpensive way to control stepper motors is to interface l293d motor driver ic with arduino.
Connect the pin 3 of the l293d to one end of the motor.
These ics are designed to control 2 dc motors simultaneously.
In the case of using servo motor pins 9 10 2 are in use.
The connections are given below.
Motor driver act as an interface between arduino and the motors.