Translate
hello,
I use a Uno card with a Tb6560 1 axis to drive a stepper motor (1.8 / 1.7A). I set up the driver to be 1/2 step (1 on S3 and 0 on S4 : see the image).
The motor needs 200 steps to make a complete turn, it should take 400 with half step.
But it makes only a quarter turn when I do:
#include <Stepper.h>
nbrPasParRevolution const int = 200;
Stepper myStepper (nbrPasParRevolution, 3.5);
void setup () {
myStepper.setSpeed (60);
Serial.begin (9600);
}
void loop () {
myStepper.step (nbrPasParRevolution*2);
delay (500);
}
It made a complete turn, whenI do:
myStepper.step (nbrPasParRevolution * 8).
Do you know why ? Any Idea ? Thanks in advance
