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

Posted on Tuesday, March 3rd, 2015 in AVR, hacks, library by DP


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.

This entry was posted on Tuesday, March 3rd, 2015 at 11:43 am and is filed under AVR, hacks, library. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

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

Recent Comments

  • readybrek: They're tasty tasty very very tasty... they're very tasty.
  • hli: Sunday++
  • Chamod: Check on your buddy. Make sure they don't forget their lunchbox.
  • Kurt: But February made me shiver With every paper I'd deliver Bad news on the doorstep I couldn't take one more step
  • Craig Hollabaugh: Excellent tip, please keep these coming. Thanks!