Hello, I'm using an Arduino Uno and the Adafruit motor shield to drive two stepper motors, as shown in the picture (attached). Having spent a while working on it, the motors are getting all the power they need and there is enough torque.
The issue is when I program the motors to take individual steps. After each step the 'arm' oscillates (only briefly) a little - however I'm after very fine precision, so I need to remove this completely.
Does anyone have any suggestions on removing the jitter? I'm struggling to work out whether it is a fault of the mechanical assembly or the motor itself, and if known what could be done about it.
The AF_Stepper class does not appear to implement acceleration profiles? If you are stopping without acceleration, then the moving mass will cause some oscillation about the final step point. In the worst case it could lead to missed steps.
It appears that using this library microstepping doesn't work with single steps, the library starts and stops on a full step. You would need to perform a multiple of the microstep interval (16 may be the default) per call to get proper results.
Which version of the motor shield have you got? The V1 motor shield and library are pretty basic, you may struggle to get precise operation from it. The v2 board looks better, but a4988 driver or similar and accelstepper might be a better option.