This series of examples presents how to drive a bipolar stepper motor using an AVR microcontroller, including the power stage.
- AVR® EB Curiosity Nano
- Multi-Phase Power Board (MPPB)
- AVR-EB Curiosity Nano Adaptor to MPPB
- Motor used in the application: 17HS8401S Stepper Motor, but not mandatory
- A Voltage Power Supply (6-50V and 1-3A current capability, depending on the chosen motor)
In these applications, the bipolar stepper motor will be driven in three modes:
- Full-Step
- Half-Step
- Microstep
These modes will be explained in more detail in the following four applications. The complexity of the application will gradually increase.
- Basic example showing the stepper motor in Full-Step and Half-Step modes
- Adding the microstepping feature for precision increase
- Adding ramps(acceleration and deceleration) for better dynamic response
- Adding a second motor to demonstrate the PORTMUX peripheral. This scenario uses two motors alternatively. The motors do not rotate at the same time