Hi,
My stepper is an 200 steps per revolution with 5,7 ohm resistance.
Everything seems to work well in full-step and half-step but not in micro-steps.
The stepper motor vibrates and resonates. In fact it does not rotate. I changed the frequency of the PWM, speed, supply voltage, the number of micro steps, in the oscilloscope, the curves seem correct, nothing works. Do you have any other suggestions?
Thanks
Problems with micro stepping with AFMotor
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Problems with micro stepping with AFMotor
when did you download & install the library?
- jpegfr
- Posts: 7
- Joined: Sun Feb 06, 2011 6:49 pm
Re: Problems with micro stepping with AFMotor
there was less than 1 month
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Problems with micro stepping with AFMotor
The library was updated in early January with some changes to microstepping, make sure that you have the very latest.
- jpegfr
- Posts: 7
- Joined: Sun Feb 06, 2011 6:49 pm
Re: Problems with micro stepping with AFMotor
ok thank you I'll watch it tonight ...
- jpegfr
- Posts: 7
- Joined: Sun Feb 06, 2011 6:49 pm
Re: Problems with micro stepping with AFMotor
I just tested my stepper motor with the latest version of the library, but the erratic operation are still present. The stepper motor starts to run but sometimes comes back and jumps from motor steps. Do you think that by changing the sine table we can improve things? What are my stepper motor that can not provide this function?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Problems with micro stepping with AFMotor
Do you have any specification sheets for the motors? What supply voltage are you using and how do you have it wired?What are my stepper motor that can not provide this function?
There is generally less available torque when microstepping. Your motor might perform better at a higher voltage. But be careful that you do not exceed the current limits of the H-Bridge (600 mA per phase)
You are certainly welcome to modify the code to suit your motors. Please post your results.Do you think that by changing the sine table we can improve things?
- jpegfr
- Posts: 7
- Joined: Sun Feb 06, 2011 6:49 pm
Re: Problems with micro stepping with AFMotor
yes the specifications :
http://www.farnell.com/datasheets/30484.pdf
This is the MY4001.
Currently, the stepper motor is powered by 12v regulated. Power is limited to 500mA. I previously tested by feeding the stepper motor with a variable power supply 1A under different voltages (4.5, 6, 7.5, 9 and 12V).
http://www.farnell.com/datasheets/30484.pdf
This is the MY4001.
Currently, the stepper motor is powered by 12v regulated. Power is limited to 500mA. I previously tested by feeding the stepper motor with a variable power supply 1A under different voltages (4.5, 6, 7.5, 9 and 12V).
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Problems with micro stepping with AFMotor
Have you tried reversing one pair of leads? (for example, red/yellow)
- jpegfr
- Posts: 7
- Joined: Sun Feb 06, 2011 6:49 pm
Re: Problems with micro stepping with AFMotor
Yes, I think I have done, but don't you think that a reverse connection may also impact the operating modes in full step?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Problems with micro stepping with AFMotor
For a bipolar motor it should reverse the direction. But I've seen motors that run better in one direction than the other.
- jpegfr
- Posts: 7
- Joined: Sun Feb 06, 2011 6:49 pm
Re: Problems with micro stepping with AFMotor
agree, in this case, I actually take the test and is identical whatever the direction of rotation.
Please be positive and constructive with your questions and comments.