585,753 active members*
4,122 visitors online*
Register for free
Login
IndustryArena Forum > Community Club House > Arduino + tb6560 + cd rom cnc machine help
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2013
    Posts
    3

    Arduino + tb6560 + cd rom cnc machine help

    I purchased an arduino and a 3 axis stepper motor(tb6560) after finding 3 stepper motors from cd roms. I hook them up the way the grbl wiki page says, and downloaded the universal gcode sender. I ran the gcode sender, and can move the stepper motors using the directional buttons. It works best with the step size set to .02. Whenever i upload gcode though the stepper motors will only move one click before stopping, even if it goes way past that. Any ideas? Is it the example gcode i used, or the controller/ stepper motors.

  2. #2
    Join Date
    Jan 2010
    Posts
    2141
    This is just a guess - what is your setting for $8 (acceleration)?

    If that value is too high you may lose steps.

    Can you reduce it by half and try it again?

  3. #3
    Join Date
    Nov 2013
    Posts
    3
    Quote Originally Posted by doorknob View Post
    This is just a guess - what is your setting for $8 (acceleration)?

    If that value is too high you may lose steps.

    Can you reduce it by half and try it again?
    I am very new to this so I have no idea. Is this a setting in the software, gcode, or controller?

  4. #4
    Join Date
    Jan 2010
    Posts
    2141
    That is a setting within GRBL.

    If you hook up a terminal program to communicate with your Arduino (instead of the gcode sender) you can display or modify the GRBL settings.

    I forget which terminal program I have used to do that, but there are a number of them that are available - I believe that you can even use the Arduino IDE as a terminal program. Your gcode sender must be shut down so that it is not hogging the serial port used by the Arduino (over USB).

    Do a search for GRBL commands for more info - with the latest GRBL version (at least), if you enter $$ into the terminal, it will list the current configuration, including the $8 value that I mentioned above. You can change the value by entering something like $8 = xxx (where xxx is the new setting).

    See https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8 for more info.

  5. #5
    Join Date
    Nov 2013
    Posts
    3
    What should it be set to?

  6. #6
    Join Date
    Jan 2010
    Posts
    2141
    I'm not really sure - there may be an interaction with the other configured settings.

    So I might try setting it to half of its current value to see if that makes any difference in the behavior of the motors.

    BTW, I'm not sure how the 'step size' setting of the gcode sender translates into actual machine commands - so instead you could try inputting some simple Gcode manually and see how it responds - maybe make a relative move of one step, then several steps, etc.

    Something like G91 G0 X1 for example.

Similar Threads

  1. EMC with Arduino for USB I/O?
    By sansbury in forum LinuxCNC (formerly EMC2)
    Replies: 23
    Last Post: 05-05-2012, 09:27 PM
  2. My new CNC machine. Arduino controlled:
    By aventgps in forum Open Source CNC Machine Designs
    Replies: 45
    Last Post: 05-03-2012, 05:39 PM
  3. TEP Milling Machine Conversion with TB6560 - cutting problems!
    By craynerd in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 1
    Last Post: 04-05-2012, 04:09 AM
  4. Arduino Mega, RepRap Motherbd machine build
    By BTS in forum Open Source CNC Machine Designs
    Replies: 3
    Last Post: 04-13-2011, 05:34 PM
  5. Arduino
    By LTP in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 02-11-2011, 10:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •