Servo rapidly moving up and down randomly.

I'm currently working on a robot arm that uses 4 HS-805BBs to rotate, and raise the arm. The HS-805BBs when connected to the Arduino they rapidly move back and forth. The servos are controlled by a potentiometer and when they are rapidly moving and when I try to control the servo with the pot while it does this, it doesn't work. How do I stop it from doing this?

Most problems like that are caused by an inadequate power supply. You need a separate servo power supply, 5-6 volts and capable of providing at least 4 amperes.

Never attempt to power motors or servos from the Arduino, but be sure to connect all the grounds together.

jremington:
Most problems like that are caused by an inadequate power supply. You need a separate servo power supply, 5-6 volts and capable of providing at least 4 amperes.

Never attempt to power motors or servos from the Arduino, but be sure to connect all the grounds together.

I have a 6v power supply (4x AA 1.2v/each, 2300mAh/each) and I also have the grounds connected together. Still does it

Edit: I fixed it

Failure to connect the arduino and servo power grounds is the second most common servo issue that you describe.