Hw 130 Motor Control Shield For Arduino Datasheet Better May 2026

The L298N chip loses ~1.5V to 2V under load. If you feed it 6V, your motor sees only ~4.5V. For full performance, use 9V or 12V batteries.

These specs are based on the L293D integrated circuit capabilities.

| Parameter | Rating | Notes | | :--- | :--- | :--- | | Motor Driver IC | L293D | Provides bi-directional control. | | Operating Voltage | 4.5V – 25V | Supplied via the External Power Terminal block. | | Logic Voltage | 5V | Supplied by the Arduino via the USB or Vin. | | Output Current (Per Channel) | 0.6A (Continuous) | Max peak current is 1.2A per channel. | | Total Max Current | ~1.2A – 1.5A | The L293D gets hot quickly above 0.5A. | | Number of Motors | 4 DC Motors OR 2 Stepper Motors | Cannot run 4 steppers, only 2. | | Servo Ports | 2 | Connected directly to Arduino Pins 9 and 10. | | Thermal Protection | Yes | Built into the L293D, but use a heatsink for high loads. | hw 130 motor control shield for arduino datasheet better


Actually, let’s map that clearly:

| Shield Label | Arduino Pin | Function | |--------------|-------------|-----------------------| | IN1 | D4 | Motor A direction 1 | | IN2 | D7 | Motor A direction 2 | | EN A (PWM) | D6 | Motor A speed | | IN3 | D8 | Motor B direction 1 | | IN4 | D12 | Motor B direction 2 | | EN B (PWM) | D9 | Motor B speed | The L298N chip loses ~1

Note: D5 and D10 are unused on most HW-130 boards – they are remnants of other shield designs. Stick to D6 and D9 for PWM.


The HW 130 motor control shield for Arduino is a capable, inexpensive workhorse—but only if you know its real limits. The original datasheet fails to warn about dead zones, thermal throttling, and proper power sequencing. By following this guide, you can: Actually, let’s map that clearly: | Shield Label

Final better practice:
Always treat the HW-130 datasheet as a starting point, not a bible. Measure voltage drops, monitor temperature, and add external flyback diodes. And if you truly need a “better” experience, use this knowledge to transition to a modern MOSFET-based driver.


Have questions about the HW-130 that even this guide didn’t answer? Leave a comment (or check the L298N original datasheet from STMicroelectronics – it’s actually well-written).

Here is the "deep story" datasheet and technical breakdown you need to get the most out of this hardware.


Here is a complete code example to drive two DC motors forward, stop, reverse, and stop.

// HW-130 Motor Shield Pin Definitions
#define ENA 9   // Speed Motor A
#define IN1 4   // Direction Motor A
#define IN2 5   // Direction Motor A
#define ENB 10  // Speed Motor B
#define IN3 6   // Direction Motor B
#define IN4 7   // Direction Motor B
void setup() 
  // Set all control pins to outputs
  pinMode(ENA, OUTPUT);
  pinMode(IN1, OUTPUT);
  pinMode(IN2, OUTPUT);
pinMode(ENB, OUTPUT);
  pinMode(IN3, OUTPUT);
  pinMode(IN4, OUTPUT);
void loop() 
  // --- Move Forward (Half Speed) ---
  digitalWrite(IN1, HIGH);
  digitalWrite(IN2, LOW);
  analogWrite(ENA, 150); // Speed (0-255)
digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
  analogWrite(ENB, 150);
delay(2000); // Run for 2 seconds
// --- Stop ---
  digitalWrite(IN1, LOW);
  digitalWrite(IN2, LOW);
  delay(1000);
// --- Move Reverse (Full Speed) ---
  digitalWrite(IN1, LOW);
  digitalWrite(IN2, HIGH);
  analogWrite(ENA, 255);
digitalWrite(IN3, LOW);
  digitalWrite(IN4, HIGH);
  analogWrite(ENB, 255);
delay(2000);
// --- Stop ---
  digitalWrite(IN1, LOW);
  digitalWrite(IN2, LOW);
  digitalWrite(IN3, LOW);
  digitalWrite(IN4, LOW);
  delay(1000);