Go Down

Topic: Current limiting circuitry for servos (Read 1 time) previous topic - next topic


Hi guys,
Apologies if this is a dumb question - I've searched the forum for answers, but none seem to quite give me an affirmative yes or no.

I'm going to be driving 6 servos - (Hitec HS 645mg High Torque servos to be exact)
Half the time only 2 servos will be active, but at other times 4 or even occasionally all 6 will be running for a short period)

I'm powering the system from a regulated power supply, set to 6V, with maximum 2.5A output.

I'm a little confused by weather I need a Motor Shield or not. Can I string all the servos off the same power supply, without a current limiter protecting each servo? - Just set the PWM line when I want the servo to actuate?
Presumably the supply will give whatever current is drawn, and no more, so when only 2 servos are running, I don't risk burning them out?
....or do I have my head in coo-coo land?!



The PSU will supply exactly what's needed and no more, so you should be right to just connect them all as long a 6 don't draw more current than the PSU can supply.

Rob Gray aka the GRAYnomad www.robgray.com


fabulous - Thanks Rob - that's exactly what I wanted to hear!
I'll probably need to supply them with dual sides of the power supply to feed enough current to the little blighters when they're under load...but if that's all I must do its not so bad...!

Thanks again


Your power supply should have a + voltage and a Common or ground. Ground from your servo power supply should be connected to Arduino Ground. Servos don't need current limiting resitors.

If you don't supply the servos from both sides of the supply they won't work...


Yep! common ground - check! I've been frustrated  by that one in the past!
Thanks again!



Code: [Select]
I'm going to be driving 6 servos - (Hitec HS 645mg High Torque servos to be exact)
Half the time only 2 servos will be active, but at other times 4 or even occasionally all 6 will be running for a short period)

If you want the servos to hold their positions when inactive, you will still need to pulse them from the Arduino. Fortunately the Servo library makes this very simple and will continue to pulse your servos in the background with whatever position you last set.

In your application you might need a larger current power supply, I could not find the current specs for you chosen servos, but if all 6 of the are operating against a load they could draw 6+ amps.

For an example of using the servo library to control upto 12 Servos see my blog - scroll down to the second and third post. From the moment you call the attach function, the servo library will begin pulsing the servo to set and maintain a centered position, any position you set after this will be maintained in a similar fashion without your code having to do any work. This will ensure that your servos maintain their positions even under load in your project.


Duane B
Read this
then watch this



Thanks Duane,
That's really helpful!


You really need to test a servo and see just how much current is drawn by a servo when it is at the desired position and not holding any load. The actual current will probably be very low, as the internal h-bridge will be getting little or no pulses to try to move the motor. If the h-bridge is getting pulses to move the motor, then the servo is not in its commanded position.
Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131