| Shield Label | Arduino Pin | Function | |--------------|-------------|-----------------------| | IN1 | D4 | Motor A direction 1 | | IN2 | D7 | Motor A direction 2 | | EN A (PWM) | D6 | Motor A speed | | IN3 | D8 | Motor B direction 1 | | IN4 | D12 | Motor B direction 2 | | EN B (PWM) | D9 | Motor B speed |
The HW-130 motor control shield is a popular accessory for Arduino boards that enables users to control DC motors, stepper motors, and other loads. Here's a brief overview of the shield's features and specifications: hw 130 motor control shield for arduino datasheet better
// Motor B backward digitalWrite(IN3, LOW); digitalWrite(IN4, HIGH); | Shield Label | Arduino Pin | Function
Digital pins 4, 7, 8, and 12 drive the motors through the 74HC595 serial-to-parallel latch. PWM Speed Control: M1: Digital Pin 11 M2: Digital Pin 3 M3: Digital Pin 5 M4: Digital Pin 6 Servos: Digital pins 9 (Servo #1) and 10 (Servo #2). : Operates with motor supply voltages from 4
: Operates with motor supply voltages from 4.5V to 25V (some versions support up to 36V).