stepper motor ramp code
Zap-o
Posts: 452
I am running a stepper motor driver that takes a PWM signal from the propeller and steps out a motor.
Does anyone have a ramp object written that will ramp a stepper motor?
Just dont want to reinvent the wheel.
Does anyone have a ramp object written that will ramp a stepper motor?
Just dont want to reinvent the wheel.
Comments
Since you were not very specific on what type of driver you are looking for, this is just a shot in the dark. However, if you have a driver that simply requires a step pulse, take a look at this post, it works well for me. It can be tailored to suit your specific requirements. It can go from 0 to well past 15 revolutions per second, I am guessing maybe 20-25 revs per second. Read the whole post, because the driver has changed. The final function is the one to use.
Bruce
EDIT: Sorry forgot to put in the link
http://forums.parallax.com/showthread.php?132373-PulseTheStepPin-revisited-Questions-answers-problems-solutions&p=1010783#post1010783