What is basic ideal for one microprocessor to control more than one servo motors

I own the Arduino Uno boarder.

What is basic ideal using one microprocessor in Arduino Uno to control five servo motors at the same time ?

for example a robot arm with five servo motors.

Five 'step-and-direction' drivers will use 10 data output pins. If you have no other inputs or outputs you will have no trouble finding 10 pins you can use.

Edit: Oops... Not getting enough sleep. I thought you said Stepper motor. :frowning:

A servo is controlled by sending it pulses, using the Servo library, on one pin. The servo is powered separately from the Arduino. So, 5 servos can be controlled by 5 pins.

Thank you guys !

first making question simple.
For example: The number one servo motor turns 30 degree, after one second, turns another 45 degree, at the same time the number two servo motor starts working.
My question is
1.how to create the signal for servo motor ?
how to control the width of pulse? what function I can use ?
Thank you guys !

first making question simple.
For example: The number one servo motor turn 30 degree, after one second, turn another 45 degree, at the same time the number two servo motor start working.
My question is
1.how to create the signal for servo motor ?
how to control the width of pulse? what function I can use ?
Time
millis()
micros()
delay()
delayMicroseconds()
or
Interrupts
interrupts()
noInterrupts

  1. I need the interrupt to maintain the pluse ?

It is better to give a short program, or link to somewhere to show me.

Use the servo library.
No need to generate the pulses yourself