All are functionally identical to HW-130.
Thermal considerations
AF_DCMotor motor1(1); // M1 terminals AF_DCMotor motor2(2); // M2 terminals hw 130 motor control shield for arduino datasheet
For those seeking to push the boundaries, the shield’s compatibility with ESP32 and other 3.3V boards opens up wireless and IoT motor‑control applications. With its low cost and high versatility, the HW-130 remains a staple in the maker community.
: Output screw terminals for DC Motor 3 and 4, or Stepper Motor 2. All are functionally identical to HW-130
This article serves as the complete datasheet and reference manual for the HW 130. We will cover pinouts, electrical characteristics, schematic logic, interfacing with Arduino, and advanced programming techniques.
Up to 2 stepper motors (unipolar or bipolar, single/double coil, interleaved, or micro-stepping) : Output screw terminals for DC Motor 3
void loop() servo1.write(90); servo2.write(45); delay(1000);
switch (command) case 'F': // Forward motorLeft.run(FORWARD); motorRight.run(FORWARD); break; case 'B': // Backward motorLeft.run(BACKWARD); motorRight.run(BACKWARD); break; case 'L': // Turn Left motorLeft.run(BACKWARD); motorRight.run(FORWARD); break; case 'R': // Turn Right motorLeft.run(FORWARD); motorRight.run(BACKWARD); break; case 'S': // Stop motorLeft.run(RELEASE); motorRight.run(RELEASE); break;