Hw 130 Motor Control Shield For Arduino Datasheet Better Jun 2026

Troubleshooting checklist

motor.setSpeed(200); // Set the speed (0-255) motor.run(RELEASE); // Turn motor off initially

This is a two-terminal block where you connect the power supply for your motors. The supply's positive wire goes to EXT_PWR(+) and the ground to GND . This source will power the motors directly and, if the PWR jumper is in place, power the Arduino through its 5V regulator.

The library is available directly through the Arduino Library Manager. hw 130 motor control shield for arduino datasheet better

The HW-130 Motor Control Shield boasts an impressive array of features that make it an attractive option for Arduino enthusiasts. Some of the key features include:

Arduino powered via USB – the shield’s green LED (near VM) should light. If not, remove battery and check polarity.

To avoid manual bit-shifting, use the . It is the standard for the HW-130. Example Code Snippet Troubleshooting checklist motor

Introduction The HW-130 motor control shield is a compact, Arduino-compatible motor driver board that targets hobbyists and makers building small robots, RC vehicles, and automation projects. This post provides a clearer, more usable “datasheet-style” overview plus practical tips, wiring diagrams, Arduino code basics, and troubleshooting to help you get the most from the HW-130.

digitalWrite(IN3, LOW); digitalWrite(IN4, HIGH); analogWrite(ENB, 255);

The most significant difference is that the , while an L298N can supply over 2A. For small robots with small motors, the HW-130 is ideal. For anything larger, an L298N or a more powerful shield is necessary. The library is available directly through the Arduino

const int dir1 = 7; const int pwm1 = 6;

| Feature | Specification | | :--- | :--- | | | L298N (ST) | | Operating Voltage | Logic: 5V | Motor Power: 7V – 12V (Recommended), Max 24V | | Output Current | 2A per channel (Max), 1A continuous recommended | | Peak Power | 25W | | Driven Motors | 2x DC Motors OR 1x Stepper Motor (4-wire) | | Protection | Built-in 4x 1N5819 High-speed Schottky Diodes (Back EMF) | | Size | Standard Arduino Shield Dimensions |

: Offers individual 8-bit speed selection (approx. 0.5% resolution). Key Hardware Features

// Motor B backward digitalWrite(motorBPin1, LOW); digitalWrite(motorBPin2, HIGH);