Easy Driver and Accelstepper - Random moviments and no control

Hi,
I try to drive my telescope focuser with Arduino and Easy driver. It works correctly with its handset controller. Motor have two pair of wire (Red Black together and green Yellow together). Now i can move It with Arduino and Easy driver, but acceleration, Speed or maxSpeed not work and movements and directions are random. I have a simple code but result Is wrong.

Code: Example 3 (Easy Driver Examples)

Motor photo attached (Is this a real stepper???)

Wired connections:
Step PIN
Dir PIN
Enable PIN
MS1 PIN
Power gnd and m+ (12v)
Board Arduino mini pro

To learn more about your motor, disconnect the motor driver and measure the resistance between the various motor wires. If it is a standard bipolar stepper there will be two readings showing the same resistance, and open circuit otherwise. Please post the results.

To what value did you set the very important current limit on the driver, and what is the current rating of the motor power supply?

jfrusciantello:
Code: Example 3

Please post your program here. See How to get the best out of the Forum

...R