stepper running rough what could it be ?

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dansu
 
Posts: 23
Joined: Thu Jan 07, 2016 9:32 am

stepper running rough what could it be ?

Post by dansu »

Hi guys I have a Arduino starter pack. Just using the uno to run a step motor. The motor runs ok with a delay of 1, but then I give a delay of 10 and the noise picks up and runs rough. Why ? and what options are there to fix this ? Thanks.

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper running rough what could it be ?

Post by adafruit_support_bill »

Which stepper motor and what power supply are you using to power it?

Please post the code you are using.

User avatar
dansu
 
Posts: 23
Joined: Thu Jan 07, 2016 9:32 am

Re: stepper running rough what could it be ?

Post by dansu »

Stepper is SM42HT47-1684B
12V supply
Driver: A4988

Code:
void setup() {
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
digitalWrite(8, LOW);
digitalWrite(9, LOW);
}

void loop() {
digitalWrite(9, HIGH);
delay(1);
digitalWrite(9, LOW);
delay(1);
}

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper running rough what could it be ?

Post by adafruit_support_bill »

Both stepper and driver are not products that we carry. You should contact the seller for technical assistance.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”