Go Down

### Topic: I am trying to get the fasted speed with stepper motor and easy drive. (Read 1 time)previous topic - next topic

#### ksshhs

##### Jun 29, 2012, 04:41 pm
I am trying to use 8 motors with one arduino board. but I can't really decide what kind of motor I need to get.
What I wanna do in just control motor''s speed (has to be quite fast like 300 rps) and direction.
And I bought a mercury stepper motor and an easy driver for start. because one of my friend who is very into Arduino, he said stepper motor is easier to control with Arduino.

But my question is how fast the stepper motor can be?
is it better to use DC motor?

#### Grumpy_Mike

#1
##### Jun 29, 2012, 04:49 pm
Quote
is it better to use DC motor?

Depends on your application. A stepping motor is good at precisely turning through an exact angle, with typically 1.8 degrees per step.
However, it sounds like you don't need that sort of control so you would be better off using a DC motor.

Basally the top speed is governed by:-
1) The motor
2) The load on the motor
3) The voltage you drive it at
4) The speed you can output pulses to it
5) If you ramp the speed up and down it will go faster than trying to go that speed from a standing start

#### kf2qd

#2
##### Jun 29, 2012, 06:40 pm
300 RPS??? That's 18,000 RPM. Wood working Routers and high speed milling spindles run that fast. What are you trying to make?

#### ksshhs

#3
##### Jul 02, 2012, 06:11 pm
I am trying to get the fasted speed with stepper motor and easy drive using AccelStepper libraries.
But It doesn't look as fast as 300 rps.

#include <AccelStepper.h>

// Define a stepper and the pins it will use
AccelStepper stepper(1, 9, ;

int pos = 3600;

void setup()

stepper.setMaxSpeed(90000);
stepper.setAcceleration(900000);
}

void loop()
{
if (stepper.distanceToGo() == 0)
{
delay(500);
pos = -pos;
stepper.moveTo(pos);
}
stepper.run();
}

#### PeterH

#4
##### Jul 02, 2012, 06:16 pm
AccelStepper says: Speeds of more than 1000 steps per second are unreliable. It looks as if you're way outside the region of reliable operation. How many steps per second are you trying to achieve?

#### AWOL

#5
##### Jul 02, 2012, 06:22 pm
Quote
But It doesn't look as fast as 300 rps.

18000 rpm is fast, even for a DC motor.
Is that really what you meant?

Please use code tags when posting code.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

#### Grumpy_Mike

#6
##### Jul 02, 2012, 06:43 pm
Quote
But It doesn't look as fast as 300 rps.

That is because you are not going as fast as 300 rps with that code.
It is one thing setting the speed and quite another having the motor respond to that speed. I suspect it is being stepped too fast and it is skipping steps.
You need to look on a scope to see if your signals are alright at this speed, I suspect they are not.

#### AWOL

#7
##### Jul 02, 2012, 06:52 pm
Topics merged.

Cross posting wastes everyones time.

DO NOT CROSS POST.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

#8
Quote