The shield is designed to be plug-and-play, mounting directly onto the Arduino Uno. However, it uses specific pins for internal communication via the shift register:
void setup() pinMode(enA, OUTPUT); pinMode(enB, OUTPUT); pinMode(in1, OUTPUT); pinMode(in2, OUTPUT); pinMode(in3, OUTPUT); pinMode(in4, OUTPUT); hw 130 motor control shield for arduino datasheet better
(unipolar or bipolar) with single, double, interleaved, or micro-stepping. Servo Motors 2 dedicated headers HW-130 Motor Control Shield for Arduino Datasheet: A
digitalWrite(IN3, LOW); digitalWrite(IN4, HIGH); analogWrite(ENB, 255); Arduino Pin(s) Used Connected to Timer1 for jitter-free
Since the shield uses a shift register to control motor direction, it frees up several Arduino pins for other uses. Arduino Pin(s) Used Connected to Timer1 for jitter-free control. Connected to Timer1. DC/Steppers Pins 4, 7, 8, 12 Used by the 74HC595 shift register. Pins 3, 5, 6, 11 Direct PWM control for motor speed. Unused Pins Digital 2, 13; Analog A0–A5 Available for sensors or other modules. Power Management & Jumpers