Master this essential documentation concept
Here is the "deep story" datasheet and technical breakdown you need to get the most out of this hardware.
// HW-130 Motor Shield Pin Definitions #define ENA 9 // Speed Motor A #define IN1 4 // Direction Motor A #define IN2 5 // Direction Motor A hw 130 motor control shield for arduino datasheet better
: Supports up to 4 bi-directional DC motors or 2 stepper motors (unipolar/bipolar). Here is the "deep story" datasheet and technical
: Features two dedicated 3-pin headers for 5V hobby servos connected to the Arduino's high-resolution timers. Missing pin mapping between shield holes and Arduino
// Start with motors stopped digitalWrite(IN1, LOW); digitalWrite(IN2, LOW); digitalWrite(IN3, LOW); digitalWrite(IN4, LOW); analogWrite(ENA, 0); analogWrite(ENB, 0);
: 600mA constant current per bridge (1.2A peak). Voltage Range : Supports motor voltages from 4.5V to 12V .
AFMotor.cpp to match pins 12,13,11,10).