Hi guys (and girls, why not?):
I'm trying to make my own stepper driver based in the easystepv4 from sparfun (sparkfun product 10267). I used this motors also from sparkfun (spark fun product 10846).
I have 4 motors with 4 drivers (one x-axis, two y-axis and one z-axis). The motors have 400 steps per revolution and the easydriver without microstep configuration at all needs 6400 steps to complete a revolution (1/8 microstep?).
I can make the motors move with a function like
void step(boolean dir,int steps){
digitalWrite(dirPin,dir);
delay(50);
for(int i=0;i<steps;i++){
digitalWrite(stepperPin, HIGH);
delayMicroseconds(100);
digitalWrite(stepperPin, LOW);
delayMicroseconds(100);
}
}
Note the delayMicrosecond() function. I try with different values for the delay and the motor stop working below 50 microseconds delay and start to vibrate frenetically.
However, with the contraptor firmware the motors doesn't move at all, just a bit of vibration for less than a second (even in long moves, for example sending G1 X10000).
Any ideas or directions?
Best regards from Argentina (sorry about the English) and thanks in advance.
Joaquin