The code I am using is SERVO->SWEEP from the library of Arduino IDE.
Using power supply(with voltage regulator 7505) to power servo motor and arduino is powered from my laptop.
I working on walking robot project. For this i brought 6 servos i stated above.Coming to the problem, when i upload my code to arduino board, the servo dont work according to the code. Everytime switch power on,Servo goes to 180(angle) and comes a little back and pushes itself to 180 again ang until i switch the power off. Infact i goes to 180 so fast that it broke the bumper inside the servo and hence damaged my two servos. : . I also tried to power the servo from Arduino itself but this time when then servo goes 180 deg the board reset again and again.
One more thing i also brought Tower Power servo 9g. Servo
and it is working fine according to the code.
Have you got the grounds connected?
Is the power supply capable of providing 1amp per servo?
Is the 7505 capable of providing 1 amp per servo. Oh, wait . . .
Yes, the of the servo and Arduino is grounded to power supply ground.
And.. No , voltage regulator 7505 is providing 0.5 amp only.
Can u tell what modification should do to my power supply now ?
Yes .. The ground of the servo and arduino is connected to power supply ground.
I made my power supply using 12-0-12 transformer using bridge wave rectifier and then i used Voltage regulater 7505 which is providing 0.5 amp at output.
:o Wow it worked like charm ??? Servo is behaving properly. The code is working fine.
But the thing is i want to use 8 servos(futaba s3003) and AAs wont last long enough for them. So therefore want to use Power Supply. So can you plz help me on how much amp of transformer should i use (0.5 amp or 1 amp).
And one more thing i was operating servo at 5v using 7505. If i use 7808 to operate servo at 8v to produce brtter torque , will it damaged servo or it would work fine??
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Especially your voltage regulators and power supply.
Have you placed the capacitors around the regulators that are shown in the regulator datasheet?
What does your 5V form the regulator measure when the servos fail?
Without the caps around the regulator then its regulation is not good.
This is the circuit of power supply(in attachment).
Yes, I have placed capacitor around voltage regulator.
I was thinking of placing 0-12 transformer of current 1 Amp as AWOL suggested that it will need 1 amp per servo.
Now the question is, should i place a transformer of 1 amp at output?? Or if there is any other solution please suggest.
What is the measured output voltage of your power supply? You can add a small diode like in the attached pix to raise the 7805 output voltage from 5.0v to 5.7v for better servo performance. A laptop pc power supply with a UBEC voltage regulator might make a goo multi servo power supply.