Author Topic: How To Upgrade Your Grbl Software  (Read 6291 times)

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2220
  • Administrator
    • View Profile
How To Upgrade Your Grbl Software
« on: February 02, 2016, 04:19:16 PM »
This link explains what Grbl is for those of you who may not know:
https://github.com/grbl/grbl/wiki

This link has the Latest Grbl down load link. It's on the right side of the web page and it's called "Download ZIP":
https://github.com/grbl/grbl

This link tells you how to use your Ardunio IDE to compile and flash your new Grbl software:
https://github.com/grbl/grbl/wiki/Compiling-Grbl

After you get your new Grbl software into your laser machine, this link covers configuration:
https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.9

When you flash (install) a new Grbl version, some of your settings previously save in the controller board may get wiped out! So as you configure or re-configure, write down the settings you change so you'll know what they are!

These are the settings I changed:

These are changed to re-calibrate your stepper motors. For my Benbox DIY I ended up with values around 80.0000. There are formulas all over the internet to show you how to calibrate your X axis stepper motor and your two Y axis stepper motors. Once you determine what your corrected values are, write them down!
$100=314.961 (x, step/mm)
$101=314.961 (y, step/mm)

I also changed these values. In my previous Grbl version the default values were 10.000 and I changed mine to 50.000 because it helped the steppers maintain a more constant motion up until the end of the line. With the default values of 10.000 the motors would accelerate slowly while getting up to speed and then towards the end of the line, start to slow down...not good when using a laser! 50.000 gets them up to speed faster and holds that speed until the last second.
$120=50.000 (x accel, mm/sec^2)
$121=50.000 (y accel, mm/sec^2)

Nice list of Grbl Tools:
https://github.com/grbl/grbl/wiki/Using-Grbl
Admin -- Ralph -- support @ BenCutLaser dot us
http://www.BenCutLaser.us/BenCutLaserSetup1.8.4a.exe.zip
BCL Paid license: $39.95
via Paypal to bclpp@primemail.com

ROSS

  • Hero Member
  • *****
  • Posts: 671
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #1 on: April 05, 2016, 08:17:24 AM »
Great info help Ralph.  I have downloaded that lot.
Just need to read and absorb it all and take the plunge!
.
Lasers are wonderful machines..not ONLY  can they cut a finger off BUT  they can also cauterise it at the same time.....

SAFETY -  IS NO ACCIDENT

Pops

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #2 on: July 01, 2016, 06:43:52 PM »
Download the gbrl software but when trying to install it in arduino I get the message that it does not contain library's.  Even deleted arduino and downloaded again.  Same error message.  Think I need a Dummies book for this.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4003
    • View Profile
    • T2Laser
Re: How To Upgrade Your Grbl Software
« Reply #3 on: July 01, 2016, 07:41:56 PM »
What you need to do is use XLoader (you could probably use T2Laser too) to upload the .hex file to the Nano.

dindunuffin

  • Sr. Member
  • ****
  • Posts: 255
  • Not even bright enough to participate in forum.
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #4 on: July 02, 2016, 10:17:25 AM »
I guess this is where its nice to have multiple Arduino Nanos?  One for Grbl, one for JTech, etc.  Then just plug-n-play.

KompewterMan

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #5 on: August 16, 2016, 01:39:38 PM »
Since having the gantry slow down and speed up (at the ends of each line) with the laser turned on produces an uneven burn, might it be better to have the module already moving before the laser turns on and then running past the end of a line before the module stops? This allows the laser to be up to cutting speed before it turns on, and then finish burning the line before the carriage stops to reverse and retrace for the next line.
Retired U.S. Army Paratrooper
Metrology technician
Computer/printer technician
Benbox DIY Laser 2.5 Watts

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2220
  • Administrator
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #6 on: August 16, 2016, 01:55:40 PM »
You don't have to do this, I don't think. It sounds like all you need to do is adjust your acceleration settings of your Grbl. It sounds like they might be set too low.

You can manually see your settings using different software but in my BenCutLaser (screen shot attached) just go to the com port tab and click the $$GrblSettings link and BCL will ask the controller to send back the current Grbl settings...look at what your values are for $120 and $121. If you don't have or don't want to install BCL just use any software where you can manually send the $$ command.

I use about 400 and if yours is set to under 100 the head will slowly decelerate before coming to a stop and then slowly accelerate back up for the next line burn. A setting of 400 to 500 will give you fast, crisp stop starts which is what you want for lasers...but...make sure your frame is secured to your work bench!
Admin -- Ralph -- support @ BenCutLaser dot us
http://www.BenCutLaser.us/BenCutLaserSetup1.8.4a.exe.zip
BCL Paid license: $39.95
via Paypal to bclpp@primemail.com

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4003
    • View Profile
    • T2Laser
Re: How To Upgrade Your Grbl Software
« Reply #7 on: August 16, 2016, 02:01:58 PM »
If you "Skip Blank" in T2Laser it will still add a small distance at each end of the travel for this purpose, and obviously without it selected the head scans the entire line just turning on and off as needed.

Increasing the acceleration value helps obviously, but also keeping the max feed rate lower does too as you don't have such a difference.

lpn9

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #8 on: January 05, 2017, 03:32:51 PM »
Sorry, just joined and also purchased an A3 laser engraver. Will need much information to get up and running once it arrives. Reading much of these posts and getting an understanding of what I need to do to get software/firmware talking to the rig.
Ralph, just wondering if I am reading this wrong, but in a few posts above, you stated $120 and $121 should be 50.00, but later on, you say they are set to 400 each. (to get nice crisp stop/start lines). No one commented on this, so maybe they are discussed in other forum locations as to what each line settings should be set to and why.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2220
  • Administrator
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #9 on: January 05, 2017, 03:54:44 PM »
Welcome to the forum...!!!

I'm using:
$120=400.000 (x accel, mm/sec^2)
$121=400.000 (y accel, mm/sec^2)
$122=400.000 (z accel, mm/sec^2)

Inside BCL there is a one click link that will set all of the Grbl settings for you!
Admin -- Ralph -- support @ BenCutLaser dot us
http://www.BenCutLaser.us/BenCutLaserSetup1.8.4a.exe.zip
BCL Paid license: $39.95
via Paypal to bclpp@primemail.com

spring

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #10 on: February 24, 2017, 01:11:54 PM »
Ok, I think I'm ready to upgrade my banggood 17x22 laser to Grbl, (I got it to work with the Benbox firmware, and know the steppers and laser works)  I followed the instructions on first post of this page to the Grbl site.  I looked all over it for the button to download the software, but while I can find the source code (i think, columns of hex), I can't find the button anywhere on the page.  I noted that it has a bunch of stuff on version 1.1, and am concerned that they wiped the links to the download zip files for earlier versions.  From studying Ralph's information of BCL, I think I can't use Grbl1.1.   Any help here for a noob?

Ok, I really feel like a noob, just went back to the page on which versions work with BCL, and found I'd skipped over the 1.1e version.  found it on the new Grbl page.  Sorry!
« Last Edit: February 24, 2017, 01:18:43 PM by spring »

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2220
  • Administrator
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #11 on: February 24, 2017, 01:59:32 PM »
BCL can use Grbl 0.9i or 0.9j or 1.1e.
Admin -- Ralph -- support @ BenCutLaser dot us
http://www.BenCutLaser.us/BenCutLaserSetup1.8.4a.exe.zip
BCL Paid license: $39.95
via Paypal to bclpp@primemail.com

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4003
    • View Profile
    • T2Laser
Re: How To Upgrade Your Grbl Software
« Reply #12 on: February 24, 2017, 02:16:31 PM »
You can use Grbl 1.1e that I compiled, it is included with T2Laser and one-click to install. 

Kunaphil

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: How To Upgrade Your Grbl Software
« Reply #13 on: February 25, 2017, 08:00:19 AM »
Can the grbl settings be changed/edited in T2 or Bencut.
Just got my home switches installed!👍

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4003
    • View Profile
    • T2Laser
Re: How To Upgrade Your Grbl Software
« Reply #14 on: February 25, 2017, 09:09:03 AM »
Yes, of course. Most are menu options so you don't need to know the Grbl $ codes but you can always use debug mode and manually change any settings. The display Grbl settings option in the menu shows them and their usage / default values.