Hw 130 Motor Control Shield For Arduino Datasheet -
If you’ve bought a cheap "HW-130" motor driver shield from Amazon, eBay, or AliExpress, you probably noticed one thing immediately:
Up to 2 hobby servo motors (5V high-resolution timers tied to Arduino pins 9 and 10) Pinout and Hardware Configuration
Used for PWM (Pulse Width Modulation) speed control of DC/Stepper motors. hw 130 motor control shield for arduino datasheet
I can provide a tailored wiring schematic or custom code for your exact build! AI responses may include mistakes. Learn more Share public link
void loop() stepper.step(100, FORWARD, SINGLE); delay(1000); stepper.step(100, BACKWARD, DOUBLE); delay(1000); If you’ve bought a cheap "HW-130" motor driver
Because it uses a shift register, the motors are not connected to the Arduino directly. You use a library like the Adafruit Motor Shield Library (v1) to communicate with them. Arduino Pin Usage Digital Pin 9 Digital Pin 10 DC Motor 1 / Stepper 1 Digital Pin 11 (PWM) DC Motor 2 / Stepper 1 Digital Pin 3 (PWM) DC Motor 3 / Stepper 2 Digital Pin 5 (PWM) DC Motor 4 / Stepper 2 Digital Pin 6 (PWM) Latch (74HC595) Digital Pins 4, 7, 8, and 12 Power Management External Power (EXT_PWR):
For advanced users, the 74HC595 shift register allows the L293D’s enable and direction pins to be controlled with only three GPIOs (data, clock, latch). This is why the shield leaves most Arduino pins free for other uses. Learn more Share public link void loop() stepper
// Ramp down speed for (int speed = 255; speed >= 0; speed--) analogWrite(ENA, speed); analogWrite(ENB, speed); delay(10);
These pins control the speed of the connected DC motors via Pulse Width Modulation (PWM). Digital Pin 11 Motor 2 (M2): Digital Pin 3 Motor 3 (M3): Digital Pin 5 Motor 4 (M4): Digital Pin 6 Powering the HW-130 Shield
| Connector | Label | Description | | :--- | :--- | :--- | | J1 (Screw Term) | | Motor supply voltage (6V–12V). Do not exceed 12V for extended periods. | | J1 (Screw Term) | GND | Common ground for motors and logic. Must connect to Arduino GND. | | J2 (Screw Term) | OUT1 / OUT2 | Motor A terminals (connect one DC motor here). | | J3 (Screw Term) | OUT3 / OUT4 | Motor B terminals. | | JP2 | +5V | 5V Output from onboard regulator (or input if VS <7V). | | JP3 | ENA | Enable Channel A jumper. Short = motor enabled. Remove for PWM control. | | JP4 | ENB | Enable Channel B jumper. Remove for PWM control. | | JP1 | Power Select | Short to enable onboard 5V regulator. Open to power logic externally via +5V. |
The HW-130 Motor Control Shield is an affordable, easy-to-use solution for beginners and hobbyists needing to drive small DC motors, steppers, or solenoids with Arduino. While it lacks the power of newer driver shields, its simplicity, direct library support, and stackable design make it an excellent choice for learning motor control fundamentals.
