Hw 130 Motor Control Shield For Arduino Datasheet: __top__
This shield utilizes specific Arduino pins to control the motors. If you attach the shield, these pins on the Arduino are occupied.
References to look up (manufacturer resources)
Simple robots, tank drives, small conveyor belts, and learning. It's cheap ($3–$5).
Controlled via pins D3, D4, D5, D6, D7, D8, D11, and D12 . Servos: Connected to D9 (Servo 2) and D10 (Servo 1) . hw 130 motor control shield for arduino datasheet
// Stop both motors digitalWrite(IN1, LOW); digitalWrite(IN2, LOW); digitalWrite(IN3, LOW); digitalWrite(IN4, LOW); delay(1000);
Unlike some generic L298N modules, the HW 130 reserves pins 3 and 11 for PWM, making it ideal for speed control. Do not use these pins for other sensors.
If you are planning a specific project with this board, let me know: What are you using? (DC, stepper, or servo) What power source do you have available? Are you using an Arduino Uno, Mega, or Nano ? This shield utilizes specific Arduino pins to control
| | Likely Cause | Solution | | :--- | :--- | :--- | | Motors do not move, or move erratically | Power jumper is in the wrong position; insufficient motor voltage | Remove PWR jumper and supply dedicated motor power. Ensure supply is above 4.5V. | | One motor always runs at full speed | Loose connection; damaged H‑bridge | Check wiring to motor terminals. Swap channels to isolate the fault. | | Shield works with Uno but not with ESP32 | Logic level mismatch; insufficient current on 5V pin | Use a level shifter or power shield separately. The L293D is typically 5V‑only. | | Servo jitters or resets Arduino | Servo draws power from Arduino’s 5V regulator | Power servos from a dedicated 5V supply. Connect only signal and ground to shield. | | SD card initialises but motor stops | Pin conflict: V1 shield uses SPI pins 11–13 | Upgrade to Adafruit V2 shield (I²C based) or remap pins. |
void loop() Serial.println("Forward at speed 200"); motor.run(FORWARD); // Spin clockwise motor.setSpeed(200); delay(2000);
Automatic internal shutdown on overheating Motor Drive Capacity It's cheap ($3–$5)
💡 Always use an external power supply for DC motors to avoid crashing your Arduino due to voltage drops.
Summary
| IN1 (Pin 4) | IN2 (Pin 5) | ENA (Pin 3) | Motor A State | | :--- | :--- | :--- | :--- | | LOW | LOW | HIGH | Brake (stop fast) | | HIGH | LOW | HIGH | Forward | | LOW | HIGH | HIGH | Reverse | | HIGH | HIGH | HIGH | Brake (stop fast) | | X | X | LOW | Coast (free spin) |
The easiest way to control this shield is using the AFMotor.h library (Adafruit Motor Shield library).
. It is designed to simplify the control of various motor types directly from an Arduino Uno or Mega. 5.imimg.com Key Specifications 2 x L293D motor drivers and 1 x 74HC595 shift register. Output Current: 0.6A per bridge (1.2A peak). Voltage Range:
