Drive a stepper motor with acceleration and deceleration using an Allegro driver on ATmega8


Davide Gironi writes:

This library drive a stepper motor using the Allegro A3967 (EasyDriver) on ATmega8. It will also work on the Allegro a4988, and other type of motor driver controlled by the number of pulse received.
It features:

  • direction changing
  • speed changing
  • acceleration and deceleration
  • multiple motor driving
  • stop spinning after number of step, or continuos spinning mode

It would be easly portable on other microprocessor.

Check out the video after the break.

More information on Davide Gironi’s blog page.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.