Welcome to Our Community

Some features disabled for guests. Register Today.

BBx32 Out of Box issues

Discussion in 'Controller Boards' started by Caitlyn, Jun 3, 2024.

  1. Caitlyn

    Caitlyn New
    Builder

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    Hello,
    I am brand new to GRBL & Blackbox x32, so please forgive me if these are elementary questions.

    Relay1: This port, which is described as "NO", is normally closed (connected). (When the machine is completely off, it is still closed. It only disconnects when the tool is turned on.)

    X/Y Limit switches: These seem to be set (using the OpenBuilds Control diagnostic panel) as expecting normally closed switches.
    Probe and Z Limit on the other hand, behaves as you would expect a Normally Open switch to behave.
    (I notice that different firmwares changes these behaviors.)

    I want a 4 axis machine, with a door sensor on it. There is a pre-compiled firmware for 4 axis, and a 3 axis with door sensor, but not both.

    How can I fix these?
    Thanks for the help!
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    CONTROL > Grbl Settings tab > Select machine from the list and Save and Reset. Our profiles sets default pin configs too

    Custom firmware can be built using the grblHAL Web Builder

    How old is the BlackBox / what version is it (peep into vent holes on side where SD card is)
     
  3. Caitlyn

    Caitlyn New
    Builder

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    v1.2 is printed on the PCBs.
    I have two of these x32s, bought years ago, and finally putting them to use. Both are exhibiting the same issue.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    OK so yes, NO/NC relay has since been fixed . But these are older than the change. What's your use case for the relay, perhaps we can make another plan like using relay2?
     
  5. Caitlyn

    Caitlyn New
    Builder

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    I was thinking some form of safety light (like the cheap red/yellow/green ones) to indicate machine is running / stopped / etc. (So that custom gcode could change the light state at the beginning / end of the run)

    But based on the Pin Def (ESP32/main/boards/BlackBoxX32_map.h at master · grblHAL/ESP32) it doesn't look like the relay pins are separately controllable from tool/direction. Is that a correct assumption?

    I am guessing Tool/Relay 1 are hard wired together on GPIO 13; Relay 2 (direction) is GPIO 4; and PWM/0-10V are hard wired together on GPIO 25.

    (I need Tool to control a SSR connected to the spindle AC/DC converter, and 0-10V to control spindle speed; and I need the Coolant pin to turn on/off air assist. So those outputs are all accounted for.)

    Thanks
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Correct, they are not seperate anyway
    Most likely if its running, the spindle is still on, so run the light off the Spindle relay (SSR)

    PS: SSRs for router may be a bad idea, too much leakage current and not great with inductive loads. Could use SSR to switch a contactor or mechanical relay, but going directly through the SSR might cause issues/damage
     
  7. Caitlyn

    Caitlyn New
    Builder

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0
    The starter spindle I bought was this:Amazon.com
    (48VDC, Brushless.) I was going to have the SSR switch the AC hot line to the 48VDC power supply. But if that is not recommended, I am open to other suggestions to "hard cut" spindle power when tool should be off.

    (ETA: The entire machine, BBx32 and all, is going to be run through a Estop switch to cut all electrical power when the machine is not in use.)
     
    #7 Caitlyn, Jun 5, 2024
    Last edited: Jun 5, 2024
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Tool Enable pin > $1.50 relay module > Switch the Enable on the Driver

    upload_2024-6-5_15-17-24.png
    Could still use Relay 1 (just Set $16 correctly, and remember to power off spindle at same time as controller, but if you want the extra safety add a $1.50 relay - no need to switch power)
     
    Caitlyn likes this.
  9. Caitlyn

    Caitlyn New
    Builder

    Joined:
    Aug 23, 2015
    Messages:
    5
    Likes Received:
    0

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