Accelerate stepper motor?

Hi, i am working on a motor to adjust focus on my telescope (both automatic focus with focusmax but also manuel focusing)
My question is, can i accelerate the stepper motor so i it reaches "full speed" after a desired no of seconds, 3-5 secs or something. to be able to fine-tune the speed it is alot easier to do that with a low speed.

Regards, Daniel, Sweden

There is an AccelStepper library designed to do just what you want.

Can it be done without the library?

Can it be done without the library?

Certainly. Feel free to reinvent that wheel.

PaulS:

Can it be done without the library?

Certainly. Feel free to reinvent that wheel.

Haha, well maybe not :stuck_out_tongue: The question is really, how would that work?

Why not look at the source of the library?

Will do that :slight_smile: