WWW Instructables Com GRBL Offline Controller
WWW Instructables Com GRBL Offline Controller
Find
Out!
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
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
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.
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).
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
THe GND pin goes to the ground pin on the arduino Nano
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).
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.
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
V Ask Question
| Post Comment
21 Comments
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?
13 answers F
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/
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com