Answer the question
In order to leave comments, you need to log in
Arduino. Stepper motor driver control library (or AccelStepper is buggy)?
In general, subject.
Why is AccellStepper not satisfied?
Because sometimes it refuses to move, and then continues as if nothing had happened (version 1.47 tried the previous ones, it's even worse there.).
In short, I approximately found out that the matter is in runSpeed ()
while targetPos is not equal to pos, i.e. like he should, but he doesn't want to.
So far, I myself figure out how to make a more or less normal control of the stepper, but it is problematic to calculate acceleration and deceleration, and the enthusiasm fades from the idea, the whole weekend I was tormented with this =(
Therefore, I ask you to suggest an adequate library for controlling the stepper =)
Answer the question
In order to leave comments, you need to log in
When I played with the steppers, I used the standard one, I checked the accuracy of the work by cyclically wrapping the same figure 400 times, I didn’t go astray a millimeter, although his speed was not so hot, but this is because the steppers were Chinese for 50 rubles a piece.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question