Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepper motor parameter units are unknown in the Output Config Display tab. #1788

Open
JaimeLeon2 opened this issue Jun 10, 2024 · 3 comments

Comments

@JaimeLeon2
Copy link

Is your feature request related to a problem? Please describe.
The Output Config Display tab for stepper motor configuration is unclear about what are the units of the three parameters required to configure the stepper motor. Namely: Full revolution, Speed and Acceleration.

Describe the solution you'd like
Clear definition of the units in the window labels. Without units, how can a user set the speed of the stepper to exactly 100 rpm. Trial and error seems to be the only way currently.

Describe alternatives you've considered
Nothing is currently specified, so saying speed of 800 with acceleration of 1200 is meaningless.

Additional context
None

@tigert
Copy link
Contributor

tigert commented Jun 10, 2024

We use AccelStepper library as far as I know, and it has these:

acceleration - The desired acceleration in steps per second per second.
speed - The desired constant speed in steps per second. Positive is clockwise. Speeds of more than 1000 steps per second are unreliable.

But need to check the code if the parameters in MobiFlight stepper config are mapped 1:1 to the stepper library.

@elral
Copy link
Contributor

elral commented Jun 11, 2024

Yes, they are mapped 1:1.

@JaimeLeon2
Copy link
Author

Says here that speed up to 4000 steps per second can reliably be obtained with the Accelstepper library
https://www.airspayce.com/mikem/arduino/AccelStepper/classAccelStepper.html
Is that an error then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants