Welcome to Our Community

Some features disabled for guests. Register Today.

BlackBox

Discussion in 'Other Builds' started by Mark Carew, Feb 22, 2019.

  1. Denis Lapratte

    Builder

    Joined:
    Jan 4, 2015
    Messages:
    27
    Likes Received:
    8
    But how do you adjust master/slave without stalling one of the two and causing a misalignment when one of the two stall?
     
  2. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    I made the same adjustment on Y and Y2 at the same time. Didnt havent any issues with one stalling.
     
  3. Denis Lapratte

    Builder

    Joined:
    Jan 4, 2015
    Messages:
    27
    Likes Received:
    8
    Thanks, will try this when installing.
     
  4. Muxa

    Muxa New
    Builder

    Joined:
    Sep 9, 2016
    Messages:
    23
    Likes Received:
    12
    After some adventures with the local post loosing my package, bit finally received the BlackBox!
    Assembling was straight forward: easy, quick a lot of fun.
    Today i have finished setting up on on by OX CNC and configuring everything.
    IMG_5766.jpg
    I have yet to run something with it but so far i really like it - quite drivers and a slick package.
    Looking forward to putting it the test.

    Page about my CNC: Ooznest OX CNC.
     

    Attached Files:

  5. crnrstndes

    crnrstndes Well-Known
    Builder

    Joined:
    Jul 18, 2015
    Messages:
    68
    Likes Received:
    30
    I have a quick question I hope. I received my BlackBox and I have set it up as per the Wiki and the various videos. When I turn the box on all my motors become energized. When I connect to the Open Builds Control Panel everything works as it should (I have a C-Beam XL) as it jogs correctly and is really smooth but I am upgrading from a Audrino Uno / C-Shield and when it was connected I could jog my axis' by hand. With the BlackBox I can't move any of the axis' by hand! Any help would be appreciated!
     
  6. crnrstndes

    crnrstndes Well-Known
    Builder

    Joined:
    Jul 18, 2015
    Messages:
    68
    Likes Received:
    30
    Another quick question, I want to use UGS as well as Easel, I suspect the BlackBox will work with any GRBL based program?? Thanks!
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Thats a Grbl setting, but PLEASE do not change it (we set it be default to prevent people moving it by hand... See next section) and NEVER move an axis by hand. Stepper motors when spun by the axle, become a generator. Pushing voltage back into the driver when you move the axis by hand. Guess what happens when you push the stepper into becoming a generator spitting current and even high voltage if you move fast enough, into a driver thats not supposed to be getting that? Poof, magic smoke, and a non working board. This holds true for almost all stepper drivers. Never move an axis by hand. Use the JOG functions in software
     
    Mark Carew likes this.
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Standard Grbl so yes, if software works with Grbl it should
     
    crnrstndes likes this.
  9. crnrstndes

    crnrstndes Well-Known
    Builder

    Joined:
    Jul 18, 2015
    Messages:
    68
    Likes Received:
    30
    Thanks Peter, I was just concerned about the fact the motors were energized and they have a hum coming from them! Good information! Thanks again!
     
    Peter Van Der Walt likes this.
  10. JoshT

    JoshT New
    Builder

    Joined:
    Jul 26, 2017
    Messages:
    4
    Likes Received:
    8
    Mine has started doing this too - was working fine until I went to OpenBuilds Control v1.0.179...
     
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    It is very unlikely yo be software related, more likely EMI (If ever in doubt, check the Changelog, see if there was any changes to thing you suspect: OpenBuilds/OpenBuilds-CONTROL )
    - seperate your power (mains) and signal wires with some distance between them. Also motor wires - they also emit some EMI
    - use good quality USB cables with Ferrite Cores

    And make sure Windows isnt shutting down your Port for you (USB Selective Suspend) : USB device not getting along with Windows 10? Try this quick fix.
     
  12. cnccraft

    cnccraft New
    Builder

    Joined:
    Mar 19, 2016
    Messages:
    1
    Likes Received:
    0
    @ OpenBuilds Team
    Comparing with the datasheet of the Motor Driver-IC in Blackbox (Toshiba TB67S109AFTG) I think there is something wrong with the labels for die Motor Connections. Please look at the attachment (Problems marked with "?")
     

    Attached Files:

  13. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,435
    Likes Received:
    1,908
    so what?
    so long as one coil is labeled 'something' and the other coil is labelled 'somethingelse' the device will work for any correctly connected motor.
    there is no use case here where it matters which pins your motor is connected to.
     
    Peter Van Der Walt likes this.
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Nailed it perfectly :)

    Labels are just to identify coil one and coil the other.
     
    David the swarfer likes this.
  15. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Adjust Stepper Driver Current ???

    What does this really mean ?? "Adjust the current until you can no longer stall the motor under normal operating conditions."

    OpenBuilds BlackBox has four onboard Stepper Drivers. As part of bringing your machine online, you are required to adjust the stepper driver current for each axis.
    • Adjust each axis in turn
    • Adjust the current until you can no longer stall the motor under normal operating conditions.
     
    Rick 2.0 likes this.
  16. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    There are trim pots on the side of the black box. One for each axis. They control how much current goes to the motor. Not enough and your motor will stall. Too much and your motor will overheat and go into thermal shutdown as indicated by the red exclamation point next to each axis. The way I did it is I set all the pots to the middle. I jogged one axis and adjusted the trim pot up and down for that axis to determine the sweet spot.
     
  17. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Ok. I always thought that there was some sort of test done with a multimeter to set the correct current. So this is just a swag. I understand each axis has it's own setting but do you set them all the same or do you adjust each one regardless of how a different axis is set? I.e. X axis is good at 3/4 turn so set the rest to 3/4 turn ?
     
  18. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
  19. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Thanks - Another question if you don't mind... Is it possible to use a touch probe block for setting not only the z but the x and y to the corner? Or is that merely just gcode. As you can tell I am a novice if even that.
     
    sharmstr likes this.
  20. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    The blackbox has a place to install a probe. The type of probing is handled in software. If you're using OB Control there is a built in Z probe. For x,y,z probing you need to use a macro. Please refer to the following thread for additional probing questions: OpenBuilds CONTROL Software
     
    Peter Van Der Walt likes this.
  21. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Thanks for that information about the macros.

    I am going to be using nema 17 so should I be using a 12v power supply to the blackbox or a 24v power supply? If 24v how do I set the correct voltage for the nema 17?
     
  22. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
  23. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Ok so back to the stall setting procedure... that must adjust the voltage internally I assume.

    Thanks.
     
  24. crnrstndes

    crnrstndes Well-Known
    Builder

    Joined:
    Jul 18, 2015
    Messages:
    68
    Likes Received:
    30
    From the doc-

    "Adjust Stepper Driver Current
    OpenBuilds BlackBox has four onboard Stepper Drivers. As part of bringing your machine online, you are required to adjust the stepper driver current for each axis.
    • Adjust each axis in turn
    • Adjust the current until you can no longer stall the motor under normal operating conditions".
    What would be the best method of achieving this? My parts all came from Open Builds ie Cbeam XL and I just figured it wouldn't be necessary to adjust anything except calibrating my steps....am I crazy??
     
  25. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Stepper motors are constant CURRENT devices. The stepper drivers have intelligence and constantly 'chop' the voltage to achieve the correct CURRENT setting. Nothing sets the voltage, except Ohm Law (resistance of the coil, required current rating, works out what voltage to chop too - of course it all changes hundreds of times per second due to decay, microstepping, and a host of other control loops running in the stepper driver)

    Long story short. You are overthinking it. Plug in motor. Run a little. If Machine is overheating, turn 1/8th of a turn left. If its too weak, turn right. You will never het a 'set it to exactly that' as its pointless as no two setups are exactly the same. Super easy, and not like 'i need to set it to exactly 45.1675deg north while standing on one leg for it to work' - we picked great drivers and engineered it all to be bulletproof and just work!

    On the old repraps the 'measure the vref' thing was due to way underpowered Allegro drivers that shutdown if you looked at them funny... Those days are long gone
     
    crnrstndes likes this.
  26. crnrstndes

    crnrstndes Well-Known
    Builder

    Joined:
    Jul 18, 2015
    Messages:
    68
    Likes Received:
    30
    Thanks again Peter! Now I can use both feet! LOL
     
    Peter Van Der Walt likes this.
  27. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    I got my blackbox in hand and built it and now I just want to ask..... any common mistakes that a novice would do that will kill the box?

    I know how to correctly wire the power in, etc. But beyond that ?
     
  28. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Not really ones that have killed the box.

    Common mistakes have been not setting $4=1 in grbl and setting the power supply to the wrong power (i.e. not switching to 110v on new ps).
     
  29. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,290
    Wouldn't kill it, but double check endstop wiring twice. Theres a power pin and gnd pin (along with signal) on the plug. Shorting gnd to power will prevent board from booting and may give USB surge warning on PC. Thats a 3rd popular one (along with the already mentioned $4=1 and PSU which come up often in support questions)
    Good luck!
     
  30. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    On my meanwell PSU I did switch it to the 110v so I am good on that part.

    Sorry for not knowing this but was is "$4=1 in grbl" ? I presume that is something that gets set in the OpenBuilds CONTROL when I set up the machine?
     

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