The gears make sound and the shaft shivers. But it doesn't turn. I tried moving the wires between A and B but nothing changed. Anyone worked with a stepper like this?
thanks!
--
Here is the code I am working with:
int dirpin = 2;
int steppin = 3;
void setup() {
// put your setup code here, to run once:
pinMode(dirpin, OUTPUT);
pinMode(steppin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int i;
digitalWrite(dirpin, LOW);
delay(100);
for(i = 0; i < 1000; i++){
digitalWrite(steppin, LOW);
digitalWrite(steppin, HIGH);
delayMicroseconds(500);
}
digitalWrite(dirpin, HIGH);
delay(100);
for(i = 0; i < 1000; i++){
digitalWrite(steppin, LOW);
digitalWrite(steppin, HIGH);
delayMicroseconds(500);
}
}
Yes you are right. But turning the tiny knob on the ED to adjust the current limit doesn't seem to make a big difference. Are there specific steps or ways to adjust it?
Your code seems to be sending 1000 steps. The BigEasydriver defaults to microstepping (so 16*200 = 3200 steps per revolution and with a 26:1 gearbox that means 83,200 steps for one revolution of the output shaft.
Edit to add ... OOPS ... I assumed you had a BigEasydriver which would be able to control that motor - whereas you seem to have an Easydriver which cannot supply enough current.
...R