Welcome to Our Community

Some features disabled for guests. Register Today.

GRBL controller running UNO

Discussion in 'CNC Mills/Routers' started by Ray Regan, Apr 21, 2017.

Tags:
  1. Ray Regan

    Ray Regan New
    Builder

    Joined:
    Apr 21, 2017
    Messages:
    4
    Likes Received:
    1
    I have an Arduino UNO clone running GRBL v. 0.9 on a CNC engraver. I am trying to get it set up. I keep running into issues with it randomly changing parameters or acting like it has. I am using GRBL controller 3.6.1 which came with the tool. I have reflashed the GRBL hex file with little success. This is my first CNC experience. It's a lot to take in all at once. I have seen GRBL v 1.1 on the web. Is this version better?
     
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder

    Joined:
    Aug 6, 2013
    Messages:
    784
    Likes Received:
    362
    Hi
    Yes, V1.1 is better, BUT GRBL controller 3.6.1 (the project has not been updated in some time) does not support it so you will have to switch to GRBLPanel or UGS (the 'platform' version is quite nice).
    How to install V1.1
    1. get the release hex from Releases · gnea/grbl · GitHub
    2. flash it.
    3. use new GUI to talk to it.

    Now, that clone.... there are known problems with UNO clones that have the CH340 usb to serial chip on them. These problems cannot be fixed AFAIK so you have to replace that with a genuine UNO that has the atmega16u2 usb chip. IF you have any problems with that (very large Gcode files can do it) you can upgrade the software to fix it. If you never run large files with many short segments, you will probably never have a problem. (also, newer UNOs already have the fixed software loaded).

    parameters: my preference for setting parameters is UGS, the plain old one (v1.0.9 now). It just seems to work nicely , and simply, type a commnand, press enter, parameter gets set. simple and easy.
    for example
    $100=26.6666666​
    then command
    $$​
    to display all the current settings to check.

    Now, a possible problem might be that the EEPROM has become corrupted.
    To reset the EEPROM to defaults, give the command
    $RST=*
    This will ensure that all the settings are rewritten. This makes sure they CAN be written (your EEPROM may be worn out) and also makes sure they are sensible default values. After this make sure you set the parameters correctly and can jog and give manual commands successfully before attempting to run a Gcode file.
    V1.1 has dedicated jog commands which the updated GUI's make use of to jog smoothly and stop when told to.

    Then a command like
    G0 X100​
    should move the X axis 100mm to the right (assuming you are using mm mode, give G21 first if you are not sure)
    G0 Y100​
    should move 100mm away from you, and so on.

    If your machine has home and/or limit switches, DO NOT try to set them up at first. First make sure the machine works correctly without them. Once you have all your calibration etc correct, then you can move on to setting up homing.
    Why do I say this? Limit switches are the source of most setup problems because electrical noise gets into them and stops normal operation. These noise faults are usually intermitant and non-specific and therefore hard to pinpoint. BY making sure the machine itself and the GRBL setup works properly before activating the switches you eliminate many variables so any problems after activating, for example, a homing cycle, are definitely related to the homing switches and setup rather than anything else.
    If you do have limit switch issues, then read the GRBL wiki about it. In fact, reading all of the GRBL wiki is a good idea.
    Knowledge is power (-:

    let us know how it goes...
     
    Rick 2.0 likes this.
  3. Ray Regan

    Ray Regan New
    Builder

    Joined:
    Apr 21, 2017
    Messages:
    4
    Likes Received:
    1
    Wow, this is a lot of very helpful information. Thank you so much for taking the time to write it. I will take your advice and update when I am done. Thanks again
     
  4. Ray Regan

    Ray Regan New
    Builder

    Joined:
    Apr 21, 2017
    Messages:
    4
    Likes Received:
    1
    My UNO clone does have that 340 chip you mentioned. Guess I'll be ordering a real UNO before going much further. More to come

    Thanks again
     
    Cornerspace likes this.

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Maker needs.


    [email protected]

  • Like us on Facebook

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provides resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop their future.

    Donate to Open Source