|
![]() |
For any serious project with motors exceeding 700 mA, consider upgrading to a MOSFET-based shield, but for light robotics and classroom work, the HW-130 remains a reliable workhorse. Document version 1.0 – Last updated: April 2026 This datasheet is based on reverse engineering of the HW-130 hardware and public L293D documentation.
void setup() stepper.setSpeed(30); // 30 rpm
Download from Adafruit’s GitHub or via Arduino Library Manager (search “Adafruit Motor Shield”). hw 130 motor control shield for arduino datasheet
void loop() stepper.step(100, FORWARD, SINGLE); delay(1000); stepper.step(100, BACKWARD, DOUBLE); delay(1000);
#include <AFMotor.h> AF_DCMotor motor1(1); // M1 AF_DCMotor motor2(3); // M3 For any serious project with motors exceeding 700
void loop() motor1.run(FORWARD); motor2.run(BACKWARD); delay(2000); motor1.run(RELEASE); // stop motor2.run(RELEASE); delay(1000);
#include <AFMotor.h> AF_Stepper stepper(48, 1); // 48 steps per revolution, motor port 1 (M1+M2) void loop() stepper
Approx. 4W (with proper cooling) 3. Pinout & Hardware Layout The HW-130 sits directly on top of the Arduino Uno. It uses the following Arduino digital and analog pins (note that analog pins A0–A5 are broken out for general use ): Dedicated Motor Pins: | Motor | Direction Pin (Arduino) | PWM Speed Pin (Arduino) | |-------|------------------------|-------------------------| | M1 | D12 | D5 | | M2 | D11 | D6 | | M3 | D8 | D9 | | M4 | D7 | D10 |
|
| Home
| Publications
| Books | Magazine
| CD-ROM | Audio
| Video
| Daily puja | Greetings
Cards | Creative Gift Items
|
|
|
|
|
© 2003, Bochasanwasi
Shree Akshar Purushottam Swaminarayan Sanstha, Swaminarayan Aksharpith
|