I have tried every think that I can think of, on each axis with both motors and wiring extensions. I have tried different test codes. I tuned the pots on both axis. I have done all of this with and without the 30 volt external power supply. The power supply had been use for two years and did not burn out either motor. Of course I have verified that I have the voltage switch set to 5V. I have supplied positive and negative resistance and or rotation at every step.
Unless there is something substantive that can be done, I would like to get a replacement board as soon as possible.
Order number : 233257
Web reference number : 298183
Invoice number : 10090564
Below are the steps that I have pursued in order to trouble shoot this board.
This is the spec sheet for the X stepper motor: jameco.com/Jameco/Products/ProdDS/162027.pdf
I have tried to tune the pots on both X and Y but saw no change.
I change the jumper setting and only hear a slight pitch change of the buzzing.
I have tried several wiring setups but got no motor rotation.
I have used this wiring set up on both X and Y motors:
A1-> BLACK
B1-> GREEN
2A-> RED
2B-> BLUE
I also tried this wiring was set to this:
1B->GREEN
1A->BLACK
2A->RED
2B->BLUE
I tried switching X02A with X02B, and switching Y02A and Y02B but got similar results. The bussing was just not quite as loud.
I used your code and both motors just buzzed at three different pitches interrupted by brief rests as it cycles.
It was suggested by a tech from iTead that I change the wiring to the following:
1B->BLACK
1A->GREEN
2A->BLUE
2B->RED
He also gave me this new code to use.
[code]int dirPin1 = 3;
int stepperPin1 = 2;
int dirPin2 = 7;
int stepperPin2 = 6;
void setup() {
pinMode(dirPin1, OUTPUT);
pinMode(stepperPin1, OUTPUT);
pinMode(dirPin2, OUTPUT);
pinMode(stepperPin2, OUTPUT);
}
void step(boolean dir,int steps){
digitalWrite(dirPin1,dir);
digitalWrite(dirPin2,dir);
delay(50);
for(int i=0;i<steps;i++){
digitalWrite(stepperPin1, HIGH);
digitalWrite(stepperPin2, HIGH);
delayMicroseconds(100);
digitalWrite(stepperPin1, LOW);
digitalWrite(stepperPin2, LOW);
delayMicroseconds(100);
}
}
void loop(){
step(true,16005);
delay(500);
step(false,16005);
delay(500);
}[/code]