Welcome to Our Community

Some features disabled for guests. Register Today.

unable to load grbl onto arduino uno r3

Discussion in 'General Talk' started by cnc machinest phil, Sep 7, 2017.

  1. cnc machinest phil

    Builder

    Joined:
    Sep 7, 2017
    Messages:
    28
    Likes Received:
    4
    Hope I am doing this right!
    Yup I am a newbe! But I am really familiar with cnc. (retired cnc machinest)

    I have an Arduino uno r3 and using arduino ide to flash grbl. Looking at the install through the IDE seems to show that it was a successful install. But when I go to universal g code sender and select open I get the following line repeated endlessly down the window. Baud rate is 115200 and com port is correct.

    [verbose]<Idle,MPos:0.000,0.000,0.000,WPos:0.000,0.000,0.000>

    I have not plugged stepper drivers into the arduino yet. I wanted to check the settings in grbl 1st. But when I type $$ nothing happens except the verbose line above continues.

    I have one of my steppers and drivers ready but before I buy the rest I wanted to check to see if everything was right 1st.
     
  2. cnc machinest phil

    Builder

    Joined:
    Sep 7, 2017
    Messages:
    28
    Likes Received:
    4
    I fixed my own problem, I kept checking around for different things and finally noticed a check box on the universal g code sender. The box was marked verbose... It was checked so I unchecked it and now it behaves as expected. I can input the $$ and the parameters display as expected. Now it is off to the next step of checking for stepper movement and then build.
    Thanks for not raking me over the coals as a newbie.
    Its always in the last place you look!
     
    David the swarfer likes this.
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,448
    Likes Received:
    1,912
    cnc machinest phil likes this.
  4. cnc machinest phil

    Builder

    Joined:
    Sep 7, 2017
    Messages:
    28
    Likes Received:
    4
    Thank you very very much for the spreadsheet and example. Yours is much better and more thought out than the one I started making. :):)

    I am still trying to test the stepper. I have been searching for an example that calls out which pin # from the uno goes to tb6600 to do a simple test of turning. most of the examples just say connect pins 8 thru 10 but don't bother to say which pin goes where. I have nema 23 425 with 4 wire bipolar. below is a pic ot the driver. I don't want to screw it up or fry anything so I guess I am being overly cautious. I used to fix the cnc machines at work for many years - but somehow this being mine puts a different spin on things.
    Thanks for being the expert and helping out.
    When I do get this tested to do a few turns and steps I plan on posting a how to for this particular driver with pin callouts and as much info as I can. I know that the example program that comes pre loaded on the arduino IDE doesn't help as pin callouts are not specific. I can't complain after all it was written quite a while back by those that really understood arduino's.
     

    Attached Files:

  5. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,448
    Likes Received:
    1,912
    this shows the connections on the Uno
    Connecting Grbl · gnea/grbl Wiki · GitHub

    the TB6600 is similar to the DQ542 so this video should help

    Just load GRBL and follow the pinout on the page I gave, easy enough. No sense is using anything else to test since the Arduino stepper library is much slower than GRBL, GRBL can do 30khz steprates and the stepper library can barely do 4khz.
     
  6. cnc machinest phil

    Builder

    Joined:
    Sep 7, 2017
    Messages:
    28
    Likes Received:
    4
    thanks so much!! I got it working.:);) I took your advice and just went to grbl and universal g code sender to test everything. Works just like advertised. Now I can order more motors & drivers with a lot more confidence that everything will come together.
    Once making chips is in your blood it is difficult to quit. Retirement doesn't remove the urge to make stuff.
     
    David the swarfer and GrayUK like this.

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