Hw 130 Motor Control Shield For Arduino Datasheet <AUTHENTIC · HACKS>

// Define your motor. (1) refers to M1 port. (2) is M2, etc. AF_DCMotor motor(1);

| Connector | Label | Description | | :--- | :--- | :--- | | J1 (Screw Term) | | Motor supply voltage (6V–12V). Do not exceed 12V for extended periods. | | J1 (Screw Term) | GND | Common ground for motors and logic. Must connect to Arduino GND. | | J2 (Screw Term) | OUT1 / OUT2 | Motor A terminals (connect one DC motor here). | | J3 (Screw Term) | OUT3 / OUT4 | Motor B terminals. | | JP2 | +5V | 5V Output from onboard regulator (or input if VS <7V). | | JP3 | ENA | Enable Channel A jumper. Short = motor enabled. Remove for PWM control. | | JP4 | ENB | Enable Channel B jumper. Remove for PWM control. | | JP1 | Power Select | Short to enable onboard 5V regulator. Open to power logic externally via +5V. |

| L293D Pin | Arduino Pin | Function | |-----------|-------------|----------| | Enable 1,2 | D10 (PWM) | Speed control M1/M2 | | Enable 3,4 | D5 (PWM) | Speed control M3/M4 | | Input 1 | D8 | Direction M1 | | Input 2 | D9 | Direction M2 | | Input 3 | D6 | Direction M3 | | Input 4 | D7 | Direction M4 |

Two-pin screw terminals used to connect up to 4 bi-directional DC motors.

Power your Arduino separately via its USB port or its own DC jack. Motor Terminal Layout hw 130 motor control shield for arduino datasheet

The HW‑130 is fully compatible with the widely used ( AFMotor.h ), which abstracts all low‑level details. Alternatively, you can directly manipulate the Arduino pins for complete control.

While the HW 130 does not have an official manufacturer datasheet, it complies with the . For engineering purposes, refer to:

Never power motors directly from the Arduino 5V pin. The HW-130 features an external terminal block for a separate battery or power supply ( recommended) [Source: Reddit]. 3. Pinout and Connections

#include <AFMotor.h>

void setMotor(int speed) if (speed >= 0) digitalWrite(dirA, HIGH); analogWrite(speedA, speed); else digitalWrite(dirA, LOW); analogWrite(speedA, -speed);

Key specifications

#include <AFMotor.h> AF_Stepper motor(200, 1); // 200 steps per revolution, on port M1+M2

Here are the standard technical specifications you can expect from the HW-130 shield. Please verify with your specific board vendor, as Chinese clones may have minor variations. // Define your motor

4 DC Motor channels (or 2 Stepper Motor channels).

The HW-130 is based on the , designed to provide bidirectional drive current for motors. Motor Driver IC: 2 x L293D

Because no official HW‑130 datasheet exists, always refer to the for detailed electrical characteristics and schematics. The two boards are hardware‑compatible, and the library support is identical.