Keeps electrical noise and current spikes isolated from the microcontroller. 5. Software Integration and Code Example
The easiest way to program the HW-130 shield is by using the . Note that this shield is a clone of the original Adafruit V1 design, so it is not compatible with the newer V2 library (which uses I2C). How to Install: Open the Arduino IDE. hw 130 motor control shield for arduino datasheet free
The HW-130 shield simplifies the process of driving DC motors, stepper motors, and servos. It plugs directly onto standard Arduino Uno, Mega, or Leonardo footprints, handling high-current loads while keeping your microcontroller safe from voltage spikes. Key Capabilities Keeps electrical noise and current spikes isolated from
void loop() // Forward at 70% speed digitalWrite(MOTOR1_DIR, HIGH); analogWrite(MOTOR1_PWM, 179); // 179 = ~70% of 255 delay(2000); Note that this shield is a clone of
Connect a separate battery pack or bench power supply (4.5V to 25V) directly to the EXT_PWR screw terminals on the shield. Power your Arduino separately via USB or its own DC jack.