Categories

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

stepper_motor_atmega_driver

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: Anyone got a any recommendations for a budget-priced hot air station?
  • William: lol I'm happy to waste 3c for each program/debug cycle... but probably not the time spent soldering a new device down to a proto board!...
  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...