P
P
Pavel K2015-08-03 02:52:25
Arduino
Pavel K, 2015-08-03 02:52:25

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

2 answer(s)
V
Vitaly Pukhov, 2015-08-03
@Neuroware

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.

S
semen-pro, 2015-08-03
@semen-pro

I did not like the standard library, every time I invent my own bike, but my own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question