Welcome to Our Community

Some features disabled for guests. Register Today.

grblHAL

Discussion in 'Control Software' started by Peter Ashford, Aug 12, 2023.

  1. Peter Ashford

    Builder

    Joined:
    May 18, 2014
    Messages:
    5
    Likes Received:
    2
    Hi, I would like to use the openbuild control software 1.0.370 with my pico, I really like the interface.

    (At this stage, I am only using a bare pi pico - so this could be a problem).

    I have used the grblHAL Web Builder to generate the pico file but even using the various compatibity modes, the control software can't open the port.

    The Pico does appears to have grblHAL loaded as I can open the port in Termite and list grbl commands.

    The updates on the control software v1.0.368 does point to the fact that it should work.

    Any ideas ?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,002
    Likes Received:
    4,302
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,447
    Likes Received:
    1,912
    I tried this out, used the web builder to build for the pico using the -BOB-G540 option and got bCNC to connect. it does come up in ALARM mode , probably because I have no switches connected to the pico at all and it
    is expecting NormallyClosed limits,. After a rest I can communicate with the pico on the console.

    However, CONTROL fails to find any device at all, which is weird, it should surely be able to talk to grblHAL installed on any of the supported 32bit hardware?
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,002
    Likes Received:
    4,302
    Does it enumerate as a USB Serial device? We find devices using SerialPort.list serialport | Node SerialPort
     
  5. jeffmorris

    jeffmorris Journeyman
    Builder

    Joined:
    Nov 6, 2017
    Messages:
    496
    Likes Received:
    115
    David, I have an ESP32 Huzzah32 board. Is it possible for it to control 4 stepper motors, three limit switches, and Z=probe?
     
  6. terjeio

    terjeio Well-Known
    Builder

    Joined:
    Oct 18, 2020
    Messages:
    59
    Likes Received:
    60
    I can connect both via USB (it enumerates on my Win10 machine) and network (ethernet).
     
    Peter Van Der Walt likes this.
  7. Peter Ashford

    Builder

    Joined:
    May 18, 2014
    Messages:
    5
    Likes Received:
    2
    I have ordered a PicoCNC board so this should have the correct alarm/run signals connected.
    I tried another firmware build with comparability set to 10, still won't connect to CONTROL.
    I will try bCNC.
     
  8. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,447
    Likes Received:
    1,912
    Yes, appears as COM7
     
  9. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,447
    Likes Received:
    1,912
    I don't know, you will have to read the the wiki
    GitHub - grblHAL/ESP32: grblHAL driver for ESP32
     
  10. terjeio

    terjeio Well-Known
    Builder

    Joined:
    Oct 18, 2020
    Messages:
    59
    Likes Received:
    60
    Use the Web Builder to check which boards allows for 4 axes and a probe input. Be sure to check if USE_I2S_OUT is defined in the board map (this can be opened from the Web Builder by clicking the Board map button) as these uses shift registers for many signals and are not as easy to wire up.
     
    David the swarfer likes this.
  11. Peter Ashford

    Builder

    Joined:
    May 18, 2014
    Messages:
    5
    Likes Received:
    2
    Hi, I’ve built the code for the picobob which doesn’t use shift registers and loaded this onto a bare pico on a development board once I cleared the Estop this worked with the iocontrol software from grblhal AND very briefly worked with the control software, then the control software complained that it couldn’t find a comms port.
    So near !
    I’ve laid out a PCB which is similar to the picoBob with level changers so i will report back when i have this board and if it works.
     
    David the swarfer likes this.

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