Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Novice_Slow stepper movement + incorrect trajectories
brobes05
Newbie
Posts: 20
Permalink
Post Novice_Slow stepper movement + incorrect trajectories
on: February 19, 2016, 17:33
Quote

Hi,
I'm back with another problem 🙂
1. My steppers are moving as slow as a snail. I know this is a setting because they work extremely fast in my custom arduino sketch.
my settings are:
600 motor max
400 acceleration
1 multiplier

I tried bumping up the values to no avail.
I am using Nema17 200 steps so I have set value to 400
Also, I have set my motor acceleration to 1200 and it hasn't done anything to increase velocity

2. The gondola is moving to trajectories not in sync with the defined point it is supposed to move to defined by the software. I have set the home point by moving the gondola into place and 'set home'. Also, I have uploaded my machine specs. For instance, if I 'move pen to point' directly below my point by 50 mm, it will move to the left and then up.

Any ideas would be appreciated.
thanks,
Erik

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Novice_Slow stepper movement + incorrect trajectories
on: February 19, 2016, 20:24
Quote

The default stepping style for the Adafruit Motorshield 2 (AFMS2) is microstepping, and it has 16 microsteps to a full step (https://forums.adafruit.com/viewtopic.php?f=31&t=48775).

What this means is that it is slow, even when it's fast. There is also a hard stepping rate limit that the AFMS2 is subject to because of it's i2s bus. https://forums.adafruit.com/viewtopic.php?f=31&t=42477

I'd use settings
stepsPerRev=200
stepMultiplier=16

motor speed and acceleration=couple of thousand

If your movement is not going in the right direction, there's a couple of things that could be wrong - motors switched, motors backwards, wiring reversed.

Have a peep at https://github.com/euphy/polargraph/wiki/It's-going-the-wrong-way! and see if that sheds any light on it 🙂

sn

brobes05
Newbie
Posts: 20
Permalink
Post Re: Novice_Slow stepper movement + incorrect trajectories
on: February 21, 2016, 02:18
Quote

Ahh nice. I will try your suggestions. I forgot to mention that it is running correctly with an Arduino sketch my friend and I composed why makes the gondola go in random directions. Unfortunately, we kept the motors running too fast and blew out one of the motor shield inputs. At least I know that they were working properly and up to speed (well too much speed).

Now, I will have to wait for your replacement. Good times
Thanks again,
Erik

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.028 seconds.