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.

 

Video

 

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 Extension.zip

MIGRBL.zip
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 Extension.zip

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 https://github.com/grbl/grbl/wiki 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

Low cost PCB on PCBWay - only $5 for 10 PCBs and FREE first order for new members

PCB Assembly service starts from $88 with Free shipping all around world + Free stencil 

PCBWay 2nd PCB Design Contest

 

 

sandeep

Hobbiest Electrical DIY project passionate

8 thoughts on “How to make GRBL based CNC plotter

  1. Hi,

    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.
    Shashi

  2. Dear Mr.Innovative
    I was made this kit.Everything is ok.But ı don’t
    Calibrate it.I am watching your video step by step a lot of time.When i connect y axis plate it was so heavy to y axis motor.I don’t understand this.Do you help me?

  3. Hello my friend.
    Can i have dimensions of your 3d printed parts that you have used in this project?

  4. Pingback: DIY CNC DRAWING MACHINE | GRBL BASED CNC MACHINE - Electric DIY Lab
  5. you did not properly emphasize on how you send the MIGRBL on your arduino board. Because I followed your guide and what I did is after I copy the MIGRBL inside the arduino library, then I open the ARDUINO IDE and went sot sketch —-> Include Library ——> MIGRBL and when I click the compile it gave me this errors.

    In file included from C:\Users\Mezta\Desktop\Arduino L923D Shield Code\MIGRBL\examples\grblUpload\grblUpload.ino:7:0:

    C:\Program Files (x86)\Arduino\libraries\grbl/grbl.h:68:4: error: #error “Required HOMING_CYCLE_0 not defined.”

    #error “Required HOMING_CYCLE_0 not defined.”

    ^

    C:\Program Files (x86)\Arduino\libraries\grbl/grbl.h:108:4: error: #error “WCO refresh must be greater than one.”

    #error “WCO refresh must be greater than one.”

    ^

    C:\Program Files (x86)\Arduino\libraries\grbl/grbl.h:111:4: error: #error “Override refresh must be greater than zero.”

    #error “Override refresh must be greater than zero.”

    ^

    Multiple libraries were found for “config.h”
    Used: C:\Users\Mezta\Documents\Arduino\libraries\GRBL-Arduino-Library-master
    Not used: C:\Program Files (x86)\Arduino\libraries\grbl
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Not used: C:\Program Files (x86)\Arduino\libraries\grbl
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Not used: C:\Program Files (x86)\Arduino\libraries\grbl
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Not used: C:\Program Files (x86)\Arduino\libraries\grbl
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Multiple libraries were found for “cpu_map.h”
    Used: C:\Program Files (x86)\Arduino\libraries\grbl
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    Not used: C:\Program Files (x86)\Arduino\libraries\MIGRBL
    exit status 1
    Error compiling for board Arduino/Genuino Uno.

    Kindly please show us how you make the programming process.

    1. When you are compiling make sure you have chosen arduino UNO as a board, and delete any older GRBL library from library folder.

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter Captcha Here : *

Reload Image