If you want, I can:
Automatic internal shutdown on overheating Motor Drive Capacity
#include AF_DCMotor motor1(1); // Create motor object on Channel 1 void setup() motor1.setSpeed(200); // Set speed (0-255) motor1.run(RELEASE); // Stop motor void loop() motor1.run(FORWARD); // Turn forward delay(1000); motor1.run(BACKWARD); // Turn backward delay(1000); motor1.run(RELEASE); // Stop delay(1000); Use code with caution. Cost-Effective: Extremely cheap for the functionality. hw 130 motor control shield for arduino datasheet
(often referred to as the L293D Motor Shield) is one of the most popular, versatile, and affordable expansion boards for robotics enthusiasts and hobbyists. It simplifies the process of controlling motors by bundling multiple H-bridges onto a single, stackable board designed for the Arduino Uno, Mega, and Diecimila.
Used for controlling the two Servo channels. Library Installation If you want, I can: Automatic internal shutdown
Located at the bottom edge of the shield:
The datasheet implies "Standard Arduino Logic." Here is the translation: It simplifies the process of controlling motors by
The shield typically includes two 3-pin headers for Servos.
// Enable both channels (if jumpers are removed, we need this) digitalWrite(ENA, HIGH); digitalWrite(ENB, HIGH);
Here are the standard technical specifications you can expect from the HW-130 shield. Please verify with your specific board vendor, as Chinese clones may have minor variations.
Ultimate Guide to the HW-130 Motor Control Shield for Arduino