I have a 2 wheel driven differential drive for my robot. True straight line accuracy is not good enough without encoder feedback to the DC motors, but simple Accel/Decel Control and Progressive Steering changes are easy to achieve.
I would like to change to Stepper motor drives using the Allegro A4984: DMOS Microstepping Driver with Translator and Overcurrent Protection and the AcccelStepper library for the Arduino micro controller, using microstepping at the 8 microstep level.
Without the purchase (yet) of the Pololu A4988 micro stepper driver carrier and 12V~ 2A (+/-) steppers – does anyone know how well the Pololu driver carrier interfaces to the AccelStepper library ?
The step frequency limit at 4K/sec is OK, does any one have experience of the frame noise of either NEMA 17 or 23 steppers when running between 0 → 3K steps/sec ? Clearly some resonance bands will exist, but at what frequencies might they occurr for these frame sizes at the chosen microstep level.
Stepper motors tend to have too little torque to be used as the drive of a robot. I recommend making sure you have the torque you need before going to far down this path.
Here are my answers to your questions:
I haven’t tried using AccelStepper before. I looked at the source code and documentation for the AccelStepper and it appears to support stepper motor drivers with step and direction pins, if you set the first argument of the constructor to 1. So, there is a good chance it will work with the A4988.
Sorry, I don’t know what frame noise is, and I don’t have experience with resonant frequencies of stepper motors.
In the AccelStepper library, in examples directory there is a sample script called ConstantSpeed, which uses FULL4WIRE mode; but now I understand it is not intended for A4988. Then will microstepping give better torque or not? I read mixed statements about microstepping where in general microstepping gives better control but less torque: Is this valid for A4988?