LaserGRBL
LaserGRBL copied to clipboard
Lasergrbl stop responding
I am using only x and y axis.
Grbl 1.1h and Arduino uno R3 atmega328p.
Using Windows 7 32bit or 64 bit.
lasergrbl often showing error detected some problem with your board in the middle of progress.
Please help.
Also i'm trying using arduino mega 2560, using grbl 1.1f mega, i can not connect using lasergrbl, using USG can connect, what could be wrong?
Have you read the FAQ as mentioned in the error message?
If not, start with “Problem detected” message: hang or disconnect during engraving
section.
For the Mega, I'm sure it is supported, as I'm using one myself (through telnet proxy though, but was working with USB before).
Try using UsbSerial2
protocol in Settings
-> Connection protocol
Have you read the FAQ as mentioned in the error message? If not, start with
“Problem detected” message: hang or disconnect during engraving
section.For the Mega, I'm sure it is supported, as I'm using one myself (through telnet proxy though, but was working with USB before). Try using
UsbSerial2
protocol inSettings
->Connection protocol
When arduino mega flashing with xloader, it successfully connect with lasergrbl, but i cannot pass homing because using only 2 axis, how to disable z axis? Editing config.h and flashing with arduino ide cannot detect with lasergrbl. How to edit the hex file? So i can edit config.h
You can't (easily) edit .hex
files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools
-> Flash Grbl Firmware
-> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK
You can't (easily) edit
.hex
files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, clickTools
->Flash Grbl Firmware
-> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> ClickOK
For arduino mega ?
You can't (easily) edit
.hex
files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, clickTools
->Flash Grbl Firmware
-> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> ClickOK
For arduino mega ?
First, download and run xloader.zip ( https://github.com/xinabox/xLoader ) . And download grbl-Mega_v1.1f.20170802.hex ( https://github.com/gnea/grbl-Mega/releases ).
Open xLoader. Select the hex file you downloaded. Choose the correct com port and hit the update button.
You can't (easily) edit
.hex
files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, clickTools
->Flash Grbl Firmware
-> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> ClickOK
For arduino mega ?
First, download and run xloader.zip ( https://github.com/xinabox/xLoader ) . And download grbl-Mega_v1.1f.20170802.hex ( https://github.com/gnea/grbl-Mega/releases ).
Open xLoader. Select the hex file you downloaded. Choose the correct com port and hit the update button.
Using xloader only hex file grbl-Mega-v1.1f that available on the net which is for 3 axis. Homing is not working for 2 axis. I can create hex file and editing config.h using arduino ide but when upload using xloader, lasergrbl can not connect
You can't (easily) edit
.hex
files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, clickTools
->Flash Grbl Firmware
-> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> ClickOK
For arduino mega ?
Sorry, I forgot you were asking for mega fw. If you can edit it in Arduino IDE, you should be able to upload from the directly. Just connect your board to your PC, and when done editing 'config.h' hit upload on Arduino IDE. The IDE will compile your code (to a hex file, which gets removed after upload by default), then uploads it to your mega.
You can't (easily) edit
.hex
files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, clickTools
->Flash Grbl Firmware
-> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> ClickOK
For arduino mega ?
Sorry, I forgot you were asking for mega fw. If you can edit it in Arduino IDE, you should be able to upload from the directly. Just connect your board to your PC, and when done editing 'config.h' hit upload on Arduino IDE. The IDE will compile your code (to a hex file, which gets removed after upload by default), then uploads it to your mega.
Already try get the hex file using arduino ide and upload using xloader or directly upload the folder with config.h already edit using arduino ide, but still lasergbrl can not detect and connect to the board
Sorry for the late reply, I've tried to make a tutorial how to edit & upload GRBL to a mega.
- Get GRBL Mega 5x (Click the green
code
button ->download zip
) - Open the zip file, then extract
grbl
folder (only the grbl folder) to your arduino documents folder (default isC:\Users\{YourUser}\Documents\Arduino\libraries
) - Once copied, you can edit
config.h
(Take a note about#define BAUD_RATE
ardound line 48, you need to use this number when connecting with LaserGRBL) - Open Arduino IDE.
- Click
File
->Examples
->grbl
->grblUpload
- Select the correct board & COM port
- Hit upload (once uploaded, you should get similar orange text)
- Connect with LaserGRBL (You can use
UsbSerial2
protocol, that seems to be more stable with mega)I hope this tutorial helps
Sorry for the late reply, I've tried to make a tutorial how to edit & upload GRBL to a mega.
- Get GRBL Mega 5x (Click the green
code
button ->download zip
)- Open the zip file, then extract
grbl
folder (only the grbl folder) to your arduino documents folder (default isC:\Users\{YourUser}\Documents\Arduino\libraries
)![]()
![]()
- Once copied, you can edit
config.h
(Take a note about#define BAUD_RATE
ardound line 48, you need to use this number when connecting with LaserGRBL)- Open Arduino IDE.
- Click
File
->Examples
->grbl
->grblUpload
![]()
- Select the correct board & COM port
![]()
- Hit upload (once uploaded, you should get similar orange text)
![]()
- Connect with LaserGRBL (You can use
UsbSerial2
protocol, that seems to be more stable with mega)![]()
I hope this tutorial helps
Wow...thank you very much for detail tutorial. I will try , and send further info
I try and still no luck I can not connect to the mega with lasergrbl
I try and still no luck I can not connect to the mega with lasergrbl
Does LaserGRBL show any error messages? Could you upload LaserGRBL extended log after an unsuccessful connection? Could you take pictures when UGS connects?
Error
Log
Using ugs port not detect, but im device manager port is detect arduino
I suspect another issue here, since neither LaserGRBL nor UGS can see your MCU.
By extended log, I meant ?
sign in LaserGRBL -> Activate extended log
-> Select a path where you want to save it -> Try to connect -> When failed, you can upload the log here, it might contain something useful info.
What kind of mega do you have? The original/clone with ATmega16U2 (big brick like connector), or CH340 micro USB connector? CH340 is known for not being that reliable.
When finished flashing the firmware (in Arduino IDE), when opening Serial Monitor
, do you see a message similar to this?:
I suspect another issue here, since neither LaserGRBL nor UGS can see your MCU. By extended log, I meant
?
sign in LaserGRBL ->Activate extended log
-> Select a path where you want to save it -> Try to connect -> When failed, you can upload the log here, it might contain something useful info.What kind of mega do you have? The original/clone with ATmega16U2 (big brick like connector), or CH340 micro USB connector? CH340 is known for not being that reliable.
When finished flashing the firmware (in Arduino IDE), when opening
Serial Monitor
, do you see a message similar to this?:
Nope i dont see any message in serial monitor
What is the output text when you finished flasshing in Arduino IDE? (the orange text at the end) I suspect either your USB cable, USB port or Arduino USB to serial converter might be damaged, since there is no reliable communication between your pc and your board