Hw 130 Motor Control Shield For Arduino Datasheet Better [ Trusted EDITION ]

The HW-130 uses the following default Arduino pins:

| Function | Arduino Pin | HW-130 Label | Datasheet Mistake | |----------|-------------|--------------|--------------------| | Motor A Enable (PWM) | D10 | ENA | Often mislabeled as "PWM A" | | Motor A Input 1 | D9 | IN1 | Correct | | Motor A Input 2 | D8 | IN2 | Correct | | Motor B Enable (PWM) | D5 | ENB | Often mislabeled as "PWM B" | | Motor B Input 3 | D7 | IN3 | Correct | | Motor B Input 4 | D6 | IN4 | Correct | | Logic Supply (5V) | 5V pin | +5V | Some clones skip this | | GND | GND | GND | Correct | hw 130 motor control shield for arduino datasheet better

Critical note ignored by the datasheet:
If you use analogWrite() on pins 9, 10, 5, or 6, the PWM frequency is ~490Hz or ~980Hz depending on the board. The L298N works best below 25kHz, so this is fine—but the shield’s response becomes nonlinear below 30% duty cycle due to the H-bridge dead-time. A better datasheet would warn you. The HW-130 uses the following default Arduino pins

There are usually jumpers near the power terminals. Jumper OFF: Separates motor power from Arduino power

  • Jumper OFF: Separates motor power from Arduino power.
  • To write your own code without a library, you must understand this internal map.

    These specs are based on the L293D integrated circuit capabilities.

    | Parameter | Rating | Notes | | :--- | :--- | :--- | | Motor Driver IC | L293D | Provides bi-directional control. | | Operating Voltage | 4.5V – 25V | Supplied via the External Power Terminal block. | | Logic Voltage | 5V | Supplied by the Arduino via the USB or Vin. | | Output Current (Per Channel) | 0.6A (Continuous) | Max peak current is 1.2A per channel. | | Total Max Current | ~1.2A – 1.5A | The L293D gets hot quickly above 0.5A. | | Number of Motors | 4 DC Motors OR 2 Stepper Motors | Cannot run 4 steppers, only 2. | | Servo Ports | 2 | Connected directly to Arduino Pins 9 and 10. | | Thermal Protection | Yes | Built into the L293D, but use a heatsink for high loads. |