Hw 130 Motor Control Shield For Arduino Datasheet Free Fix Here

| A-IA (Pin) | A-IB (Pin) | Motor A State | | :--- | :--- | :--- | | LOW (0) | LOW (0) | Brake / Stop (Coast) | | HIGH (1) | LOW (0) | Forward (or CW) | | LOW (0) | HIGH (1) | Reverse (or CCW) | | HIGH (1) | HIGH (1) | Brake (Strong stop) |

The shield uses two L293D motor driver ICs and one 74HC595 shift register to expand the Arduino's control pins. :

void loop() // Forward at half speed using PWM analogWrite(MOTOR_A_IA, 128); // 50% duty cycle digitalWrite(MOTOR_A_IB, LOW); delay(2000);

Some versions of the HW‑130 have a jumper labeled or 5V‑EN . If this jumper is in place, the motor power supply also feeds the Arduino’s 5 V rail. Remove this jumper unless you are absolutely certain that your motor supply voltage is within a safe range for the Arduino (typically 7 V–12 V). A 12 V supply may be acceptable, but a 15 V supply can damage the Arduino.

The HW‑130 is a popular clone of the original . Because the original Adafruit design has been discontinued, the HW‑130 often serves as a low‑cost alternative that maintains full pin and code compatibility. The shield acts as a bridge between the low‑current logic pins of the Arduino and the high‑current demands of various motors. It also uses a 74HC595 serial‑to‑parallel converter to reduce the number of Arduino pins required, leaving more digital and analog pins free for other sensors and components. hw 130 motor control shield for arduino datasheet free

#define MOTOR1_DIR 4 #define MOTOR1_PWM 5

The speed control (PWM) pins are mapped directly to the Arduino: Controls DC Motor 1 (M1) speed PWM Pin 3: Controls DC Motor 2 (M2) speed PWM Pin 5: Controls DC Motor 3 (M3) speed PWM Pin 6: Controls DC Motor 4 (M4) speed Power Supply Configuration

Practical tips

This comprehensive technical datasheet and guide provides pinout configurations, specifications, and code examples to get your robotics projects moving. 1. Product Overview | A-IA (Pin) | A-IB (Pin) | Motor

// Run the motor backward motor.run(BACKWARD); delay(2000);

HW-130 Motor Control Shield for Arduino: The Complete Datasheet and User Guide

The shield maps to the Arduino pins as follows (default setup): DC Motor A Speed (PWM) Digital Pin 12: DC Motor A Direction Digital Pin 11: DC Motor B Speed (PWM) Digital Pin 13: DC Motor B Direction Digital Pin 9: Brake Motor A Digital Pin 8: Brake Motor B 2. Power Supply Configuration Go to product viewer dialog for this item.

Built-in thermal shutdown and internal ESD protection diodes Pinout and Interface Layout Remove this jumper unless you are absolutely certain

Operational from 4.5V DC up to 25V DC (or up to 36V if using upgraded L293D components). Pin Mapping and Interface Layout

Keeps electrical noise and current spikes isolated from the microcontroller. 5. Software Integration and Code Example

High-resolution timers tied directly to Arduino’s hardware PWM pins. 2. Technical Specifications Value / Range Driver ICs 2 x L293D H-Bridge Drivers, 1 x 74HCT595 Shift Register Logic Voltage 5V DC (From Arduino) Motor Supply Voltage (EXT_PWR) 4.5V to 25V DC (Recommended max: 12V to 16V) Output Current (Per Channel) 600mA Continuous Peak Output Current 1.2A (Non-repetitive pulse) Thermal Protection Automatic internal shutdown on overheat Pull-Down Resistors Keeps motors disabled during microcontroller power-up 3. Pinout Mapping and Interface