laurb9 / StepperDriver

Arduino library for A4988, DRV8825, DRV8834, DRV8880 and generic two-pin (DIR/STEP) stepper motor drivers
MIT License
548 stars 230 forks source link

No sync move at step_high_min = 30 #118

Closed Paule2002 closed 11 months ago

Paule2002 commented 1 year ago

I first had the same issue as @T-Kuhn in issue #60 . After setting step_high_min and step_low_min to 30 the motors run smoothly. I also use TB6600 Driver but these are cheap chinese ones (likely fake chips/clones), so i think I have to go with the 30us.

I noticed that the following code lines didn´t get me a constant move. One motor stops/finishes earlier as the other one.

SyncDriver controller(stepperC, stepperZ); 
controller.rotate(360, E );

After reading here on github I run the MutiAxis.ino example and had the same behaviour.

So my question is, whether the step_high_min/low times are included in the calculations which controll the move or not.

If not is it somehow easy to implement it and get a real synchronized move?

I use an Arduino Nano Clone and the ArduinoIDE. I downloaded the library two days ago and included it locally so I think i use the latest version. I also can upload my code, but as mentioned the Problem occured with the example to.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.