Stepper Motor for Robot Arm

Hi everyone,

I am currently developing a robot arm using stepper motors.
Is there a way to increase my stepper motors speed at a rate according to a function?
For example:
theta(t) = t^2 + 3t (theta(t) is the angle of rotation of my motor with respect to time)

What is the best way to code this :slight_smile:

Thank you!

float theta = t*(t + 3.0);

Richard971209:
I am currently developing a robot arm using stepper motors.
Is there a way to increase my stepper motors speed at a rate according to a function?

Yes of course, must be the answer.

The problem is that you have not given us any idea how much knowledge of stepper motor speed control you already have so I can't figure what exactly you need help with.

Look at how the speed is controlled in the second of the examples in this Simple Stepper Code. Then think about how you might vary it.

...R
Stepper Motor Basics