The HW‑130 is a low‑cost, Arduino‑compatible motor driver expansion board. Although a dedicated manufacturer’s datasheet is not publicly available, the hardware is functionally identical to the popular and shares the same core components: an L293D quad half‑H‑bridge driver and a 74HC595 serial‑to‑parallel shift register. This design reduces the number of Arduino pins needed to control up to four DC motors, two stepper motors, or two servo motors.
| IN1 (Pin 4) | IN2 (Pin 5) | ENA (Pin 3) | Motor A State | | :--- | :--- | :--- | :--- | | LOW | LOW | HIGH | Brake (stop fast) | | HIGH | LOW | HIGH | Forward | | LOW | HIGH | HIGH | Reverse | | HIGH | HIGH | HIGH | Brake (stop fast) | | X | X | LOW | Coast (free spin) |
On the board, you will find a small 2-pin jumper labeled (or EXT_PWR). hw 130 motor control shield for arduino datasheet
Many users damage their shields or Arduino boards because they ignore proper power supply practices. Follow these rules carefully.
#include <Servo.h>
Combines terminal blocks M1 and M2 (5 wires total, including ground).
Ensure you have installed the correct legacy version (V1) of the AFMotor.h library. | IN1 (Pin 4) | IN2 (Pin 5)
Unlike some generic L298N modules, the HW 130 reserves pins 3 and 11 for PWM, making it ideal for speed control. Do not use these pins for other sensors.