Welcome to Our Community

Some features disabled for guests. Register Today.

Gcode senders cannot connect

Discussion in 'OpenBuilds Forum Help' started by PJMaud, Apr 29, 2024.

  1. PJMaud

    PJMaud New
    Builder

    Joined:
    Apr 29, 2024
    Messages:
    6
    Likes Received:
    0
    I have installed GRBL on both Arduino Nano and UNO.
    Using Arduino IDE Serial Monitor both seem to be ok when sent $$ and the repsonse shows a list of Gcode commands as expected.
    I have tried 3 different Gcode senders including UGC and LaserWeb but cannot establish a connection to the Arduino boards.
    Laserweb seems to try to connect and then gives the message as follows
    server error : connecting COM 6 : access denied
    This the same port that Arduino IDE Serial Monitor is getting a response on.
    Any help to resolve this would be appreciated
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,180
    Likes Received:
    4,149
    Did you close the other apps that "can" connect (access denied means its still connected or owned by another application)
     
  3. PJMaud

    PJMaud New
    Builder

    Joined:
    Apr 29, 2024
    Messages:
    6
    Likes Received:
    0
    Yes I did try that and then get the message " no supported firmware detected. closing port COM6"
    I read elsewhere that create_env.bat may be the issue and that it needs to be run in the Laserweb folder. I cannot seem to locate the Laserweb folder in Program files though, only in the download folder?
     
  4. PJMaud

    PJMaud New
    Builder

    Joined:
    Apr 29, 2024
    Messages:
    6
    Likes Received:
    0
    I see now that Laserweb is in AppData/Roaming, shall I run create_env.bat there?
     
  5. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,180
    Likes Received:
    4,149
    Not with an Arduino. Thats for 3rd party boards like STM32s etc that can't autoreset
    Can give it a short just doubtful it would change anything

    HOW did you install Grbl? Is it grbl 1.1h and installed using Flashing Grbl to an Arduino (if not, do that) as LaserWeb expects to see an instance of Grbl 1.1 (official build, not a fork or an old version etc)
     
  6. PJMaud

    PJMaud New
    Builder

    Joined:
    Apr 29, 2024
    Messages:
    6
    Likes Received:
    0
    Grbl 13.2 by M5Stack installed according to Arduino IDE library manager
     
  7. PJMaud

    PJMaud New
    Builder

    Joined:
    Apr 29, 2024
    Messages:
    6
    Likes Received:
    0
    I actually downloaded GRBL 1.1h and thought that I had installed it. Maybe I need to to re-install it. Arduino IDE lists it as GRBL library master then GRBL to Arduino. Maybe this is the wrong version?
     
  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,180
    Likes Received:
    4,149
    You need the proper original Grbl


     
  9. PJMaud

    PJMaud New
    Builder

    Joined:
    Apr 29, 2024
    Messages:
    6
    Likes Received:
    0
    I removed the M5Stack Grbl and have installed Grbl 1.1h.
    Laserweb now connects ok with a message "Firmware Grbl 1.1h detected"
    If I send $$ from Arduino IDE Serial Monitor I get an error and no list of Gcodes.
    How do I test if the firmware is correctly installed?
    I am trying to control 2 axes on a surface grinder very similar to the machine Tormach used to market as PSG see link
    PSG 612 Surface Grinder
    The Z axis is too fine to risk automation as the "cut' is only microns and subject to backlash and need to be manually set.
    I want to control only the X and Y axes with step and direction sent from the Arduino Uno to TSB 6600 stepper drivers.
    Can Laserweb do this?
    If so which pins on the Uno caryy the step and direction signals?
    Thanks for your help so far
     
  10. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,180
    Likes Received:
    4,149
    It's a Laser CAM. So not really its intended use


    Well, you get
    which says it is

    Which error? But use a Grbl host (CONTROL, UGS, etc - let it manage comms for you, Serial terminal is not the right tool either)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice