Welcome to Our Community

Some features disabled for guests. Register Today.

Blackbox Muscle Board with Arduino UNO

Discussion in 'Controller Boards' started by MusaedQ8, Jul 17, 2020.

  1. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    Hello
    First of all, I would like to thank you for the wonderful support
    openbuilds will be my first stop for purchasing CNC parts

    I want to pair Blackbox Muscle Board with UNO
    I already connect everything to Arduino UNO and it's work very well , all axis , relay and limit switch works
    but and cant figure how to get 0-10v Muscle Board work with UNO board
    Tried pin 11 uno to MOSFET Muscle Board 5v to 5v gnd to gnd give me from 0 to 5v max
    Tried to connect pin 11 uno to 0-10v Muscle Board 5v to 5v gnd to gnd and didnt work give 0v
    How can I get 0v to 10v using UNO and Muscle Board without Brain board?
    If the question is not clear, I will clarify more
    Thank you
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,224
    Likes Received:
    4,348
    Unfortunately the 0-10v circuitry is on the Brains board, it consists of Opamp circuit to change the 5v PWM circuit into a 0-10v circuit. You can look at that section of the schematic on the PDF schematics on the files and drawings tab of BlackBox Motion Control System
     
  3. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    thank you for reply Peter
    got it
    The brain board on my hand I can power it up via 5v or usb and green light turn on and all 5v output work but it had some usb connectivity issues COM show up but cant connect to it . I tried all troubleshoot and also tried to burn bootloader (already got replacement and new one work great)
    I want to try UNO and keep it as backup solution
    As i mentioned all good except 0-10v
    I know there is easy solution by using PWM to Voltage Converter :
    https://www.amazon.com/gp/product/B06XCVY3GM/ref=ox_sc_act_title_1?smid=A1OB26G8TSLEZQ&th=1

    Plan B :)
    I want to take advantage of the brain board that had only connection issues
    Can I use brain board without usb connection (Of course with 5v power) as PWM 0-5v to 0-10v converter?

    If there is any way to try it I will try it

    I am not an expert but interested

    Thank you
    Musaed
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,224
    Likes Received:
    4,348
    I wouldn't risk it, if its got damage using it could just damage something else along the way


    That should work, just test output before connecting to anything
     
  5. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    I will give it try .and will test output before connecting

    Thank you
     
  6. Glenn Coombs

    Builder

    Joined:
    Apr 30, 2020
    Messages:
    3
    Likes Received:
    0
    How did you go with this? Would you share your wiring diagram and fix? I have had a couple of brain boards fail and wouldnt mind hooking up one of the muscle boards to an Arduino to keep as a backup.
     
  7. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    its easy you need Male to Female Jumper Wires
    [​IMG]
    connect between muscle board and uno as photo :



    [​IMG]


    connect all wires from blackbox to uno as showin red rectangle
    [​IMG]


    [​IMG]


    [​IMG]
     
  8. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    this
    forget about limit switches at least for now


    if you need more info let me know

    good luck
     
  9. Glenn Coombs

    Builder

    Joined:
    Apr 30, 2020
    Messages:
    3
    Likes Received:
    0
    Hi Musaed, Where does the Y2DIR and Y2STP go?
     
  10. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    Hello
    Sorry for the late reply
    same Y1

    Y2DIR and Y1DIR go to YDIR(UNO)
    Y2STP and Y1STP go to YSTEP(UNO)

    make your own cable like this or find same online
    [​IMG]

    but ofc make it longer than this

    find the right way for you

    good luck.
     
  11. Glenn Coombs

    Builder

    Joined:
    Apr 30, 2020
    Messages:
    3
    Likes Received:
    0
    Cheers I did exactly that. Machine has been working a treat. New brain board should arrive today so will be able to have end stops again but with the Arduino it hasn't missed a beat.

    Thankyou for your help. It's been fantastic. Might even order a spair muscle board and set up this rig as an emergency setup. N
     
  12. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    Great :thumbsup:
    My pleasure
    Good luck
     
  13. Andy Middleton

    Builder

    Joined:
    Apr 14, 2015
    Messages:
    32
    Likes Received:
    3
    Hi, just to clear it up, how did you flash the FW to the Arduino, from the OpenCOntrol FW wizard?

    Thanks!
    Andy
    :)
     
  14. MusaedQ8

    MusaedQ8 New
    Builder

    Joined:
    Jun 4, 2020
    Messages:
    9
    Likes Received:
    2
    Hi
    yes from the OpenCOntrol FW wizard
    any other way will work also you need grbl version 1.1g

    Good luck
    Musaed
     
  15. Andy Middleton

    Builder

    Joined:
    Apr 14, 2015
    Messages:
    32
    Likes Received:
    3
    OK, so I managed to flash with opencontrol, but, FWIW, using "Nano" did not work, only when using "BlackBox" did the FW flash complete successfully!

    Thanks for all the info, I too, until the new BB arrives, can continue using my machine thanks to this forum and its kind and informative members ;-)

    Thanks!
    Andy
    :)
     
  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,224
    Likes Received:
    4,348
    Depends on what bootloader is installed on your Arduino, the genuine namebrand Arduinos have the correct bootloader for the correct model, but the dubious sources install whatever bootloader they wish :) - to learn more Arduino - Bootloader and Arduino Bootloader, What is it? - Bald Engineer
    The "BlackBox" setting is in essence for uploading to an Arduino Uno based bootloader, so your Nano had an Uno bootloader - could have used the Uno setting too.

    The Uno bootloader is based on OptiBoot, the Nano was based on ATmegaBOOT - slightly different upload commands to talk to the different types
     

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