Hw 130 Motor Control Shield For Arduino Datasheet -

delay(2000);

| Project | HW‑130 Configuration | | --------------------------- | --------------------------------------------------- | | | 2 or 4 DC motors; HC‑05 Bluetooth module for remote control | | CNC Drawing Plotter | 2 stepper motors (X and Y axes) + 1 servo for pen lift | | Smart Home Curtain Opener | 1 DC motor + limit switches | | Line‑following Robot | 2 DC motors + IR line sensors | | Surveillance Pan‑Tilt | 2 servos (pan and tilt) + 2 DC motors for wheels | | Model Railway Turnout Control | Up to 4 Tortoise switch machines | hw 130 motor control shield for arduino datasheet

void loop() // your motor control code here delay(2000); | Project | HW‑130 Configuration | |

| Problem | Likely Cause | Solution | | :--- | :--- | :--- | | Motors don't spin | No power to Vs terminal | Connect 6V–12V battery. | | Motors spin but Arduino resets | Insufficient power or missing ground | Connect GND of battery to shield GND. Use separate battery for motors. | | Motors only go one speed | ENA/ENB jumpers still on | Remove JP2/JP3 to use PWM. | | Overheating quickly | Motor stall current >2A or voltage >12V | Reduce load, add heatsink, or lower voltage. | | Current sense reads zero | No jumper on CS pin (or motor not running) | The CS pins are open by default; you don't need a jumper—just read voltage. | | Shield gets very hot | PWM frequency too low (audible range) | Default 490Hz on pins 3/11 is fine. Don't reduce frequency. | | | Motors only go one speed |

| Function | Arduino Pin | Description | | :--- | :---: | :--- | | | D10 | PWM control for Motor 1 (0-255 speed) | | M1 (Dir M1) | D12 | Direction control for Motor 1 (HIGH/LOW) | | E2 (Speed M2) | D11 | PWM control for Motor 2 (0-255 speed) | | M2 (Dir M2) | D13 | Direction control for Motor 2 (HIGH/LOW) |

To easily control the HW-130 shield, you should install the .

void setup() pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT); pinMode(IN3, OUTPUT); pinMode(IN4, OUTPUT); pinMode(ENA, OUTPUT); pinMode(ENB, OUTPUT);

Our other Bootstrap templates

Checkout the best bootstrap templates from our collection

View all templates
eduport lms education and course theme
$
49
1038
Sales
hw 130 motor control shield for arduino datasheet
blogzine blog and magazine bootstrap 5 theme
$
49
886
Sales
hw 130 motor control shield for arduino datasheet