Hw 130 Motor Control Shield For Arduino Datasheet Free -

| Terminal | Signal | Direction | Description | | :--- | :--- | :--- | :--- | | J1-1 | Motor A+ | Output | Positive lead of Motor A | | J1-2 | Motor A- | Output | Negative lead of Motor A | | J2-1 | Motor B+ | Output | Positive lead of Motor B | | J2-2 | Motor B- | Output | Negative lead of Motor B |

The HW-130 maps the L298P controls to the Arduino as follows:

| Function | Arduino Pin | Description | | :--- | :--- | :--- | | Motor A Direction | D12 | Controls direction of M1 (HIGH/LOW) | | Motor A Speed (PWM) | D3 | Controls speed of M1 (PWM 0-255) | | Motor B Direction | D13 | Controls direction of M2 (HIGH/LOW) | | Motor B Speed (PWM) | D11 | Controls speed of M2 (PWM 0-255) | | Brake A | D9 | Active LOW (Usually kept HIGH for free-run) | | Brake B | D8 | Active LOW (Usually kept HIGH for free-run) |

(Note: On some generic variations of this board, the Direction and Speed pins may be swapped (e.g., D5/D6 for speed), but the D3/D11/D12/D13 configuration is standard for the L298P Shield design.)

Here is a free, ready-to-use code snippet to test the HW-130 shield. This code will accelerate Motor A forward, then reverse, and stop. hw 130 motor control shield for arduino datasheet free

// HW-130 Motor Shield Pin Definitions
#define M1_SPEED 3  // PWM Pin for Motor A Speed
#define M1_DIR  12  // Direction Pin for Motor A
#define M2_SPEED 11 // PWM Pin for Motor B Speed
#define M2_DIR  13  // Direction Pin for Motor B

void setup() // Configure pins as outputs pinMode(M1_SPEED, OUTPUT); pinMode(M1_DIR, OUTPUT);

// Optional: If your board uses Brake pins (D8/D9) // pinMode(9, OUTPUT); digitalWrite(9, HIGH); // Disable Brake M1

void loop() // --- Motor A Forward Acceleration --- digitalWrite(M1_DIR, HIGH); // Set Direction Forward

// Accelerate from 0 to full speed for (int speed = 0; speed <= 255; speed++) analogWrite(M1_SPEED, speed); delay(20); | Terminal | Signal | Direction | Description

delay(1000); // Run at full speed for 1 second

// --- Stop --- analogWrite(M1_SPEED, 0); delay(1000);

// --- Motor A Reverse --- digitalWrite(M1_DIR, LOW); // Set Direction Reverse

// Run at half speed analogWrite(M1_SPEED, 128); delay(2000); void loop() // --- Motor A Forward Acceleration

// Stop analogWrite(M1_SPEED, 0); delay(2000);

Unlike the generic L293D, the HW 130 shield includes onboard power regulation, status LEDs, and logic-level converters.

| Parameter | Value | | :--- | :--- | | Driver IC | L293D (x1) | | Logic Voltage | 5V (from Arduino) | | Motor Supply (VS) | 4.5V – 36V DC (External terminal) | | Max Continuous Current per channel | 600 mA | | Peak Current (per channel) | 1.2 A (for ~100ms) | | Max Total Current (all motors) | 1.2 A | | PWM Frequency Range | 0 – 5 kHz (optimal) | | Thermal Shutdown | Yes (at ~150°C) | | Flyback Diodes | Integrated (inside L293D) | | Board Size | 68.6mm x 53.3mm (Uno R3 footprint) |

The HW-130 is a low-cost, compact motor driver shield designed for Arduino Uno (and compatible) boards. It allows the control of two DC motors (bidirectional) or one stepper motor. The shield is based on the L9110S (or equivalent MX1508) H-bridge driver IC, known for its low saturation voltage and internal protection diodes.