Quantcast
Channel: Davide Gironi blog
Viewing all articles
Browse latest Browse all 196

Drive up to 3 stepper motors on Atmega using "stepper02" library 01

$
0
0
A stepper motor is a brushless DC electric motor that divides a full rotation into a number of equal steps.



Stepper02 is an AVR Atmega stepper motor library that can drive up to 3 motors having different direction, type and speed with a precision of 256us per step @8Mhz.
To drive a motors connect an ic driver between atmega pin and motor.
Setup parameters is stored in stepper02.h files.



This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 8MHz (fuse LF: 0xE4, HF: 0xD9)

Code

Notes
  • read risk disclaimer
  • excuse my bad english

Viewing all articles
Browse latest Browse all 196

Trending Articles