Hw 130 Motor Control Shield For Arduino Datasheet Better

At 1.5A per channel, the L298N gets very hot. The HW-130 includes a small aluminum heatsink (glued on). if running both motors continuously at high load.

| Parameter | Rating | Notes | | :--- | :--- | :--- | | | 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. |

Supports external power for motors to prevent Arduino damage. hw 130 motor control shield for arduino datasheet better

Up to (5V) connected to the Arduino’s high-resolution timers.

This is a classic beginner project that showcases the shield's capabilities. | Parameter | Rating | Notes | |

Note: Pin assignments can vary slightly depending on the specific clone manufacturer, but these are standard for the Adafruit-derived designs.

void motorA(int speed) // speed: -255 to 255 if (speed > 0) digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); else if (speed < 0) digitalWrite(IN1, LOW); digitalWrite(IN2, HIGH); speed = -speed; else digitalWrite(IN1, LOW); digitalWrite(IN2, LOW); | | Output Current (Per Channel) | 0

void loop() motorA(200); motorB(150); delay(3000); motorA(-200); motorB(-150); delay(3000); motorA(0); motorB(0); delay(1000);