Hw 130 Motor Control Shield For Arduino Datasheet [exclusive] May 2026
Pins 2 and 13 are usually free, along with the Analog pins (A0–A5), which can also be used as digital I/O for sensors. 4. How to Use the HW-130 with Arduino
Check the PWR jumper. If it's off and you haven't connected external power to the shield, the motors won't move even if the Arduino is on. hw 130 motor control shield for arduino datasheet
Remove the if using a separate power supply for the motors. Basic Code Example: Pins 2 and 13 are usually free, along
This datasheet and guide will cover the specifications, pinouts, and practical usage of the HW-130. 1. Technical Specifications If it's off and you haven't connected external
#include AF_DCMotor motor(1); // Select motor M1 void setup() { motor.setSpeed(200); // Set speed from 0 (off) to 255 (max) motor.run(RELEASE); // Stop motor initially } void loop() { motor.run(FORWARD); delay(2000); motor.run(BACKWARD); delay(2000); motor.run(RELEASE); delay(1000); } Use code with caution. 5. Troubleshooting Tips
Connect an external 9V battery or Li-ion pack to the block (observe polarity!).
The HW-130 Motor Control Shield is an essential "bridge" for robotics. While it uses an older L293D architecture, its ease of use and compatibility with the Adafruit library make it the go-to choice for students and hobbyists building their first motorized creations.