I had a quick question regarding this library. I've gone through the examples and documentations, but some things are still confusing to me. In sample code to control acceleration they state
// Motor steps per revolution. Most steppers are 200 steps or 1.8 degrees/step
#define MOTOR_STEPS 200
// Target RPM for cruise speed
#define RPM 120
// Acceleration and deceleration values are always in FULL steps / s^2
#define MOTOR_ACCEL 2000
#define MOTOR_DECEL 1000
I don't understand what FULL steps / s^2 means. I assume in this case Full steps is 200 taken from MOTOR_STEPS, but I'm not sure what the s refers to. I didn't find the documentation for this library to be very good. Thank you for any assistance.
fishbulb:
I'm not sure if you are familiar with this library, but do you know if this is compatible with micro stepping?
I can't see where you have told us the name of the library.
If you are referring to the AccelStepper library then, yes, it can work with microsteps or full steps - in fact the library will neither know nor care.
there is two types of fullstep excitation modes.
in one phase - full step means the motor is operated with only one phase energized at a time. This mode requires the least amount of power from the driver of any of the excitation modes.
In two-phase on - full step, Fig2, the motor is operated with both phases energized at the same time. This mode provides improved torque and speed performance. Two-phase on provides about 30% to 40% more torque than one phase on, however it requires twice as much power from the driver.