0% found this document useful (0 votes)
232 views

WWW Instructables Com GRBL Offline Controller

The document provides instructions to build an offline controller for a GRBL controlled CNC machine using an Arduino Nano, 4x4 keypad, and LCD screen. It describes connecting the components and loading the code to control axis movement and display information.

Uploaded by

David duran
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
232 views

WWW Instructables Com GRBL Offline Controller

The document provides instructions to build an offline controller for a GRBL controlled CNC machine using an Arduino Nano, 4x4 keypad, and LCD screen. It describes connecting the components and loading the code to control axis movement and display information.

Uploaded by

David duran
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

11 Days Until Halloween - What does a Spicy Panda have to do with Halloween?

Find
Out!

GRBL Offline Controller


By DavidT660 in Workshop > CNC 10,433 11 21

Download Favorite

Here you will nd instructions on how to add an o ine controller for a GRBL
controlled CNC mill, laser engraver etc.

The current controller I am using is a 2418 3018 3 axis cnc controllerand it works
well but it lacks any ability to do feed hold or resume and the documentation is
very poor.

You can buy an o line controller but they are expensive and quite honestly I
think mine is better (What do you think).
The controlller is very handy for moving the axis around to setup the origin
points. It can also be used for simple milling operations..

This also works with the keyes style GRBL controller and probably many other
GRBL controllers.

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
 Add Tip V Ask Question | Comment Download

Step 1: Parts Required

2 More Images

Apart from the GRBL controller the set up only uses 3 items and six wires.

They are an arduino Nano a 4*4 keypad a 20*4 LCD screen with an I2C
controller on the back and 6 jumper. wires

 Add Tip V Ask Question | Comment Download

Step 2: Connecting It All Up

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Here is a picture of my o ine controller mounted on my home made cnc mill.

To hook it up connect the 2 wires from the GRBL controller as shown to the TXD
and RXD on the Arduino controller (RXD to TXD and TXD to RXD).

These are the transmit and receive connections and that is why transmit needs
to be connected to receive and visa versa for the other wire.

 Add Tip V Ask Question | Comment Download

Step 3: Keypad

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
The Keypad plugs directly into the arduino as shown on the picture.

From D2 to D9 on the Nano (Right hand end of the keypad lead goes to D2).

 Add Tip V Ask Question | Comment Download

Step 4: Connect the Lcd Screen

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
There are 4 connections on the back of the the lcd screen

VCC goes to the 5 volt connection on the arduino Nano

THe GND pin goes to the ground pin on the arduino Nano

The SDA pin goes to A4 pin on the Arduino Nano

The SCL pin goes to A5 pin on the Arduino Nano

Thats it you are all connected up.

You need to load the arduino code (Attached) and you are good to go for
testing it out.

You must plug the GRBL controller and the arduino into connected usb ports
for it to work (either both into the computer if you want to use the o ine
controller and a g code program together or into a powered USB powerpoint if
you want to just use the controller by itself ). (I think it is to do with the ground
connection).

I use BCNC as my software controller and it works well for that.

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
You will quickly pick up by looking at the code that I am not a programmers
arsehole so if you can improve the code please feel free to do so. There is some
slight delays when you push the axis movement buttons in quick succession.

Offline GRBL controller V1.ino Download

 Add Tip V Ask Question | Comment Download

Be the First to Share


Did you make this project? Share it with us!

I Made It!

Recommendations

Easy Wood Block Figurines by heck yes Build a DIGITAL MAGIC MIRROR by DIY
arts in Woodworking Machines in 3D Printing

 w 1  138 8 7.2K   226 8 14K


Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
 Add Tip

V Ask Question

| Post Comment

We have a be nice policy.


Please be positive and constructive.

Add Images Post

21 Comments

armandtanohk01 Question 1 year ago


Answer / Upvote
salut les pro suis nouveau j aimerai savoir si quelqu'un pouvait me aider j ai fabriquer
une cnc grbl 1.1h et j aimerait le contrôler avec un contrôleur hors ligne via LCD 128*64 ,
un clavier de 4*4 et une carte sd
1 answer F

diki139 1 year ago


Reply / Upvote

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
please help me how to connect 4x4 keypad pin to arduino?

armandtanohk01 Question 1 year ago


Answer / Upvote
hi pros i am new i would like to know if someone could help me i have made a cnc grbl
1.1h and i would like to control it with an offline controller via LCD 128*64, a 4*4
keyboard and an sd card
1 answer F

/1 msalehi72 Question 1 year ago on Step 4


Answer / Upvote
Thanks for sharing. I have some questions:
1- what is the power supply of the GRBL controller and Arduino NANO.?
2- is it possible to use this offline controller without any connected computer?
3- I tried to open the code, but I have issue with the file. can you please check the file?

13 answers F

wfdudleyjr 1 year ago on Step 1


Reply / Upvote
Good job. I've re-written your code, and extracted the keypad image so it can be printed
on paper and glued over the keypad.

I added range-checking to the numeric inputs (XYStep, ZStep) so they can't get out of
bounds. I added some useful messages displayed on the LCD. I removed all the code
that changes the Serial rate to 9600; that is unnecessary, as the LCD i2c interface is
entirely separate from the Serial port.

Finally, you don't need to power this project from a USB hub; the offline controller
connector supplies 5v and ground. The top row of pins, left to right, are: 5v, gnd, TxD,
RxD. Gnd obviously goes to ground on the Nano; the 5v pin should go to the 5v pin on
the Nano.
You'll need to wire both that AND the 5v to the LCD controller to that 5v pin. Don't
connect
to the Vin pin on the Nano -- this will give you too low a voltage on the 5V pin because
there will be a voltage drop through the on-board regulator.

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
My code and the keypad image are here:
https://www.dudley.nu/projects/grbl_offline_v1/

More Comments Post Comment

Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com

You might also like