Mini L293D Dual DC Motor Driver Module – Arduino Compatible
The Mini L293D Motor Driver Module is a compact motor control board designed to control the speed and direction of DC motors and bipolar stepper motors using Arduino, ESP32, and other microcontrollers.
Featuring the L293D dual H-bridge motor driver IC, this module can independently control two DC motors or one bipolar stepper motor. It supports bidirectional motor operation and PWM speed control, making it suitable for robotics, automation, and educational electronics projects.
The module includes onboard motor connection terminals and control pin headers for easy integration into electronic circuits. Its compact design makes it particularly useful for small robotic vehicles and motor-driven mechanisms.
Key Features
-
L293D Motor Driver IC: Dual H-bridge driver for controlling inductive loads.
-
Dual DC Motor Control: Independently controls two brushed DC motors.
-
Stepper Motor Support: Can drive one bipolar stepper motor.
-
Bidirectional Rotation: Supports forward and reverse motor operation.
-
PWM Speed Control: Adjusts DC motor speed using PWM signals from a microcontroller.
-
Motor Supply Range: L293D IC supports motor supply voltages from 4.5V to 36V.
-
Logic Supply: 5V logic supply for the L293D IC.
-
Motor Current: Up to 600mA continuous output current per channel under specified conditions.
-
Peak Current: Up to 1.2A per channel for short-duration pulses under specified conditions.
-
Built-In Protection Diodes: L293D includes internal clamp diodes for inductive loads.
-
Compact PCB Design: Suitable for small robotics and embedded systems.
-
Arduino Compatible: Can be controlled using Arduino UNO, MEGA, Nano, and other compatible boards.
-
ESP32 Compatible: Can be interfaced with ESP32 using suitable logic and power connections.
Technical Specifications
| Parameter |
Specification |
| Product Type |
Dual H-Bridge Motor Driver Module |
| Driver IC |
L293D |
| Driver Type |
Dual H-Bridge |
| Motor Supply Voltage |
4.5–36V DC (IC specification) |
| Logic Supply Voltage |
5V DC |
| Logic Input Type |
TTL-Compatible |
| Continuous Output Current |
Up to 600mA per channel |
| Peak Output Current |
Up to 1.2A per channel (short duration) |
| DC Motor Capacity |
2 Brushed DC Motors |
| Stepper Motor Capacity |
1 Bipolar Stepper Motor |
| Motor Direction |
Forward / Reverse |
| Speed Control |
PWM |
| Control Interface |
Digital GPIO and PWM |
| Protection |
Internal Inductive Clamp Diodes |
| Motor Connections |
Screw Terminal Block |
| Control Connections |
Pin Headers |
| Compatible Controllers |
Arduino, ESP32 and Other Microcontrollers |
Note: The voltage and current ratings above are specifications of the L293D IC. Actual module performance depends on PCB design, cooling, motor load, and power supply conditions.
Pin Configuration
The L293D motor driver uses the following control signals. Pin labels and physical positions may vary depending on the module version.
| Pin / Signal |
Function |
| VCC1 / VSS |
5V Logic Power Supply |
| VCC2 / VS |
Motor Power Supply |
| GND |
Ground |
| IN1 |
Motor A Direction Input 1 |
| IN2 |
Motor A Direction Input 2 |
| IN3 |
Motor B Direction Input 1 |
| IN4 |
Motor B Direction Input 2 |
| EN1 / ENA |
Motor A Enable / PWM |
| EN2 / ENB |
Motor B Enable / PWM |
| OUT1 |
Motor A Output 1 |
| OUT2 |
Motor A Output 2 |
| OUT3 |
Motor B Output 1 |
| OUT4 |
Motor B Output 2 |
Some module versions include onboard enable jumpers or fixed enable connections. Check the PCB markings before wiring.
Arduino UNO Connection Example
The following example illustrates a typical connection for controlling two DC motors using an L293D driver.
| L293D Signal |
Arduino UNO |
| IN1 |
D2 |
| IN2 |
D3 |
| IN3 |
D4 |
| IN4 |
D7 |
| ENA |
D5 (PWM) |
| ENB |
D6 (PWM) |
| Logic Supply |
5V |
| GND |
GND |
| Motor Supply |
External Motor Power Supply |
Important: Connect the Arduino ground and motor power supply ground together.
Motor Direction Control
| IN1 |
IN2 |
Motor A Operation |
| LOW |
LOW |
Coast / No Drive |
| HIGH |
LOW |
Forward |
| LOW |
HIGH |
Reverse |
| HIGH |
HIGH |
Brake |
Motor A must be enabled for the direction inputs to control its outputs. Motor B operates similarly using IN3 and IN4.
Arduino Programming Example
The following example demonstrates basic forward, reverse, and stop control for one DC motor.
const int IN1 = 2;
const int IN2 = 3;
const int ENA = 5;
void setup() {
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(ENA, OUTPUT);
}
void loop() {
// Forward
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
analogWrite(ENA, 200);
delay(2000);
// Stop
analogWrite(ENA, 0);
delay(1000);
// Reverse
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
analogWrite(ENA, 200);
delay(2000);
// Stop
analogWrite(ENA, 0);
delay(1000);
}
Note: This example assumes the module exposes an enable input connected to Arduino pin D5. Verify the actual module pinout before connecting.
Applications
- Arduino robotics projects
- Two-wheel robotic cars
- Small mobile robots
- DC motor speed control
- Forward and reverse motor control
- Bipolar stepper motor projects
- Educational robotics
- Miniature conveyor systems
- Motorized mechanisms
- DIY automation projects
- Electronic prototyping
- Small mechanical actuators
- Embedded motor control systems
Important Notes
- The L293D is designed for small DC motors and bipolar stepper motors.
- It is not suitable for high-current motors exceeding the driver's electrical and thermal limits.
- The motor supply voltage must match the connected motor's rated voltage.
- The L293D requires a suitable 5V logic supply.
- The motor power supply should be selected according to the motor's operating and stall current.
- Motor power should normally be supplied from an external source rather than directly from a microcontroller GPIO pin.
- Connect all circuit grounds together.
- The L293D has a noticeable voltage drop across its output transistors. The motor may receive significantly less voltage than the motor supply.
- Continuous operation at high current may cause excessive heat.
- Avoid short circuits at the motor outputs.
- Do not connect or disconnect motors while the circuit is powered.
- ESP32 operates at 3.3V logic levels. Although the L293D IC has TTL-compatible inputs, verify the module's input circuitry before connecting it directly.
- The module is not intended for driving brushless DC motors.
- Check the PCB pin labels and enable connections before installation.
Package Includes