# Problem using multiple stepper.h library

**URL:** <https://forum.arduino.cc/t/problem-using-multiple-stepper-h-library/1282890>\
**Category:** General Guidance\
**Created:** [July 18, 2024, 2:27pm UTC](https://forum.arduino.cc/t/problem-using-multiple-stepper-h-library/1282890 "2024-07-18T14:27:21Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![DaveX](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/davex/32/751443_2.png) [@DaveX](https://forum.arduino.cc/u/DaveX)\
**Post date:** [July 19, 2024, 1:11pm UTC](https://forum.arduino.cc/t/problem-using-multiple-stepper-h-library/1282890/19 "2024-07-19T13:11:12Z")

</div>

Yes that math looks correct, and should work for the accel/cruise/decel and accel/decel speed profiles that Accelstepper approximates. There may be some misalignment due to accelstepper’s approximations of v=at and p=1/2at^2 but it is small.

This thread discusses the multi-axis motion planning through calculating accel/speed constants versus the Bresenham algorithm that CNCs use:

> [@User claims to achieve Syncd Starts & Ends with AccelstepperLibrary - help](https://forum.arduino.cc/t/user-claims-to-achieve-syncd-starts-ends-with-accelstepperlibrary-help/1244785):
>
> This user claims to achieve synchronized starts and stops regardless of step counts with a simple formula. But his method is very unconventional and I don't really understand the way he describes it. Can anyone decipher it for me so I can achieve this in my own project? I wish I could talk to him directly but the topic is closed. There are a lot of posts on this subject, but no one has a good method of getting around this using accelstepper. I know that multi-stepper exists for this but I ha…

---

_[View the full topic](https://forum.arduino.cc/t/problem-using-multiple-stepper-h-library/1282890)._
