SimpleStepper
SimpleStepper copied to clipboard
A bare minimum but really fast and simple stepper library for Arduino.
Simple Stepper 
A Minimal / Fast / Simple Arduino library.
Relies on Timer1 Interrupts and Direct Port Manipulations via
the Pin library to produce extremely smooth stepping signal.
Features
- Doesn't block as long as you have processing power left.
- Modifyable tick rate for slower / faster motor speed.
Unsupported
- Acceleration / Deceleration
Usage
Simply provide the STEP & DIR pin numbers, steps, direction
and tick rate, the rest is pretty much self-explanatory.
Tested
With an Arduino Nano 3.0, it is able to drive a 1.8° Nema 17
motor with 1 / 128 microsteps with reasonable speed with still
have processing power left for the rest of your code.
Installation
-
Download or Clone this repository.
Clone
git clone https://github.com/megablue/SimpleStepper
-
Move the cloned / extracted folder to:
Arduino/lib/targets/librariesArduino Folder
You can find the folder under:
C:\Users\<User>\Documents\Arduino
/Users/<User>/Documents/Arduino
/home/<User>/Arduino