How to make GRBL based CNC plotter

How to make GRBL based CNC plotter

Hello friends
this my new CNC plotter machine based on GRBL firmware which supports Z axis servo
In this article I will show you complete guide how to make mini GRBL based CNC plotter powered by two 28BYJ-48 Stepper motor & one tower pro mini servo.




Components required

  1. Arduino UNO
  2. 28BYJ-48 stepper motor
  3. Tower pro servo motor
  4. GRBL CNC shield
  5. A4988 Stepper driver
  6. Power adapter



Link to download

MI Inkscape
CNC – Shield v3 01 WIRING.png
GRBL Controller

Electrical Drawing

CNC – Shield v3 01 WIRING z axis servo


Loading firmware in ARDUINO

This mini CNC machine based on GRBL firmware this cnc plotter machine have servo on Z axis to pen up down

first have to download the MI GRBL  firmware now unzip the folder

Copy the MIGRBL folder and past it at Document > Arduino > Libraries

now MIGRBL library is added


Adding Extension in Inkscape

Here we are using Inkscape software to generate G-code for our machine

basically Inkscape is not directly save file as a G-code format for this

we need a external extension to generate our MIGRBL compatible G-code

So download   MI Inkscape

Unzip the folder copy folder now go to

Inkscpae icon right click go to properties and click on open file location

now go to share > extension

past here the copied folder

Now open this folder copy all four file past then also in extension folder

its done extension to generate G-code is added in inkscape

Now you can generate gcode as shown in Video

Streaming G-code to arduino

Till now your arduino is live you have G-code ready to run

but you need something by which G-code can stream to machine via GRBL CNC shield

so download  GRBL Controller this software is used to send G-codes to arduino/cnc shield

and accordingly CNC shield send commands to stepper motor to run

there are may parameters in GRBL which you can change as required to perfectly calibrate your CNC machine

Follow the link to get complete details how GRBL works

now you can able to run your machine successfully comment below if you have any trouble

Do subscribe to our Youtube channel


Hobbiest Electrical DIY project passionate

One thought on “How to make GRBL based CNC plotter

  • 3rd March 2018 at 7:12 pm


    Here you are using a CNC Shield, with the A4988 driver which has 4 pins, and you are using the Stepper Motor has 5 output pins.
    Where is the 5th pin of the Stepper Motor connected ?

    Nice video, and Thanks for Sharing.

Leave a Reply