Steppermotor Nema17 Homing AccelStepper

Robin2:
Your link says that your motor draws 2.5 amps. That is well beyond the capability of a DRV8825. I suggest you get a stepper driver than can handle at least 4 amps to give a bit of headroom.

200 * 32 = 6400

The AccelStepper library may not be able to operate fast enough for your microstepping. 200 RPM = 3.33 rps and at 6400 steps per revolution you would need a step rate of 21120 steps per second.

It is not difficult to write your own stepper code. Have a look at the second example in this Simple Stepper Code. And it is not difficult to write your own acceleration code.

There is nothing wrong with your English, but there is a Dutch section of the Forum if you would prefer it.

...R
Stepper Motor Basics

Hi thans for your answer. I bought the stepper and driver togheter, they use it always like that? The driver can handle 2,5A. I don't use all the power from the stepper so that isn't a problem i guess?
(I will measure how many amps the stepper takes)

I don't need 1/32 steps, I now tested (basicstepperdriver libry) with 1/8 steps and this works fine between 50-500RPM.
But you think this libary can't handle this?
It would be nice if I can use this code with the homing. I'm not pro enough to write it myself.