Stepper Motor Driver Shield - CNC Stepper Motor Driver Shield V3

SKU: UP2005
CNC Shield V3 for Arduino UNO with four stepper driver sockets, blue screw terminal and pin headers, front angle view

Stepper Motor Driver Shield - CNC Stepper Motor Driver Shield V3

SKU: UP2005
Default
Regular price $8.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • Low stock - 5 items left
  • Inventory on the way

Add $96.01 more for free shipping

Tax included. Shipping calculated at checkout.

You'll also need

Choose a quantity and add it to your cart.

A 4-axis stepper driver shield that stacks on an Arduino UNO R3 and takes up to four A4988 or DRV8825 driver modules, with Grbl-ready wiring.

The shield carries the STEP, DIR and enable wiring, the motor power terminals and the endstop headers, so you plug in drivers and motors instead of wiring each one by hand. This listing is for the shield only: driver modules, Arduino UNO, motors and power supply are sold separately.

Fits
Arduino UNO R3
Axes
4 (X, Y, Z, A)
Drivers
A4988 / DRV8825
Firmware
Grbl compatible

Why choose it

  • Grbl-ready pin map — STEP on D2–D4, DIR on D5–D7 and a shared enable on D8, as used by Grbl on the UNO.
  • Two driver families — A4988 modules go up to 1/16 step, DRV8825 modules up to 1/32 step, both set with jumpers.
  • Endstops built in — two headers per axis, 6 in total, plus spindle and direction pins.

Specifications

Core
Fits Arduino UNO R3 (stacks on the headers)
Axes 4 (X, Y, Z and A)
Driver modules A4988 or DRV8825, one per axis (not included)
Firmware Grbl compatible (Grbl 0.9 listed; pin map below is from the Grbl 1.1 source)
Motor supply 12–36 V DC
Endstops 2 headers per axis, 6 in total
Microstepping Set with jumpers under each driver
Pin map used by Grbl (Arduino UNO)
X / Y / Z STEP D2 / D3 / D4
X / Y / Z DIR D5 / D6 / D7
Stepper enable (all drivers) D8, LOW = on
X / Y / Z limit (endstop) D9 / D10 / D11
Spindle enable / direction D12 / D13
Coolant enable A3
Abort / Feed hold / Resume A0 / A1 / A2
4th (A) axis Not on a fixed Grbl pin. The existing listing says it can duplicate X, Y or Z, or run as a full 4th axis with custom firmware using D12 and D13
Driver modules (sold separately, from Pololu data)
A4988 motor supply / current 8–35 V; about 1 A per phase without a heat sink, 2 A with extra cooling
DRV8825 motor supply / current 8.2–45 V; about 1.5 A per phase without a heat sink, 2.2 A with extra cooling
Physical
Dimensions 68 × 53 × 18 mm

Microstep jumpers (● = jumper fitted, ○ = removed; steps per turn are for a 200-step motor). The two driver types use different settings for sixteenth step. Sources: Pololu A4988, Pololu DRV8825.

Microstep mode A4988 jumpers (M0 M1 M2) DRV8825 jumpers (M0 M1 M2)
Full step (200 steps/rev) ○ ○ ○ ○ ○ ○
Half step (400) ● ○ ○ ● ○ ○
Quarter step (800) ○ ● ○ ○ ● ○
Eighth step (1,600) ● ● ○ ● ● ○
Sixteenth step (3,200) ● ● ● ○ ○ ●
1/32 step (6,400) Not available ● ● ●

Compatibility

Platform Works Notes
Arduino UNO R3 (5 V) ✓ Yes The shield stacks on the UNO headers.
ESP32 ✗ No The shield does not plug into an ESP32 board. Use a stand-alone driver module instead.
Raspberry Pi / Pico ✗ No The shield does not plug into a Raspberry Pi or Pico. Use a stand-alone driver module instead.
Software ✓ Yes Grbl, or your own Arduino IDE sketch.

In the box

Included
  • 1 × CNC Shield V3

Applications

  • Small CNC machines such as mills and engravers running Grbl
  • Multi-axis stepper projects driven by your own Arduino sketch
  • A test bench for trying A4988 and DRV8825 drivers

Tutorial

What you’ll build: Spin one stepper motor one turn each way from an Arduino UNO, using the X driver socket on the shield. · About 20 minutes.

How it works

A stepper motor turns in small fixed steps. The driver module on the shield makes one step each time the Arduino sends a pulse on its STEP pin, and the DIR pin sets the direction.

  • STEP — one pulse, one step.
  • DIR — HIGH turns one way, LOW the other.
  • EN — enable; LOW switches the drivers on.
  • GND — the return path; the motor supply ground and the Arduino ground are joined on the shield.
Arduino UNO Tutorial

You need: Arduino UNO R3, a USB cable, 1 × A4988 or DRV8825 driver module, 1 × bipolar stepper motor and a DC supply for the motor (see Good to know for the voltage).

Arduino UNO+ CNC Shield V3 D2 (X STEP)D5 (X DIR)D8 (EN)Motor power +Motor power − X driverA4988 / DRV8825 STEPDIREN Steppermotor Coil 1Coil 1Coil 2Coil 2 DC supply12–36 V routed inside the shield via the X motor terminal

■ Power ■ GND ■ Signal (STEP, DIR) ■ I2C / SPI / UART (not used here) ■ Other (EN, motor coils) ⌒ = wires cross, not connected

# Arduino UNO / shield pin Module pin Wire Notes
1 D2 X driver STEP Yellow Routed on the shield, no wire needed
2 D5 X driver DIR Yellow Routed on the shield
3 D8 EN (all drivers) Green LOW = drivers on
4 Motor power + DC supply + Red Blue screw terminal on the shield; check the + / − marks printed on the board
5 Motor power − DC supply − Black Connect last, with the supply switched off
6 X motor terminal Motor coils Green Join each coil to its own pair of terminals

Watch out: The UNO uses 5 V logic, which both driver modules accept. Fit the driver with its small trimpot facing the screw terminals (away from the USB port); a driver fitted backwards can be destroyed when power is applied. Check the pin labels printed on your board.

1
Install the Arduino IDE
Download it from arduino.cc/en/software and install it. Nothing else is needed for this example.
2
Switch everything off
Unplug USB and switch the motor supply off. Press the shield onto the UNO so every header pin sits in its socket.
3
Fit the driver
Push one driver module into the X socket with the trimpot facing the screw terminals. Leave all three microstep jumpers off for full steps.
4
Set the current limit
Set VREF with a small screwdriver before connecting the motor: A4988 VREF = 8 × current limit × sense resistor (0.068 Ω on Pololu modules made since 2017, so 1 A = 540 mV); DRV8825 VREF = current limit ÷ 2 (1 A = 0.5 V). Clone modules can use a different sense resistor, so check your module’s documentation. Source: Pololu A4988 and Pololu DRV8825.
5
Connect the motor
With power off, connect the motor to the X motor terminals. Connecting or disconnecting a stepper motor while the driver is powered can destroy the driver.
6
Upload the example
Connect USB. In the Arduino IDE choose Tools → Board → Arduino Uno and your port under Tools → Port, paste the example below and click Upload. Do this with the motor supply still off.
▸ Example 1 — Spin one stepper motor back and forth
// Wiring: CNC Shield V3 stacked on Arduino UNO, A4988 or DRV8825 in the X socket.
// X STEP = D2, X DIR = D5, EN = D8 (these match the pin table above).
const int STEP_PIN = 2;          // X STEP
const int DIR_PIN  = 5;          // X DIR
const int EN_PIN   = 8;          // EN, LOW = drivers on

const int STEPS_PER_TURN = 200;  // you can change this (200 = 1.8-degree motor, full steps)
const int STEP_DELAY_US  = 2000; // you can change this (bigger = slower)

void turn(int steps) {
  for (int i = 0; i < steps; i++) {
    digitalWrite(STEP_PIN, HIGH);   // one pulse = one step
    delayMicroseconds(STEP_DELAY_US);
    digitalWrite(STEP_PIN, LOW);
    delayMicroseconds(STEP_DELAY_US);
  }
}

void setup() {
  Serial.begin(115200);
  pinMode(STEP_PIN, OUTPUT);
  pinMode(DIR_PIN, OUTPUT);
  pinMode(EN_PIN, OUTPUT);
  digitalWrite(EN_PIN, LOW);        // switch the drivers on
  Serial.println("OK - epartners.co.nz test");
}

void loop() {
  digitalWrite(DIR_PIN, HIGH);      // one direction
  turn(STEPS_PER_TURN);
  delay(1000);
  digitalWrite(DIR_PIN, LOW);       // the other direction
  turn(STEPS_PER_TURN);
  delay(1000);
}
7
Switch the motor supply on
Open Tools → Serial Monitor (115200 baud), then switch the motor supply on.

✓ Check: The Serial Monitor shows “OK - epartners.co.nz test” once, then the motor turns one full turn, pauses for a second, and turns back the other way.

Want to run Grbl instead?

Download Grbl from the Grbl home page (Code → Download ZIP). In the Arduino IDE use Sketch → Include Library → Add .ZIP Library and choose the inner grbl folder, then open File → Examples → grbl → grblUpload and upload it without changing anything. Steps are in the Grbl compile guide. Grbl uses the pin map in the Specifications table above.

Troubleshooting

Board Problem Likely cause Fix
All Motor does not move at all Drivers are not enabled, or the motor supply is off EN (D8) must be LOW and the motor supply must be on
All Motor buzzes or shakes but does not turn Coil wires are not paired correctly, or the current limit is too low Join each coil to its own pair of terminals, then check VREF
All Driver gets very hot or shuts off Current limit too high for the cooling Lower VREF or add a heat sink and airflow
All Driver damaged when power is applied Driver fitted backwards, or the motor was plugged in while powered Trimpot toward the screw terminals; power off before changing anything
Arduino UNO Port not listed, or upload fails Charge-only USB cable or wrong port selected Use a data cable and pick the port under Tools → Port

Try next: set the microstep jumpers (see Specifications) and raise STEPS_PER_TURN to match, or flash Grbl and send your first G-code line.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we’ll check it and update the tutorial.

Good to know
  • Never insert or remove a driver, or connect or disconnect a motor, while the shield is powered. Both can destroy the driver.
  • Fit each driver with its trimpot facing the screw terminals, away from the USB port, and set the current limit before connecting the motor.
  • The A4988 is rated to 35 V and the DRV8825 to 45 V, so stay at or below 35 V if you use A4988 drivers.

Video guide

Resources

Which one should I choose?

Product Key difference Best for
This product Shield only, no driver modules You already have A4988 or DRV8825 drivers, or want to pick your own
Stepper Motor - Driver A4988 (4pcs) + Shield V3 expansion board Listing title includes four A4988 drivers with the shield A shield and four drivers in one order
Stepper Motor Driver - DRV8825 drivers (4pcs) + Shield expansion board Listing title includes four DRV8825 drivers with the shield A shield and four DRV8825 drivers in one order

FAQ

▸ Are the driver modules included?

No. This listing is for the CNC Shield V3 only. Add A4988 or DRV8825 modules, one per axis.

▸ What is the difference between A4988 and DRV8825 drivers?

The DRV8825 goes up to 1/32 microstepping and 45 V, while the A4988 goes up to 1/16 and 35 V (Pololu data). Per phase, Pololu rates the A4988 at about 1 A and the DRV8825 at about 1.5 A without a heat sink. The jumper settings differ for sixteenth step, so use the table in Specifications.

▸ Does it work with an ESP32 or Raspberry Pi Pico?

No, the shield only plugs into the Arduino UNO header layout. You can still run a stand-alone A4988 or DRV8825 module from an ESP32 or Pico by wiring its STEP, DIR and EN pins to free GPIO pins; both modules accept 3.3 V logic (Pololu data).

▸ Which firmware and pins does it use?

Grbl. STEP is D2–D4, DIR is D5–D7, enable is D8, and the X, Y and Z endstops are D9, D10 and D11. The full map is in Specifications.

▸ How do I set the motor current?

Turn the trimpot on each driver to set VREF. For an A4988 with a 0.068 Ω sense resistor, VREF = 8 × current × 0.068 Ω; for a DRV8825, VREF = current ÷ 2. Check the sense resistor on your module first.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we’ll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed