Servo power supply calculator
Plan for every servo that moves at once to draw its stall current: Ipeak = servos moving at once × stall current, and rate the supply 25% above that, at the servos' voltage. Power them from their own supply with a shared ground, never from the microcontroller board.
moving = ⌈servos × share⌉Ipeak = moving × Istallrating = 1.25 × Ipeak, P = V × rating| Supply current rating (25% margin) | 7.5 A |
|---|---|
| Supply voltage | 7.4 V |
| Servos moving at once | 3 |
| Peak current | 6 A |
| Supply power | 55.5 W |
6 A is more than a JST XH (3 A) or PH (2 A) connector is rated for: feed power through screw terminals or a connector and wire rated for 7.5 A, and split the servos across several leads.
Before you power it
- Power the servos from their own supply, never from the board's 5 V pin or USB: an Uno's USB polyfuse opens above 0.5 A, and 3 servos can draw 6 A.
- Join the servo supply's ground to the board's ground, or the control signal has no reference.
- Match the supply to the servo variant: some serial bus servos (the STS3215 among them) are sold in 7.4 V and 12 V versions under one name, so read the label before connecting.
- Give every servo on the bus its own ID, one at a time, before chaining them: new servos usually share the same factory ID.
- Set every servo on the bus to the same baud rate as the controller.
Worked example
A six-servo arm on 7.4 V serial bus servos, each drawing up to 2 A at stall, with half of them moving at once: 3 × 2 = 6 A peak, so a 7.4 V supply rated 7.5 A (55.5 W). 6 A is twice what a JST XH connector is rated for, so feed it through screw terminals and split the servos across several leads.
Questions
Why stall current and not the running current?
A servo draws close to its stall current when it starts moving and whenever it pushes against a load or holds a weight. Several starting together is when supplies sag and boards reset.
Can I power servos from the Arduino 5 V pin?
No. One small servo can pull the board's supply down and reset it, and on USB the Uno's polyfuse opens above 500 mA. Use a separate supply and join its ground to the board's.
What changes with serial bus servos?
They share one data line and one power pair, so every servo needs its own ID and the same baud rate, and the power wiring carries the current of all of them. Some models come in more than one voltage version under the same name; the supply must match the version.
Where do I find the stall current?
On the servo's datasheet; the MG996R's, for example, gives 2.5 A at 6 V. If it is not listed, measure the current while holding the horn still for a moment, or ask the seller.
Sources: TowerPro SG90 and MG996R datasheets (voltage ranges, MG996R stall current); Feetech STS3215 datasheet (7.4 V version); JST PH and XH connector datasheets (2 A and 3 A); Arduino Uno Rev3 documentation (500 mA USB polyfuse).
Related calculators
- Motor power supply calculator: Vsupply ≥ Vmotor + Vdrop(Istall)
- Robot battery runtime calculator: avg = (Imotors + Ielec) × share + Ielec × (1 − share)
- PCB trace width calculator: A = (I ÷ (k × ΔT^0.44))^(1/0.725)
More calculators
- Resistor color code calculator
- LED resistor calculator
- Voltage divider calculator
- RC time constant calculator
- Ohm's law calculator
- Series and parallel resistor calculator
- Transistor base resistor calculator
- 555 timer calculator (astable)
- Battery life calculator
- RC filter calculator (low-pass)
- Capacitor code calculator
- Motor driver calculator
Want a whole circuit rather than one value? Describe it and the AI designs and simulates it.