Hw 130 Motor Control Shield For Arduino Datasheet __hot__ Access
| Feature | HW 130 (L298N) | L293D Shield | TB6612FNG Shield | | :--- | :--- | :--- | :--- | | Max Current per channel | 2A (3A peak) | 0.6A | 1.2A (3.2A peak) | | Voltage Drop | ~2V | ~1.5V | ~0.5V | | Efficiency | Low (linear) | Low | High (MOSFET) | | PWM Frequency | Up to 25kHz | Up to 5kHz | Up to 100kHz | | Cost | $5–$8 | $10–$12 | $12–$15 | | Best For | High current, low cost | Small servos/gearmotors | Battery-powered robots |
#include AF_DCMotor motor(1); // Select motor M1 void setup() motor.setSpeed(200); // Set speed from 0 (off) to 255 (max) motor.run(RELEASE); // Stop motor initially void loop() motor.run(FORWARD); delay(2000); motor.run(BACKWARD); delay(2000); motor.run(RELEASE); delay(1000); Use code with caution. 5. Troubleshooting Tips hw 130 motor control shield for arduino datasheet