Hw 130 Motor Control Shield For Arduino Datasheet ❲100% SIMPLE❳

void setup() pinMode(MA_Speed, OUTPUT); pinMode(MA_Dir, OUTPUT); // ... repeat for Motor B

If you are building a 2-wheel or 4-wheel robot, the provides the best balance of simplicity and functionality.

Pins A0–A5 are broken out for sensors or as digital I/O .

These connect to your DC motors or stepper motors. M1 and M2 form one block; M3 and M4 form the second block. hw 130 motor control shield for arduino datasheet

Datasheet / documentation checklist (items to verify from manufacturer)

: Used as speed control (PWM) lines for the DC and Stepper channels.

Standard 3-pin headers connected to Arduino’s digital pins 9 and 10. 3. Pin Mapping and Conflicts These connect to your DC motors or stepper motors

Happy building!

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

| Function | Arduino Pin | Description | | :--- | :---: | :--- | | | D10 | PWM control for Motor 1 (0-255 speed) | | M1 (Dir M1) | D12 | Direction control for Motor 1 (HIGH/LOW) | | E2 (Speed M2) | D11 | PWM control for Motor 2 (0-255 speed) | | M2 (Dir M2) | D13 | Direction control for Motor 2 (HIGH/LOW) | Standard 3-pin headers connected to Arduino’s digital pins

Connect your motor power supply (4.5V–25V) to the screw terminals. Pay close attention to polarity (+ and -).

| 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. |

The HW-130 features a dedicated terminal for external power. Because Arduino pins cannot provide enough current for motors, you should connect an external battery pack (typically 6V–12V) to the terminals.

Do not connect a 12V battery to Vs while JP1 is open. The 5V line will float, and your Arduino will not get logic power.

The offers an excellent balance of power and simplicity for Arduino-based robots. By using two L293D chips, it provides independent control over multiple motors, making it indispensable for 2-wheel or 4-wheel drive platforms. If you're using this for a complex project, tell me: What type of motors (DC or Stepper) are you using? What is the voltage of your motor battery?