Hw 130 Motor Control Shield For Arduino Datasheet [better] Free Jun 2026
offers flexible power options. You can choose to power the motors and the Arduino from a single source, or separate them to protect the Arduino. Connect your external battery ( 12V12 cap V recommended).
The shield uses a 74HCT595 serial-to-parallel shift register to expand the Arduino pins. The shift register controls the direction lines of the L293D chips, while the Arduino PWM pins control the motor speeds. Shift Register Clock (CLK) Digital Pin 7: Shift Register Latch (STR) Digital Pin 8: Shift Register Data (SER) Digital Pin 12: Shift Register Output Enable (OE) hw 130 motor control shield for arduino datasheet free
#include // Initialize DC motor on terminal M1 AF_DCMotor motor(1); void setup() // Set the initial speed of the motor (0 = off, 255 = max speed) motor.setSpeed(200); motor.run(RELEASE); void loop() // Spin forward motor.run(FORWARD); delay(2000); // Accelerate from stop to max speed for (int i=0; i Use code with caution. ⚠️ Safety Precautions offers flexible power options