Welcome to Our Community

Some features disabled for guests. Register Today.

grbl shield V3 Auto halt and Resume

Discussion in 'Controller Boards' started by ritu, Jul 12, 2022.

  1. ritu

    ritu New
    Builder

    Joined:
    Jun 16, 2021
    Messages:
    19
    Likes Received:
    3
    Hi All

    I'm using grbl v1.1 and on my controller I've a halt and resume pin. Functionality works fine when I use a normal switch. Signals are active low and pulled high by default. When connected to ground respective function takes effect.

    I do not know internally how grbl uses these pins for halting or resuming... I assume arduino generates an interrupt on falling edge and halts grbl state machine. Not sure if the pins need to be pulled high again(that would matter if halt/resume use the same interrupt and have a common handler, so unless previous pin is pulled high it'll not be able to find which pin is asserted)

    I need a sample circuit to do this automatically based on 12V supply power failure. Is there a reference circuit available for this ?

    Cheers
    Ritu
     
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,238
    Likes Received:
    1,815
    you need a 12v relay with NC and NO contacts.
    power the relay from the PSU.
    at this time the NC contacts will be open. just like an open switch.
    connect those contacts exactly like a switch to the hold/resume pin and controller ground.
    Now, when the PSU goes off the relay will release and the contacts will close and GRBL will halt.
     

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