NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC Basic Configuration New setup, can't move A4988 steppers.

Welcome, Guest
Username: Password: Remember me

TOPIC: New setup, can't move A4988 steppers.

Re:New setup, can't move A4988 steppers. 16 Mai 2012 10:22 #20153

  • pfred1
  • pfred1's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 57
  • Karma: 6
andypugh wrote:
pfred1 wrote:
What kind of drives were you using? Color me extremely interested.
I am using some of the fairly generic ones:
www.zappautomation.co.uk/pm542-microstep...p-5.html?cPath=9_3_4
I suppose that these do have optocouplers at the inputs, so I wasn't taking any particular risk with my choice.
I think that the other points remain true, though.


They all do. This much I know, and a few other things about PWM choppers besides :)

Those Polou "drives" are better named chip carriers. They're missing a few essential components to make them useful in a CNC setup.
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 16 Mai 2012 10:51 #20155

  • pfred1
  • pfred1's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 57
  • Karma: 6
Rick G wrote:
2) Although I can move the stepper now, there is a twitch at .5Hz. any idea what could cause this?

Not exactly sure what you are saying here by twitch. You will find that steppers have a tendency to vibrate at low speeds, with one particular rpm range much worse than others.
Again play around with the timing, check the amps are not set too high.
Glad to hear you are making progress.

Rick G

The band called and you're out



But seriously now I have tried to find out what their current is set at. I don't think it is their biggest issue, I do believe it is a factor though.
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 16 Mai 2012 18:23 #20164

  • CptanPanic
  • CptanPanic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
According to what I read, I have turned the VREF POT to .6V, so that the current should be 1.5A.

Also when you say to increase the base period max jitter setting, how high should I set it to?
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 16 Mai 2012 20:35 #20166

  • pfred1
  • pfred1's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 57
  • Karma: 6
CptanPanic wrote:
According to what I read, I have turned the VREF POT to .6V, so that the current should be 1.5A.

Also when you say to increase the base period max jitter setting, how high should I set it to?

Not the jitter. You should be OK with what you set. These numbers are in the section above jitter. It is labeled "Driver characteristics:" In your first post you said you have your Direction Hold/Setup = 200000 Maybe I'm reading the data sheet for your driver wrong but it seems to say to me that it only needs 200 ns which is pretty fast? Your time and space set at 1,000 are right at the driver minimums. So just for laughs maybe double those and see how they work? Your best step time and space are likely going to be either where they are now or somewhat higher. But drop that Direction Hold/Setup down because it looks way off to me. Although honestly Allegro saying it is 200ns doesn't sound quite right either. I think there you're just going to have to try different values and see what works best. I'm getting all of these numbers from Allegro's data sheet for the IC in your driver BTW. All of this is in Figure 1. Some interpretation of numbers in "Figure 1." has to go into "Driver characteristics:"

You never measured the current your driver is drawing? If you have a multimeter with a 10 amps scale you should be able to hook it up and verify if your 0.6 Vref is giving you your expected 1.5 amps.

All of this configuring can be a bit of a pain but once you're dialed in you should be OK.
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 17 Mai 2012 03:43 #20170

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4249
  • Thank you received: 152
  • Karma: 130
pfred1 wrote:
In your first post you said you have your Direction Hold/Setup = 200000 Maybe I'm reading the data sheet for your driver wrong but it seems to say to me that it only needs 200 ns which is pretty fast?

It is worth noting that you only ever reverse the motors at zero speed, so there isn't anything to be gained from shaving down those numbers.
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 17 Mai 2012 06:14 #20173

  • CptanPanic
  • CptanPanic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
But yeah looking at the data sheet again, I didn't notice that the setup/hold time were in ns, so yeah I was 1000 off. But I guess you are saying these don't matter. I will increase the timing on the time/space, and also really measure the current. And let you guys know.
Thanks.
The administrator has disabled public write access.
Moderators: Rick G
Time to create page: 1.661 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.