-
Notifications
You must be signed in to change notification settings - Fork 33
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
mm or degrees? #3
Comments
You can just use steps if you want to set the shaft to a specific degree. In general you will have a Hard Time to move by full degrees if your stepper motor has 1.8 degree steps, since you would need to use a microstepping multiplier that allows you to get a small enough fraction of 1.8 to perform exactely 1 degree of rotation. So you have two options: Now that you know how many steps are a degree of rotation you can just configure the stepper motor in the setup menu with this number in the field where you enter the steps for one Millimeter of movement. |
Please specify what you mean with "reset the position when..." do you want to move the stepper back to, for example zero when you reached a specific position or do you just want to reset the counter in the UI? Or do you want to reset the position counter in the server? |
I have a reduct stepper motor so the precision is not a problem, in my case the stepper turn a "wheel" and a complete turn is 0- deg, if I do one turn and half I wold like to be at 180° and not 540° or mm in the case of this library, can I reset the position after passed the 359.999mm? |
what you need is probably kind of an event listener / callback function registration that allows you to reset the internal step counter. |
Any solution for change the unit from mm to degrees? or reset the position when position is 360.000mm?
The text was updated successfully, but these errors were encountered: