stepper motors

Hi I got two new stepper motors :

QSH2818-32-07-006
http://www.digikey.com/product-detail/en/QSH2818-32-07-006/1460-1072-ND/4843423

And

QSH 4218-35-10-027

I would like to control at least one of the two motors from Arduino Uno rev3.
What shield do I need?

Thank you

The Thread stepper motor basics should answer your question.

...R

Thank you for your reply! I read your post, it is complete !

My project is to use this stepper motor :
QSH2818-32-07-006
http://www.digikey.com/product-detail/en/QSH2818-32-07-006/1460-1072-ND/4843423

0.67A
3.8VDC
0.06Nm

From what I read and undesrstood and my research, I could drive it from a “Pololu A4988 Stepper Motor Driver Carrier”.

I still have a few questions :

  1. Can I supply Vmot with 12VDC, 1500mA power supply??

  2. I want to have a ON/OFF button + some kind of rotating button to adjust the speed of the motor. How can I do that? Where should I put the buttons in the wiring?

Thank you

a4988 diagram.png

I have continued to read yourt thread more carefully and I think it would be easy with the buttons to control the speed + ON/OFF function.

Does it exist a single button where you can have all these features : From OFF position, you turn a bit the button => motor goes ON and then the acceleration is proportional to the position of the button. Does it exist?

And I still have the question of power supply for Vmot...

billbourrin:
Does it exist a single button where you can have all these features : From OFF position, you turn a bit the button => motor goes ON and then the acceleration is proportional to the position of the button. Does it exist?

It sounds to me that you need to control the motor with a potentiometer.

And I still have the question of power supply for Vmot...

12v 1.5Amps will be fine. It does not matter if the power supply can provide more amps than you need.
Just make sure to adjust the maximum current on the A4988 to suit your motor.

...R

Its not the maximum current, its the set current, the motor windings should be getting
this current continuously (modulo the microstepping waveform that is). Its important
to set this correctly to get decent motor response.

For a 5V motor I'd be happier to see 24V or more supply, so there's some overhead
for making it spin fast enough - the backEMF on a stepper is dominant.

Hi guy,
I have this stepper motor Skidproof Nema17. It does 200 pulses to achieve a complete turn of the motor shaft.
How can correlate the frequency with the angular velocity if my script is this?

byte directionPin = 2;
byte stepPin = 3;
int numberOfSteps = 2000;
//int pulseWidthMicros = 20; // microseconds
int millisbetweenSteps = 25; // milliseconds

void setup() {

Serial.begin(9600);
Serial.println(“Starting StepperTest”);

delay(2000);

pinMode(directionPin, OUTPUT);
pinMode(stepPin, OUTPUT);

digitalWrite(directionPin, HIGH);
for(int n = 0; n < numberOfSteps; n++) {
digitalWrite(stepPin, HIGH);
// delayMicroseconds(pulseWidthMicros);
digitalWrite(stepPin, LOW);

delay(millisbetweenSteps);

}

delay(3000);

digitalWrite(directionPin, LOW);
for(int n = 0; n < numberOfSteps; n++) {
digitalWrite(stepPin, HIGH);
// delayMicroseconds(pulseWidthMicros);
digitalWrite(stepPin, LOW);

delay(millisbetweenSteps);
}
}

void loop() {
}

Thank you of all!

marco1990:
I have this stepper motor Skidproof Nema17. I

When I was young “skidproof” was associated with underwear.
In this case it tells us just as little about your motor.

If your motor has 200 steps per revolution then if you send 200 pulses per second you get 1 revolution (or 360 degrees) per second. And 360 degrees is 2 PI radians (i.e. 6.283 radians per second).

I think you should be able to work things out from that.

…R