I saw this project with multiple servos: In Servo We Trust! Let's control 135 servos with a single Arduino! I wanted to miniaturize this project.

BUT instead of triangles i will use SQUARES.

:EDIT: summing UP

For now project stops, not forever. I bought 9 servos on aliexpress and im waiting for them to be delivered. Also, im making a 3D project in AutoDesk Maya 2018, planning and will sbow you the results soon how im gonna make it work. I was thinking about adding 1 more servo and hc sr06 distance sensor. I was thinking about the sensor will detect person, servos and mirrors will also follow the person. But idk if im gonna make it to the final project.

  • I bought arduino nano that will be powered from the battery
  • All servos will be powered with electricity from the wall 5V 5A.The servos wont be on heavy load so it will be enough i think.If any problem occurs I will use 10A.

ALSO SORRY for not editing this POST earlier.

I would like to thank everybody for giving me such a great advices, I will post my AutoDesk project soon.

Fritzing Diagram


I'm afraid that with PWM controler I won't be able to do that.

Chances are that any PWM controller is going to let you control each output independently.

According the the servo library documentation, the library can handle up to 12 servos on a single Arduino, so your project should be feasible. It will however reduce the number of PWM pins available from 6 down to 4.

Will a 9V battery power all these servos?

No! Not a chance.

Typical 9g servos consume 150 mA without any load, and stall at ~700-900 mA. A typical 9v has ~500 mAh capacity, and most data sheets show loads of ~100-150 mA max. Your 9v might be able to supply a few amps for a few seconds before they heat up and slow down.

If your load is very light 9 servos will consume ~900 mA; an ideal 9v would last at most 30 min with this load, but real batteries aren't ideal and will heat up and loose efficiency.

Near maximum load your 9 servos will draw ~7000-9000 mA, well beyond the capabilities of a 9v. However those numbers are for 5v so you could cut them all in half.

If you used an appropriate 5v step-down DC-DC supply you might be able to power all 9 servos for a few seconds before the batter overheats and gives up.

If you powered them directly, the servos will have to dissipate more heat, and will draw extra power, could damage the servos if the batter could supply enough juice.

  • Yes, I know. But i need only 9 servos and PWM controller can operate on 16. From this forum: rcarduino.blogspot.com/2012/04/…, I know that i need separetly battery to power arduino and servos. Let me do a schematic of what im thinking. I'll post it in a minutes. Jul 19 '18 at 23:57
  • Here's the photo. In nano there's 10 digit pins. I'll take 9 and control each servo separately. Will it be fine? What about the voltage to power the servos? 9V battery will do? Jul 20 '18 at 0:21
  • @LazyArtistSQuex 9g servos don't take much power; a 9v should power at least one, but I don't know about trying to power 9 at once with a single 9v, n.b. the operating voltage of most 9g servos is 4-6v
    – esoterik
    Jul 20 '18 at 0:34
  • If the servo operates on 4-6V, doesn't 9V will be too much for a single one? How about I buy this only to power 9 servos? pl.aliexpress.com/item/…. I've read that one servo takes 500mA. So for 9 will me 4,5A. I can not find information how many amps this battery provides. Jul 20 '18 at 0:44
  • @LazyArtistSQuex it's not the voltage that's the problem, its the capacity. The battery you linked claims to be 35C, so 1.5 aH * 35C = 52.5 A max discharge, which would drain that batter in under 2 min; If the specs claimed are accurate.
    – esoterik
    Jul 20 '18 at 1:02

Here are the specifications of the SG90 (from FEETECH (Fitec) FS90 9G Mini Servo with Accessories)

SG90 specifications

The FG90 is similar in specification to the SG90. From the website:

The FS90 is a 9 g analog servo from FEETECH (formerly known as Fitec) which is similar in form and function to the Towerpro SG90. The specifications state that this servo has a 120° operating angle for standard servo pulses between 900 µs and 2100 µs. As with most servos, the pulse range can be expanded to achieve an expanded operating angle, but the limits of which are not specified by FEETECH.

From this answer to Power supply circuit for powering SG90 servo. How to handle high current requirements?, lets assume each servo (best case) needs 250 mA, as you state that the load per servo is relatively low.

Let's say that the Nano requires 280 mA, see this answer to What is the maximum power consumption of the Arduino Nano 3.0?

Using a single 5V supply to power both servos and Arduino. The current rating needs to need at least:

I = (9 x 0.25) + 0.28
I = 2.53 A

Or power rated

P = I x V = 2.53 x 5
P = 12.65 W 

You probably want more than that, so get a 5 V 5 A supply to be on the safe side. So, no, a battery will not suffice.

  • I wanted to make separetly power for nano and servos, but this way will work too. Jul 20 '18 at 9:59
  • I wanted to buy these: pl.aliexpress.com/store/product/…. Jul 20 '18 at 10:00
  • 4*1,2V=4,8V and 8400mAh and 5A. Will it be enough? Jul 20 '18 at 10:00
  • Or poeer from the wall and converter from 230V to 5V and 5A. This seems like a cheaper option and more reliable. It costs like 7$. So can i use this power to the arduino nano and power sergos from the Vin pin 5V? The 5A wont be to much for arduino nano? If not ill use just ppwer from the battery to the nano and servos will be povered from the wall Jul 20 '18 at 13:24
  • 1
    @LazyArtistSQuex you can power them separately (with sufficient power supplies) but you must connect the ground lines together (only the ground) to ensure everything has the same reference for the voltage.
    – Craig
    Jul 20 '18 at 21:12

You can drive upto 20 servos on an Arduino Nano - here's the EXCELLENT software for this: http://www.lamja.com/?p=504

Most servos can run well using high voltages (e.g. 9v) while still accepting PWM signals much lower (e.g. 3.3v) - here's a video showing that working fine: https://youtu.be/9ZCiQgjcx3k

See Greenonline's answer table (or servo datasheets) to work out your power budget. 9v will work, but is probably more than the servos would like: 6v is more usual.

New contributor
cnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Cheapest way is that you should buy couple of LM7805 wire it in parallel now power arduino and other servos from this 7805. Connect pwm pins of servos to the nano.

Voltage regulator built inside arduino cant provide much current to all servos.

Also connect ground of all of your power sources together.


Servos don't use PWM, not really. What they need is a pulse that is ~ 1mS wide every 20mS (50 Hz) to turn full one direction, ~ 1.5mS wide to be centered, and about 2mS wide to turn fully the other direction. Or centered, +/- ~ 60-75 degrees or so.

(0.9mS to 2.1mS per the data above).

  • So, what you are telling me I won't be able to connect 9 servos directly to arduino nano? google.com/…: Jul 24 '18 at 19:26
  • The Servo.h library will control up to 12 servos on a 328P based board, such as the Nano. But it's not using PWM to do to it. You will need a decent power supply to power them if you plan on moving 9 at once for any length of time. Perhaps two or three of something like this mpja.com/5-Volt-DC-Plug-Power-Supply-4A-Regulated/productinfo/… and don't forget power connectors mpja.com/55_21mm-Power-Jack-Screw-Terminals/productinfo/… Be sure to connect all Gnds together.
    – CrossRoads
    Jul 25 '18 at 10:08
  • Thanks for the power supply answer. So arduino nano will be suitable for my project or use another board? Jul 26 '18 at 18:07
  • 12 > 9, so yes, it will suitable.
    – CrossRoads
    Jul 26 '18 at 18:16
  • Great, now i need the parts to come. Also i need to design the case that will hold all components (i will make it from wood). Will update in short time. Thanks Sir. Jul 26 '18 at 21:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.