Hw 130 Motor Control Shield For Arduino Datasheet Jun 2026
Serial.println("Backward at speed 100"); motor.run(BACKWARD); // Spin counter-clockwise motor.setSpeed(100); delay(2000);
#include <AFMotor.h>
4.5V to 25V (though some versions specify up to 12V or 16V depending on capacitor ratings). Protection: Internal kickback diodes and thermal shutdown. 5.imimg.com Pinout and Connectivity
The is a highly versatile, multi-functional hardware expansion board designed to simplify robotics and mechatronics projects. It operates as a plug-and-play addition for the Arduino UNO and Arduino Mega, removing the need for messy breadboard layouts and complex wiring configurations. Technical Specifications & Datasheet Breakdown hw 130 motor control shield for arduino datasheet
I can help with the wiring diagram or a specific code snippet.
void loop() // Ramp up speed from 0 to 255 for (int speed = 0; speed <= 255; speed++) analogWrite(ENA, speed); analogWrite(ENB, speed); delay(10);
| 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 | Serial
Two-pin screw terminals used to connect up to 4 bi-directional DC motors.
// Stop analogWrite(ENA, 0); delay(500);
// HW-130 L298P Motor Shield Pin Definitions const int E1 = 10; // M1 Speed (PWM) const int M1 = 12; // M1 Direction const int E2 = 11; // M2 Speed (PWM) const int M2 = 13; // M2 Direction It operates as a plug-and-play addition for the
The board features a 2-pin header labeled with a removable jumper cap.
int ENA = 3; // PWM capable int ENB = 11; // PWM capable
// HW 130 Motor Shield Basic Test // Pins predefined by shield layout