2 stepper motor

please help me. how to use 2 stepper motors , the motor 1 forward 10 seconds the motor 2 stops , the motor 1 stops the motor 2 forward 10 seconds and so on .

thanks.

1) HAve you worked through some of the examples?

2) Do you have any code at all as a starting point?

this is the code that im using.

#include <Stepper.h>

const int step_360 = 200;// 360 number of steps per/rev
// initialize the stepper library on pins 2-5 n 8-11
Stepper myStepper1(step_360,2,3,4,5);
Stepper myStepper2(step_360,8,9,10,11);

void setup()
{
// set the speed at 60 rpm:
myStepper1.setSpeed(60);//left
myStepper2.setSpeed(60);//right
// initialize the serial port:
Serial.begin(9600);
}
void loop()
{
myStepper1.step(step_360);
myStepper2.step(step_360);
delay(500);
}

Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png or pdf?

Tom..... :)

In addition to posting your circuit schematic ...

What stepper motor are you using? post a link to its datasheet.

What stepper motor driver are you using? post a link to its datasheet.

...R

my stepper motor 5v and ULN2003 Driver........

#include <Stepper.h>

I think that the Stepper library that comes with the IDE will only work with one stepper. Try the accelstepper library.

http://www.airspayce.com/mikem/arduino/AccelStepper/