4 servos and 1 due

Hi,
I want to run 4 servos at the same time, but i have a problem.
When I connect 2 to the due, they work fine. With 3 servos, they work, but 1 of them get delayed. With 4, it happens the same, but the 4th doesn't work at all.
The servo runs at 4.8-6V, and my power supply has 12v and 1A output.
Could the power supply be the problem?
Thanks in advance.

#include <Servo.h> 

Servo servo1, servo2, servo3, servo4; 

 
void setup() 
{ 
  servo1.attach(32, 900, 2100);
  servo2.attach(33, 900, 2100);
  servo3.attach(34, 900, 2100);
  servo4.attach(35, 900, 2100); 
} 
 
void loop() 
{ 
  servo1.writeMicroseconds(1530);
  servo2.writeMicroseconds(1530);
  servo3.writeMicroseconds(1530);
  servo4.writeMicroseconds(1530);
}

You need a separate power supply for the servos. The Arduino 5v pin can't provide nearly enough current. It's not really a good idea even to power a single servo that way.

Make sure that the ground for the servo power is connected to the Arduino ground.

...R

Thanks for the quick rely
What kind of power supply do i need for them? I think this is a parallel circuits, that means the voltage is the same for all elements, but the current will be divided. So, basically, I need a source that has a higher current than mine (of course, it connects directly to servos). Am I right?

There is also the issue that the servos may be expecting a 5V logic input, so
3.3V might be unreliable...

yea it must be connected to 5v. I'll make sure that they're connected to 5v like always.

You should allow at least 0.5 amps per servo and 1 amp per servo would be better.

...R