-
Notifications
You must be signed in to change notification settings - Fork 50
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
Problem with Running for Certain Number of Steps #60
Comments
What's your microstep setting? |
I have it set to 1 right now. Experimented with 16 and 32 but they also
require weird increments to work properly. Is there an equation I'm missing
to get the number of steps correct?
…On Tue, Nov 13, 2018 at 2:21 PM teemuatlut ***@***.***> wrote:
What's your microstep setting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHtAch9G0v0uf4Hi2IzJdMJBRS36yC3Xks5uuxuwgaJpZM4YcViY>
.
--
Braidan Duffy
Florida Institute of Technology
Ocean Engineering c/o 2022
303-709-4048
|
If you have a 200 fullsteps motor and your microstep setting is 16, then you need to send |
Ok. I just tried it. For some reason at 16 microsteps, the motor just goes
crazy; it starts whining and stuttering. It works just fine at 32
microsteps though. Any idea what could be causing that?
…On Tue, Nov 13, 2018 at 3:33 PM teemuatlut ***@***.***> wrote:
If you have a 200 fullsteps motor and your microstep setting is 16, then
you need to send 200*16=3200 step pulses for a full rotation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHtActj-52-hZKzKLz7FhmCBlAAadbDvks5uuyyGgaJpZM4YcViY>
.
--
Braidan Duffy
Florida Institute of Technology
Ocean Engineering c/o 2022
303-709-4048
|
Possibly bad config being pushed for some reason. |
Interesting. Is there much of a torque difference between the microsteps
(i.e. more steps=more torque) that yo know of?
…On Tue, Nov 13, 2018 at 4:16 PM teemuatlut ***@***.***> wrote:
Possibly bad config being pushed for some reason.
Any time there's a read command, the library will remember the response
and base the subsequent writes on that data pattern. If the read was faulty
for some reason, it can affect the following writes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHtAcpJnofyLr6ui2Ne0m9HDoDb845Xqks5uuzaggaJpZM4YcViY>
.
--
Braidan Duffy
Florida Institute of Technology
Ocean Engineering c/o 2022
303-709-4048
|
The relation with microstepping and motor torque is a myth/misunderstanding. Increasing the number of microsteps will not get you more torque, but will result in smoother motion. This is what the Trinamic microPlyer (=microstep interpolation) does. |
I see. Thank you for your assistance. Another follow up question: what's
the best way to adjust the motor speed? Is there a dedicated register or
method I can use?
…On Tue, Nov 13, 2018 at 5:47 PM teemuatlut ***@***.***> wrote:
The relation with microstepping and motor torque is a
myth/misunderstanding.
All that matters is the angle between the rotor and the electric field
(and the winding current).
You often hear that increasing microstep settings decreases the motor
torque, but no one ever remembers that you also take twice as many steps
for the same distance/rotation and thus the electric field ends up the same.
Increasing the number of microsteps will not get you more torque, but will
result in smoother motion. This is what the Trinamic microPlyer (=microstep
interpolation) does.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHtAcioL1wyu9d7GfTFdTu0xQGLA6uhgks5uu0wegaJpZM4YcViY>
.
--
Braidan Duffy
Florida Institute of Technology
Ocean Engineering c/o 2022
303-709-4048
|
Control the time between sent step pulses. |
Excellent. Thank you
On Nov 14, 2018 04:35, "teemuatlut" <[email protected]> wrote:
Control the time between sent step pulses.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHtAclbCZ88vIMY3UeCRwit1RheP5k4fks5uu-PMgaJpZM4YcViY>
.
|
Hello,
I recently modified the Simple.ino example so that I could get my motor to step enough times to make one full revolution (200 in my case). However, I am having issues where I have to increment my step counter by some weird factor (1/250) just to get close to one revolution. I don't know what is causing this and the issue is not prevalent on my simpler stepper controllers. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: