HW-130 Motor Control Shield (often referred to as the L293D V1 Motor Shield) is a versatile expansion board for the Arduino Uno and Mega. It acts as a bridge, allowing the low-power signals from your Arduino to control high-power motors without damaging the microcontroller. Technical Specifications The core of this shield consists of two L293D dual-channel H-bridge drivers 74HC595 shift register to manage I/O pins efficiently. Motor Capacity 4 DC motors with individual 8-bit speed selection. 2 stepper motors (unipolar or bipolar). 2 "hobby" servos (5V) connected to dedicated high-resolution timers. Power Ratings : Supports motors between 4.5V and 25V : Provides 600mA per channel (1.2A peak) with thermal shutdown protection. Safety Features

The HW-130 Motor Control Shield is suitable for a wide range of applications, including:

  • Jumper ON (Default): Powers the Arduino from the motor power supply. The motor voltage powers the Arduino's VIN pin.

    For DC Motors

    | Function | Arduino Pin | Description | | :--- | :--- | :--- | | Motor A Control | | | | IN1 | D4 | Direction Control A | | IN2 | D5 | Direction Control A | | Motor B Control | | | | IN3 | D6 | Direction Control B | | IN4 | D7 | Direction Control B | | Speed Control (PWM) | | | | ENA | D9 | Speed Control Motor A (Requires PWM) | | ENB | D10 | Speed Control Motor B (Requires PWM) | | Servos | | | | Servo 1 | D9 | (Shared with ENA - Check specific board revision) | | Servo 2 | D10 | (Shared with ENB - Check specific board revision) |

  • Two-motor differential drive:

    When to upgrade:

    int enA = 6; // PWM speed for Motor A int in1 = 4; int in2 = 7;

    Proper powering is critical to avoid damaging your Arduino or the shield:

    // Stop motors digitalWrite(motorAPin1, LOW); digitalWrite(motorAPin2, LOW); digitalWrite(motorBPin1, LOW); digitalWrite(motorBPin2, LOW);