Go Down

Topic: MG 996-Multiple servos problem (Read 894 times) previous topic - next topic


Greetings all,
 I am trying to build a 6 DOF ABB Robot arm,using arduino uno.As a first step,I want to make the robot get to a certain position just to be sure everything is alright,then I will deal with the gripper part.Hence,I am using 4 servo motors(4 dimensions) which are plugged to the arduino shield that has 11 ports(GVS).So I have chosen 4 different ports for each servo.
 The only code that I needed was "Servo.write(desired angle);"I am also using the usb port of the arduino(5v,500mA) for power supplying.However,only one of the servo is working that is in port D5.I checked every single servo using different or the same port,and the arduino itself by plugging the servos one by one with cables.So the ports,shield and the arduino is working.Moreover,I used another power supply(5v,400mA-2A),plugged it to the shield;nothing changed...I also found out that sometimes motors make noises,makes me feel like they cannot get the enough amount of current.I am using MG 996 servos.In the code,I used delays to make sure that servos work individually but nothing changed.

So the problem is servos are not working when they are all plugged in.What makes them work in that way?In the code I decleared an array of servos "Servo servo[3];" I found someone in the forum saying that I should declare each servos with different names but I have already tried it out,did not work.

Is it related to the torques of the servos?Maybe they are not powerful enough to move the parts of the robot but I do not think so..Should I adjust the rotation speed which may allow the motor work much more properly?


You need to budget at least 1A per servo, using a separate supply to the Arduino.  So that's at least 4A
already with 4 servos.

With an arm you may have significant torque loads on the servos, have you determined they can take
this without overheating?
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]


Jul 17, 2016, 02:23 pm Last Edit: Jul 17, 2016, 02:28 pm by GrkemEE
Thank you for the quick response.About the delays after each servo activity;I thought it would be enough amperes.I will apply more though...

About the overheating,I have made a lot of tryouts and did not face such thing.Thanks for noticing it out.


this video has Idea's linked from

I have a similar project, compare R/C -arduino mega 2560 2x, Arduino Pro Mini 328 - 5V/16MHz 2x, android cell and win10/win-phone BLU win8.1, the PS3 controller is a first try thing still getting documentation.


just hope I don't have to unlock Xperia cell and load from linux a new android build...
come see my new project mercy https://disqus.com/home/channel/rcarduino/discussion/channel-rcarduino/rc_resources/
cheers to the innovations

Go Up