Arduino Forum

Topics => Robotics => Topic started by: ckambiselis on Oct 19, 2018, 08:25 pm

Title: Smallest stepper library?
Post by: ckambiselis on Oct 19, 2018, 08:25 pm
Hi,

I'm looking for the smallest, simplest stepper library available, I pretty much need only STEP and DIR pin assignment, no microstopping, no EN/RESET/FAULT... pins or anything like that, it's gonna be used with an ATTiny (the reason it needs to be small) and a DRV8824 stepper driver, I just need to rotate the stepper an amount of steps or constantly until stopped by a sensor.


Thanks
Oscar
Title: Re: Smallest stepper library?
Post by: PaulS on Oct 22, 2018, 12:46 pm
Why do you need a library to set the direction pin HIGH or LOW, and to trigger the step pin? Take a look at the Stepper library, to see how it actually makes a step happen. The only other thing that it does is manage WHEN the step(s) happen.
Title: Re: Smallest stepper library?
Post by: TomGeorge on Oct 27, 2018, 02:22 pm
Hi,

Have you googled      attiny stepper


Tom... :)