Pages: [1]   Go Down
Author Topic: help on how to use 9 sevo motors with uno  (Read 726 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi everyone..
i m working on a project from coll and i m pretty new to arduino.. i use a arduino uno board and i want to know if it is possible to run 9 servo motors with it using servo libary 2.
and i also want to know how much external power would i have to supply to the board
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9549
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just a tip, you don't power servos thru the arduino boards. You need an external power supply for the servos.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 1
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A typical servo motor will draw between 500mA and 1A depending on the size of the servo and how much load it is under.  In your case, you are wanting to run 9 servos so worst case of each servo running under full load you would need a 9A supply to handle this.  You don't provide any info on what your application is so its hard to determine if this is overkill or not.  Also note that the power supply for the servos needs to be a separate supply from what you are delivering to the Arduino board.  The voltage regulator on the Arduino cannot come close to regulating that much current so you need to have the separate supply for the motors and just make sure the ground for the servo power supply is also connected to the ground on your Arduino board.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Can you give us the datasheet of your servos?

Good luck with your project and keep us informed of any need of advancement!
« Last Edit: February 16, 2011, 03:08:53 pm by Binette228 » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8821
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From the Arduino 22 reference:

The Servo library supports up to 12 motors on most Arduino boards and 48 on the Arduino Mega. On boards other than the Mega, use of the library disables analogWrite() (PWM) functionality on pins 9 and 10, whether or not there is a Servo on those pins. On the Mega, up to 12 servos can be used without interfering with PWM functionality; use of 12 to 23 motors will disable PWM on pins 11 and 12.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Now I'm not sure what the current carrying capacity of the board itself is, but could you perhaps buy another power supply to replace the one that is supplied with the arduino board, one that can output a larger current but maintains the same voltage of the original power supply.

If this isn't possible, what would you do to connect the ground from the servo to the secondary power supply if the power supply is one of the types that is double insulated and has no earth pin to plug in the wall socket? (Yeah, we have these in Australia). Would pinching the earth from the arduino's power supply work, since it's all of the same continuity anyway?

I'm looking to do a similar thing with multiple servos in the future. I dont know what load it will be, so overkill would probably be a good idea in my case. smiley
Logged

Pages: [1]   Go Up
Jump to: