@Tom George:
I can post a picture but there is not much to see. You have 4 wires connected to the easydriver board (look at the link :
http://www.schmalzhaus.com/EasyDriver/EasyDriver_v42/EasyDriver_v42_sch.pdf ).
This are motor characteristics :
SANYO DENKI.
"STEP-SYN"
Type: 103-820-0241
IBM P/N: 6838068
Lot No. 8504
Made in Japan
DC : 4.5V
Current: 1.4A
6 wires
//------------------------
Colours of the wires:
Blue
White blue
Red
White red
White
Black
//------------------------
Resistance( on 200 Ohm scale ):
Blue
White blue = 06.7
Red
White red = 06.7
Black
Red / Red white = 03.6
White
Blue / White blue = 03.6
//---------------------------
I have connected Blue / white blue and red / white read on the easyboard A/B - A/B ports and white / black wires are not connected. I'm using 12 / 2A power adapter to power the easyboard.
I hope that this part is OK. What do you think ?
@ Robin
No need to apologize! Really. I didn't past the whole code but instead of that i have send a link to topic where the code can be located.
This is the code that is working on espon but not on sanyo stepper:
int IncrementPin = 9;
int DirectionPin = 8;
int ButtonPin = 10; //my wild guess
int CurrentPosition; //Where the stepper motor is now
int Xposition = 0; //may need to swap these if it's backward
int Yposition = 3600;
void setup() {
 pinMode(IncrementPin, OUTPUT);
 pinMode(DirectionPin, OUTPUT);
 pinMode(ButtonPin, INPUT_PULLUP); //I'm going out on a limb here.
 digitalWrite(IncrementPin, LOW);
 digitalWrite(DirectionPin, LOW);
}
void loop() {
 static boolean RunMode = false;
 if (!RunMode) { //RunMode is false until the button is pressed, then doesn't get checked anymore
  //latching RunMode on
  RunMode = digitalRead(!ButtonPin);
 }
 else {
  delay(5000);
  MoveMotor(Yposition);
  delay(1000);
  MoveMotor(Xposition);
  delay(5000);
 }
}
void MoveMotor(int NewPosition) {
 boolean Forward = (NewPosition > CurrentPosition); //sets the direction variable
 int AddValue; //How much we add to the current position... it will only be 1 or -1
 if (Forward) { // perhaps this is backward and should be NOT forward (!Forward)
  digitalWrite(DirectionPin, HIGH);
  AddValue = 1;
 }
 else {
  digitalWrite(DirectionPin, LOW);
  AddValue = -1;
 }
 //OK, now we have the direction out of the way, the rest of your code should work
 while (CurrentPosition != NewPosition) {
  digitalWrite(9, HIGH);
  delayMicroseconds(100);
  digitalWrite(9, LOW);
  delayMicroseconds(100);
  CurrentPosition += AddValue; // record this step
  // Using the += operator does the same as what you had
 }
}
And this is the standard demo code that is used by easydriver setup:
int Distance = 0;Â // Record the number of steps we've taken
void setup() {Â Â Â Â Â Â Â
 pinMode(8, OUTPUT); Â
 pinMode(9, OUTPUT);
 digitalWrite(8, LOW);
 digitalWrite(9, LOW);
}
void loop() {
 digitalWrite(9, HIGH);
 delayMicroseconds(100);   Â
 digitalWrite(9, LOW);
 delayMicroseconds(100);
 Distance = Distance + 1; // record this step
 // Check to see if we are at the end of our move
 if (Distance == 3600)
 {
  // We are! Reverse direction (invert DIR signal)
  if (digitalRead(8) == LOW)
  {
   digitalWrite(8, HIGH);
  }
  else
  {
   digitalWrite(8, LOW);
  }
  // Reset our distance back to zero since we're
  // starting a new move
  Distance = 0;
  // Now pause for half a second
  delay(500);
 }
}
//-----------------------------------------------
The second code is working with sanyo stepper but i am missing the part with speed controlled back/forth spin. Stepper moves as i described in first post so now i need to program the part where i can define a way how to speed up this back and forth movement regarding on button press.
X side = 3 second
move back - fast
Y side - wait for button press
move forth - fast
Future idea is to trigger movement to the X side also with the button press or with some kind of switch.
Regards !