L293D Motor Driver Board

L293D Motor Driver Board
1. Motor Driver IC: Dual L293D H-Bridge
2. Current per Channel: 0.6A
3. Motor Outputs: 4 DC motors or 2 steppers
4. Servo Ports: 2 (pins 9 & 10)
5. Logic Control Voltage: 4.5V–5.5V
6. Motor Input Voltage: 7V–12V DC

Apple Shopping Event

Hurry and get discounts on all Apple devices up to 20%

120,00 EGP

11 People watching this product now!

Payment Methods:

Description

The L293D Motor Driver/Servo Shield for Arduino is probably one of the most versatile on the market and features 2 servo and 4 motor connectors for DC or stepper motors. That makes it a great shield for any robotic project.

This Arduino compatible motor Driver shield is a full-featured product that it can be used to drive 4 DC motor or two 4-wire steppers and two 5v servos. It drives the DC motor and stepper with the L293D, and it drives the servo with Arduino pin9 and pin10.

The shield contains two L293D motor drivers and one 74HC595 shift register. The shift register expands 3 pins of the Arduino to 8 pins to control the direction of the motor drivers. The output enables the L293D is directly connected to the PWM outputs of the Arduino.

Firmware
  1. Arduino Stepper/Servo software library with microstepping support.
    To install, click on Download in the top right corner, select zip and uncompress the folder.
    Rename the folder to AF-motor (check that the renamed folder contains the .cpp and .h files) and install it into the Arduino sketches/libraries folder. For information on how to use and install libraries, see our tutorial! This version now works with the Mega. Public domain!
  2. AccelStepper library with AFMotor support. This library allows for advanced stepper control including acceleration and deceleration, and concurrent stepper control!
    To install, click on Download in the top right corner, select zip and uncompress the folder.
    Rename the folder to AF-motor (check that the renamed folder contains the .cpp and .h files) and install it into the Arduino sketches/libraries folder.
Note:

Power for the motors can be supplied from the Arduino boards DC Jack (normally 9V) or from the 2-pin EXT-PWR terminal block. If you are supplying power from the EXT_PWR terminal block you should remove the PWR jumper or you could damage the shield and the Arduino board.

<>

Features :

  1. 2 connections for 5V ‘hobby’ servos connected to the Arduino’s high-resolution dedicated timer
  2. 4 H-Bridges: L293D chipset provides 0.6A per bridge (1.2A peak) with thermal shutdown protection, internal kickback protection diodes. Can run motors on 4.5VDC to 25VDC.
  3. Up to 4 bi-directional DC motors with individual 8-bit speed selection (so, about 0.5% resolution)
  4. Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil, or interleaved stepping.
  5. Pull-down resistors keep motors disabled during power-up
  6. Big terminal block connectors to easily hook up wires (18-26AWG) and power
  7. Arduino reset button brought up top
  8. 2-pin terminal block and jumper to connect external power, for separate logic/motor supplies
  9. Tested compatible with Arduino Mega 1280 & 2560, Diecimila, Duemilanove, and UNO
  10. Download the easy-to-use Arduino software library, check out the examples and you’re ready to go!

Package Includes :

1 x L293D Motor Driver/Servo Shield for Arduino

🔌
Pin Connections
1 Table
Pin Connections Table 1
BoardSensor PinConnection
L293DIN1/IN2/ENAboard digital / board digital / board PWM pin
📟
L293D Motor Driver Board
7 Examples • C/C++ | Boards: Arduino Uno, Arduino Nano, Arduino Mega, ESP32, ESP8266, STM32, Raspberry Pi Pico
L293D Motor Driver Board - Arduino Uno
L293D Motor Driver Board - Arduino Nano
L293D Motor Driver Board - Arduino Mega
L293D Motor Driver Board - ESP32
L293D Motor Driver Board - ESP8266
L293D Motor Driver Board - STM32
L293D Motor Driver Board - Raspberry Pi Pico
📄 File: l293d_motor_driver_board_-_arduino_uno.inoArduino Uno
867 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=8, IN2=9, ENA(PWM speed)=10 on Arduino Uno. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 8
7#define IN2 9
8#define ENA 10
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
📄 File: l293d_motor_driver_board_-_arduino_nano.inoArduino Nano
868 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=8, IN2=9, ENA(PWM speed)=10 on Arduino Nano. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 8
7#define IN2 9
8#define ENA 10
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
📄 File: l293d_motor_driver_board_-_arduino_mega.inoArduino Mega
868 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=8, IN2=9, ENA(PWM speed)=10 on Arduino Mega. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 8
7#define IN2 9
8#define ENA 10
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
📄 File: l293d_motor_driver_board_-_esp32.inoESP32
865 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=26, IN2=27, ENA(PWM speed)=25 on ESP32. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 26
7#define IN2 27
8#define ENA 25
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
📄 File: l293d_motor_driver_board_-_esp8266.inoESP8266
867 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=D5, IN2=D6, ENA(PWM speed)=D7 on ESP8266. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 D5
7#define IN2 D6
8#define ENA D7
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
📄 File: l293d_motor_driver_board_-_stm32.inoSTM32
871 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=PB0, IN2=PB1, ENA(PWM speed)=PA8 on STM32. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 PB0
7#define IN2 PB1
8#define ENA PA8
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
📄 File: l293d_motor_driver_board_-_raspberry_pi_pico.inoRaspberry Pi Pico
877 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// L293D: IN1=14, IN2=15, ENA(PWM speed)=16 on Raspberry Pi Pico. Motor's own power (up to several amps) comes from a separate supply into the driver board, never from the microcontroller pin.
6#define IN1 14
7#define IN2 15
8#define ENA 16
9
10void setup() {
11 Serial.begin(115200);
12 pinMode(IN1, OUTPUT);
13 pinMode(IN2, OUTPUT);
14 pinMode(ENA, OUTPUT);
15}
16
17void driveForward(int speed) { // speed 0-255
18 digitalWrite(IN1, HIGH);
19 digitalWrite(IN2, LOW);
20 analogWrite(ENA, speed);
21}
22
23void driveReverse(int speed) {
24 digitalWrite(IN1, LOW);
25 digitalWrite(IN2, HIGH);
26 analogWrite(ENA, speed);
27}
28
29void stopMotor() {
30 digitalWrite(IN1, LOW);
31 digitalWrite(IN2, LOW);
32}
33
34void loop() {
35 driveForward(200);
36 delay(2000);
37 stopMotor();
38 delay(500);
39 driveReverse(200);
40 delay(2000);
41 stopMotor();
42 delay(500);
43}
Dual H-bridge motor driver, lower current than L298N - same IN/EN control scheme.

Specification

Specification

WeightWeight35,0000 g
Dimensions70 × 45 × 18 cm
Driver ICL293D (x2)
Current per Channel0.6A
DC Motor Outputs4
Stepper Motor Outputs2 (4-wire)
Servo Connectors2, Pins 9 & 10
Logic Control Voltage (Vss)4.5~5.5V
Motor Input Voltage (VDC)7 to 12
Form FactorArduino Uno Shield
CompatibilityArduino Uno

Customer Reviews