To drive 4 unidirectional motors (e.g., vibration motors or fans):
: Includes a reset button brought to the top for easy access and large terminal blocks for 10-22 AWG wiring. Pinout & Usage
| Arduino Pin | Function | Remarks | | ----------- | ------------------------------------------- | ----------------------------------------------- | | | PWM speed control for Motor #2 / Stepper #1 | Used by the AFMotor library | | D5 | PWM speed control for Motor #3 / Stepper #2 | – | | D6 | PWM speed control for Motor #4 / Stepper #2 | – | | D9 | Servo 1 signal line | Hardware PWM – avoids jitter | | D10 | Servo 2 signal line | – | | D11 | PWM speed control for Motor #1 / Stepper #1 | – | | D12 | Direction control for Motor #1 / Stepper #1 | Used in low‑level control when bypassing libraries | | D13 | Direction control for Motor #2 / Stepper #1 | – | hw 130 motor control shield for arduino datasheet
References to look up (manufacturer resources)
The shield fits directly onto the headers of an Arduino UNO. It utilizes specific pins for motor control, internal logic communication, and power routing. Motor Terminal Connections To drive 4 unidirectional motors (e
const int IN1 = 2; // direction pin 1 const int IN2 = 3; // direction pin 2 const int ENA = 5; // PWM pin (must be PWM-capable)
: Dedicated to PWM speed control for the four DC motor channels. Digital Pin 4 : Shift Register Clock (CLK). Digital Pin 7 : Shift Register Enable line. Digital Pin 8 : Shift Register Data line (SER). Digital Pin 12 : Shift Register Latch (STRB). Motor Terminal Connections const int IN1 = 2;
An H-Bridge is an electronic circuit that switches the polarity of a voltage applied to a load, enabling a DC motor to spin forward or backward. The two onboard L293D chips provide a combined total of , outputting up to four individual unidirectional paths or two bidirectional paths. Motor Shield Rev3 | Arduino Documentation
The Arduino’s onboard regulator powers both the Arduino board and the motor supply rail. Warning: Only use this configuration for tiny, low-current 5V motors. Running larger motors this way can instantly destroy your Arduino regulator.