5 servos and 1 color sensor don't work

Hi guys,

I have a problem with 5 servos SG90 and a color sensor tcs 3200. They are for a sorting-machine. Well, it works for about 2 minutes but then all the servos are rotating on one side till they reach the stop (they can just rotate 180 degrees) and the color sensor is flickering.

What could cause that problem? I tried it with different codes, so it shouldn't being caused of that. The voltage I give are the 5V of my Arduino Mega 2560 board, might this be too low or could the board be broken?

Thanks for your reply!
Philipp

Philipp1202:
The voltage I give are the 5V of my Arduino Mega 2560 board, might this be too low

It will be a lack of current, not voltage, although I'm not sure why it would work for a little while.

You need a power supply external from the Mega, as shown.

edit: According to this, those serovs can draw 750mA, so if all 5 can move at once, you need to provide about 4A.