What is Shield?
This type of L293d motor control module has the capacity to control up to four direct current motors, two servo motors, four solenoids, four relays and two unipolar or bipolar stepper motors.
Its main elements are two integrated circuits (L293D) that allow them to manipulate the direction of rotation through four h bridges and a shift register (SN74HC595N).
It is designed to be mounted to the arduino uno or mega.
What is it for?
With this module you can manipulate the speed and direction of rotation of up to four motors, two SG90 or MG995 servo motors and two stepper motors, among others.
How does it work?
When you need to use motors that demand too much current, you need to feed the board from an external source, this will allow them to operate correctly.
Once this is done you can connect the motors you want to control. Remember that this L293d motor control module must be programmed in C language through the ARDUINO IDE.
How to connect the Shield module?
DC motors are connected to M1 where they correspond to the first and second slots.
For the second motor they are connected in the M2 that correspond to the fourth and fifth slot.
The center pin is used to control stepper motors.
This same setup is used on the M3 and M4.
In the case of motors, it is possible to control both their speed and their direction of rotation.
How to feed the servos?
The outputs for the servos take their power directly from the 5 volts of the Arduino board, so it is recommended to use small hobby type servos.
How to feed servos that consume more current?
If you need to use larger servos with high current consumption, it is recommended that you cut the V+ power track on the shield or the positive cable of the servo and provide your own supply to these.
Don’t forget to connect the corresponding grounds.
How to supply with an external source?
The power supply of the motors or other inductive loads can be supplied with an external source, all you have to do is remove the jumper so that the module enters external power mode. If you use the shield’s screw connector, take into account the polarity, since this input does not have a polarity protection diode and a wrong connection will result in damage to the module and the Arduino board.
Also, do not connect the regulated 5 volt or 3.3 volt output from the arduino board to this input.
SPECIFICATIONS AND FEATURES
External power between 4.5 to 25 VDC
DC motor speed control with 8-bit resolution
Control of stepper motors with 1 and 2 coils in single, double (higher torque), interleaved (half-step) and micro-stepper modes 2 independent connectors to control 2 small 5V servos (digital pins 9 and 10)
Thermal overload protection
Protection diodes against reverse voltages generated by inductive loads
Maximum continuous current on each of the outputs M1, M2, M3 and M4: 600 mA (0.6 A)
Maximum non-repetitive peak current in each of the outputs M1, M2, M3 and M4: 1.2 A
Pull-down resistors that keep motors disabled during power up
Requires an external source to power the loads on outputs M1, M2, M3 and M4
Reset button for the Arduino board
Tested compatibility with Arduino UNO and Mega 2560