Welcome to Our Community

Some features disabled for guests. Register Today.

MPCNC and Blackbox x32 and Auto-Squaring

Discussion in 'General Electronics' started by Xafod, Aug 1, 2023.

  1. Xafod

    Xafod New
    Builder

    Joined:
    Apr 30, 2022
    Messages:
    12
    Likes Received:
    1
    My name is Allen Morrow and I built my MPCNC Primo out. After playing with it for a bit, I wanted to change the controller out to the Blackbox x32. I have it all mounted and mostly wired up but I have a question. How do I configure the controller to do Auto-Squaring using the limit switches?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,194
    Likes Received:
    4,346
    You can compile grblHAL using the grblHAL Web Builder:

    1) Wire up the 2nd square-axis switch in parallel to Z (As XY homes seperately from Z, the Z input can be used to detect X2/Y2 switch)
    2) Configure an AutoSquare option (X or Y as needed) in http://svn.io-engineering.com:8080/?driver=ESP32&board=BlackBox X32 and flash to the controller
     
  3. Xafod

    Xafod New
    Builder

    Joined:
    Apr 30, 2022
    Messages:
    12
    Likes Received:
    1
    Your awesome!!! I will tweak it when I get home today from work.
    What are your thoughts on having min and max limit switches?
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,194
    Likes Received:
    4,346
  5. Xafod

    Xafod New
    Builder

    Joined:
    Apr 30, 2022
    Messages:
    12
    Likes Received:
    1
    Do you mean to wire it like this for the auto squaring?
     

    Attached Files:

  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,194
    Likes Received:
    4,346
    You can't square two axes with the BlackBox. Only one. X or Y. Building the machine squarely might be much simpler
     
  7. Xafod

    Xafod New
    Builder

    Joined:
    Apr 30, 2022
    Messages:
    12
    Likes Received:
    1
    ahhhh would it be better to to use the limit switches as homing instead of squaring?
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,194
    Likes Received:
    4,346
    Definately. Autosquaring is hard to do right - and ultimately - fixing a machine that was built weakly, or out of square in the first place. Using the motors to pull a skewed frame back into square, not ideal. "Workaround" not recommended... Build it properly: Tramming: A generic guideline
     

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