Hw 130 Motor Control Shield: For Arduino Datasheet

The servo headers route directly to the Arduino's hardware timers to ensure jitter-free control. Arduino Digital Pin 10 Servo 2: Arduino Digital Pin 9 2. Shift Register Pins (74HCT595)

– Declare AF_DCMotor motor3(3); and AF_DCMotor motor4(4); and set their speeds.

The easiest way to interface with the HW-130 shield is by utilizing the , as the HW-130 is a clone of the classic Adafruit V1 design. Library Installation Open the Arduino IDE. hw 130 motor control shield for arduino datasheet

Up to 4 bidirectional DC motors (with 8-bit speed resolution)

Control via:

| Parameter | Value / Range | | -------------------------------- | --------------------------------------- | | Motor Driver IC | L293D (dual full‑bridge) | | Logic Shift Register | 74HC595 | | Motor Supply Voltage (V motor ) | | | Logic Supply Voltage (V logic ) | 5V DC (from Arduino) | | Continuous Current per Channel | 600 mA | | Peak Current per Channel | 1.2 A (short pulse) | | Number of DC Motors | Up to 4 (bidirectional) | | Number of Stepper Motors | Up to 2 (unipolar or bipolar) | | Number of Servo Motors | Up to 2 (5V) | | Servo PWM Pins | D9 and D10 (Arduino Uno) | | Speed Control Resolution | 8‑bit (0–255, approx. 0.5% increments) | | Thermal Protection | Yes (L293D internal shutdown) | | Protection Diodes | Internal (flyback) | | Compatibility (Arduino) | Uno, Mega, Diecimila, Duemilanove | | Compatibility (non‑Arduino) | 3.3V‑logic boards (ESP32, ESP8266) with caution |

// Define pins based on HW-130 hard-wiring int MA_Speed = 3; // Motor A Speed int MA_Dir = 12; // Motor A Direction int MB_Speed = 11; // Motor B Speed int MB_Dir = 13; // Motor B Direction The servo headers route directly to the Arduino's

The (also known as the L293D Motor Driver Shield ) is a versatile "plug-and-play" expansion board for Arduino Uno and Mega . It is designed to drive up to four DC motors , two stepper motors , and two 5V servo motors simultaneously . Key Technical Specifications

The HW-130 is a clone/derivative of the classic dual H-bridge driver. However, unlike the big blue heatsink modules, the HW-130 is designed as a shield that stacks directly onto an Arduino Uno or Leonardo. The easiest way to interface with the HW-130

Do not trust the silkscreen on cheap boards. Always verify with a multimeter, but the table above matches the standard "L298N Shield" reference design.

#include AF_DCMotor motor(1); // Select motor M1 void setup() motor.setSpeed(200); // Set speed from 0 (off) to 255 (max) motor.run(RELEASE); // Stop motor initially void loop() motor.run(FORWARD); delay(2000); motor.run(BACKWARD); delay(2000); motor.run(RELEASE); delay(1000); Use code with caution. 5. Troubleshooting Tips