Beruflich Dokumente
Kultur Dokumente
GRBLDroidBT
Purchase & Download
Documentation
Screenshots
Forum
Prerequisites
In order to use GRBLDroidBT you need :
1) A CNC machine
2) An Arduino Duemillanove / UNO board
3) An HC 05 Bluetooth module that can be found at ebay
4) An CNC SHIELD that can be found at ebay
5) 4pcs A4988 StepStick stepper drivers that can be found at ebay
6) One 1K resistor and one 1.8K or 2K resistor
7) Some Jumper wires
8) An Android tablet with Bluetooth
The HC-05 should be in communication mode with the LED on the HC-05 blinking about 5
times a second.
This indicates the module is waiting for a connection or to be paired.
Open the serial monitor from Arduino GUI and set :
BOTH NL & CR and speed : 9600 baud.
Press the small button switch of the BT HC-05 board located at bottom right like the photo
below.
Release the small button switch.
That’s it. You are now in "mini" AT mode.
The LED does not change. It still blinks quickly at 5 times a second.
In the serial monitor enter "AT" (no quotes) and hit Send.
You should get an "OK"
Query the version by typing "AT+VERSION?" and hit the Send button.
Query the name by typing "AT+NAME?" and hit the Send button.
Set a new name by typing "AT+NAME=NEW_BT_NAME" and hit the Send button.
Query the password by typing "AT+PSWD?" and hit the Send button.
Set a new password by typing for example : "AT+PSWD=2987" and hit the Send button.
Query the role of the device (master/slave) by typing "AT+ROLE?" and hit the Send button.
We need to set the device into slave mode so type : "AT+ROLE=0" nd hit the Send button.
Query the speed of the device by typing "AT+UART?" and hit the Send button.
We need to set a transmission rate to 115200 bps one stop bit and no parity bit so we have to
give: "AT+UART=115200,0,0".
Uploading the GRBL firmware into Arduino board using Arduino GUI.
Download grbl-master.zip from here
Unzip only the grbl folder
Run Arduino gui
Hit : Sketch > import library > select the grbl unzipped folder
This will copy the selected folder at
C:\Users\[user]\Documents\Arduino\libraries
using the option : File > Preferences > show verbose at compilation
Usage of GRBDroidBT
GRBLDroidBT is pretty easy to use.
All you need is to install it on an android tablet (4.0+) that has Bluetooth support.
Enable Bluetooth at the tablet.
Now go to "Settings" at your Android Device and hit "Bluetooth".
Hit "Search for devices".
Find your HC-05 device and pair it with your tablet using the password.
Now run GRBLDroidBT and press the "Connect" button in order to connect.
Hit the SCAN FOR DEVICES button like the picture below
1) Command :
From the "command" tab you can send commands to your machine.
By sending "$$" you can see all the stored grbl firmware settings into the bottom blue scroll
box.
More information about the commands can be found here
For example if we want to change the x max feedrate speed set it and store it at a value of
500mm/min then we have to send the command :
$110=500
In order to re-control the new stored value simply send "$$" again.
2) Manual movements (Jogging) :
First of all make sure you have set a valid step size.
Step sizes can be integers or decimal numbers.
A step size of 1mm means that each time you press the +Y button you will moved +1mm
towards the y direction from the current position that you are located.
You can also toggle between mm and inches.
$H : This command is the only way to perform the homing cycle in Grbl.
$X : Kill alarm lock. $X override the locks and allow G-code functions to work again.
$C : This toggles the Grbl's gcode parser to take all incoming blocks process them completely,
as it would in normal operation, but it does not move any of the axes.
$G : This command prints all of the active gcode modes in Grbl's G-code parser.
Each line of the gcode file should not be longer than 80 characters including the ending enter
character.
Each gcode file must be checked before sending.
More informations about this limitation can be found here
Video presentation :
Tips :
Use a dedicated tablet for GRBLDroid
Disable WiFi
Disable data / internet connections while using GRBLDroid
Disable GPS
Disable Autorotation
Enable only Bluetooth