Overview of the AccelStepper library
masterAccelStepper is an object-oriented Arduino library designed for controlling 2, 3, or 4-pin stepper motors and motor drivers. It is a more advanced alternative to the standard Arduino Stepper library, specifically designed for applications requiring complex motion profiles or multiple motors.
Key capabilities include:
- Acceleration and Deceleration: Smoothly ramps motor speed up and down.
- Non-blocking API: Functions never call
delay(), allowing for concurrent execution of other code. - Multi-motor Support: Enables independent, simultaneous stepping for multiple steppers.
- Hardware Versatility: Supports 2, 3, and 4-wire steppers, including 3 and 4-wire half-stepping, and drivers like the Sparkfun EasyDriver (3967 chip).
- Compatibility: Includes support for AFMotor (Adafruit Motor Shield) stepping functions.