grbl: high-performance CNC motion control on Arduino Uno
grbl is the classic open-source g-code interpreter: flash it onto an Arduino Uno and it becomes a 3-axis CNC motion controller for mills, engravers and plotters.

Key Facts
- Board: Arduino Uno (ATmega328P)
- Axes: 3 (+ spindle)
- Input: g-code over serial
- Companion: CNC Shield V3 + DRV8825/A4988
- Companion prices checked 2026-11-25: CNC Shield V3 clone $0.95–$1.90; DRV8825/A4988 clones $0.75–$0.95 each; genuine Pololu drivers $8.95–$15.95
- Firmware status: Grbl 1.1h (Aug 2019) is final; active successors are grblHAL and FluidNC
About This Project
grbl is the firmware that made DIY CNC mills, laser cutters and pen plotters practical. Running on an Arduino Uno (or compatible) plus a CNC shield and stepper drivers, it accepts g-code over serial and generates precise step pulses. Development of the 8-bit version ended in 2019 at release 1.1h — finished, not abandoned — and its two active successors, grblHAL and FluidNC, keep the same G-code dialect. The original Uno port remains the cheapest, best-documented starting point in hobby CNC.
Grbl 1.1h is the final release
Grbl's own wiki says it plainly: the project "is discontinued" and has not "accepted pull requests since Aug 30, 2019", with the wiki pointing readers to "µCNC, grblHAL, FluidNC or Rabbit GRBL" as alternatives. Version 1.1h (August 2019) is the last release, and the reason is the hardware, not neglect: grbl fills the 32 KB of flash on an ATmega328P almost completely — "there's no room left for new features" — and the final release notes celebrate saving about 300 bytes of flash. Finished is not broken: grbl 1.1 is "still a perfectly good controller for a 3-axis hobby router or laser", the gnea/grbl wiki still hosts the complete v1.1 reference (configuration, commands, interface, jogging, laser mode), and connecting at 115200 baud still greets you with the Grbl 1.1h startup banner. A frozen firmware on frozen hardware is a stable target for a first CNC build: nothing to patch, nothing to re-learn.
When to jump to grblHAL or FluidNC
The development that would have been a Grbl 1.2 went into 32-bit successors instead, and both speak your existing G-code. grblHAL runs one codebase across ESP32, RP2040 (Pico-class), STM32 F1–F7, Teensy 4.x and Arduino Due boards, and its documentation says it "is backwards compatible with Grbl G-code", keeping the same $-numbered settings and the $ command set, with step rates its docs put at 250–600 kHz versus roughly 30 kHz on the 16 MHz Uno. FluidNC, "from the creators of Grbl_ESP32", is the ESP32 option with no compiling: install a release build and describe your machine in a config file. Its README calls it "100% compatible" with day-to-day Grbl gcode sending, with one nuance a classic tutorial won't show you: the numeric dollar-sign settings move into that config file — only setting 10 still answers in the old Grbl numeric style — so a per-axis settings line from an older guide won't work as written. Stay on the Uno lane if this is your first CNC or your setup already works; grblHAL's own docs tell you to stick with Grbl if you "have an Arduino Uno-based setup that works perfectly". Jump when speed or smoothness starts costing you, when you want the machine untethered with Wi-Fi, SD-card jobs and a browser WebUI, or when you're buying new 32-bit boards anyway: pick grblHAL for board choice, or FluidNC if you want an ESP32 and never want to compile anything.
What we verified on 2026-11-25: the upstream freeze dates and final release, the license, the successor repos' activity, and the companion-part store prices on this page, all checked against live sources linked below. Step-rate and performance figures are the grblHAL and FluidNC projects' own documentation claims, not our measurements, and store prices move — re-check the Parts list before you buy.
Source & Attribution

Illustration
How to Build It
Parts Needed
- Arduino Uno (ATmega328P)
- CNC Shield V3
- 3x DRV8825 or A4988 stepper drivers
- NEMA 17 stepper motors
- 12-24V power supply for the motors
- Limit switches (optional)
- PC with a G-code sender (e.g. Universal G-code Sender, CNCjs, Candle)
Steps
- 1
Use the current version
Grbl 1.1h (August 2019) is the final release of the 8-bit firmware — flash that, from the gnea/grbl repository. Active development continues in the 32-bit successors grblHAL and FluidNC (see the notes above), but the Uno lane needs no newer version.
- 2
Flash Grbl
Copy the grbl folder into your Arduino libraries folder, then open the grblUpload example in the Arduino IDE and upload it to the Uno.
- 3
Assemble the shield
Fit the CNC Shield onto the Uno, insert the drivers the right way round, and set each driver's current limit. Connect the motors and the motor power supply.
- 4
Mind the pin change
From v0.9 the Z-limit switch is on D12 and spindle enable is on D11 (for PWM spindle speed). Old wiring guides show these swapped, and homing fails if Z-limit is on the wrong pin.
- 5
Configure
Connect at 115200 baud with a G-code sender and set $100-$102 (steps/mm), max feed rates, acceleration and homing options with $ commands.
- 6
Tips
Test each axis with small jogs before your first cut. $RST lets you restore the default EEPROM settings.
Bill of Materials
Parts list
4 parts · 1 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
1× Arduino Uno
Arduino's US store has the Uno at $19.32 (list $27.60) — re-checked 2026-11-25; clones sit at the low end of the band.
1× CNC Shield V3
Clone board-only price: $0.95 at ElectroPeak, $1.90 at Makerfabs (both in stock, checked 2026-11-25). No genuine-lane stock: the Arduino store carries no CNC shield (checked 2026-11-25), and our research pull found none at DigiKey or Mouser either. One-box alternative: the DAOKI Amazon kit (shield + Uno-compatible board + 4× DRV8825 + heatsinks) is $18.69 (checked 2026-11-25).
3× DRV8825 or A4988
Clone lane: $0.95 for a DRV8825 or $0.75 for an A4988 at ElectroPeak (in stock, checked 2026-11-25); 5-packs on Amazon are the usual route if you want spares. Genuine Pololu is the upgrade lane, not the beginner default: DRV8825 $15.95, A4988 $8.95 direct from Pololu (checked 2026-11-25). Clone batches vary in current-limit pot and sense-resistor tolerances; clone DRV8825 boards are commonly 4-layer PCBs with stick-on heatsinks — set the current limit yourself and test.
Not included: 3D-printed case, wire, solder, USB cable
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
Related Projects



