Hw 130 Motor Control Shield For Arduino Datasheet | 2024-2026 |

The HW 130 includes a current sensing circuit: a 0.5Ω resistor and a voltage divider. The output at CS A (Arduino A0) is approximately 0.5V per Ampere.

Formula: Motor Current (A) = (analogRead(A0) * (5.0 / 1023.0)) / 0.5

Practical Use: Detect stalls, measure load, or implement torque limiting.

int currentPin = A0;
float voltage, current;

void setup() Serial.begin(9600);

void loop() // Read current from Motor A voltage = analogRead(currentPin) * (5.0 / 1023.0); current = voltage / 0.5; // Because sensor is 0.5V/A Serial.print("Motor Current: "); Serial.print(current); Serial.println(" A"); delay(500); hw 130 motor control shield for arduino datasheet


The heart of the HW 130 is the L298N dual full-bridge driver. To understand the logic, you must grasp the truth table for one channel (using IN1/IN2 and ENA).

| Feature | HW 130 (L298N) | L293D Shield | TB6612FNG Shield | | :--- | :--- | :--- | :--- | | Max Current per channel | 2A (3A peak) | 0.6A | 1.2A (3.2A peak) | | Voltage Drop | ~2V | ~1.5V | ~0.5V | | Efficiency | Low (linear) | Low | High (MOSFET) | | PWM Frequency | Up to 25kHz | Up to 5kHz | Up to 100kHz | | Cost | $5–$8 | $10–$12 | $12–$15 | | Best For | High current, low cost | Small servos/gearmotors | Battery-powered robots |

Verdict: The HW 130 is the best budget option for high-torque DC motors (e.g., robot tank motors) but not for precision servo control or low-voltage operation. The HW 130 includes a current sensing circuit: a 0


The datasheet for the HW-130 can be confusing regarding which Arduino pins are used. Unlike generic L298N modules where you pick the pins, this shield has fixed mappings because the pins are hard-wired on the PCB.

DC Motor Connections:

Servo Connections (Standard 3-pin headers):

Important Datasheet Warning: The datasheet often fails to mention that using the servo pins (D9, D10) disables the ability to use the Servo.h library and PWM on pins D9/D10 simultaneously without conflict on some Arduino variants, though generally, they work fine for standard hobby servos. Note that D9 and D10 are also PWM pins, so you lose the ability to use them for other analogWrite functions if servos are attached. void loop() // Read current from Motor A

| Version | Changes | |---------|--------------------------------------| | V1.0 | Initial release (green PCB) | | V1.1 | Added external power LED indicator | | V1.2 | Silkscreen fixed for M3/M4 polarity |

Clones:

All are functionally identical to HW-130.


Scroll to Top