# Calculate servo capacitors?

**URL:** <https://forum.arduino.cc/t/calculate-servo-capacitors/668777>\
**Category:** General Guidance\
**Created:** [August 5, 2020, 4:11am UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777 "2020-08-05T04:11:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![shai](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@shai](https://forum.arduino.cc/u/shai)\
**Post date:** [August 5, 2020, 4:11am UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/1 "2020-08-05T04:11:59Z")

</div>

Hi, I'm using this servo: [https://www.aliexpress.com/item/32963192117.html?spm=a2g0s.9042311.0.0.7b934c4dvCWYyl](https://www.aliexpress.com/item/32963192117.html?spm=a2g0s.9042311.0.0.7b934c4dvCWYyl)

and I've been reading online that servos tend to jitter due to noise on the signal line or high spikes in current when it moves. Many suggest adding capacitors across the 5v and GND lines. I'm trying to understand, how do you calculate what capacitor values to add and do you need more than one capacitor of different value(s) to help eliminate jitter/noise?

I'm also thinking of passing the wires through a ferrite such as this: [https://www.digikey.com/products/en?keywords=HF60T18X10X10](https://www.digikey.com/products/en?keywords=HF60T18X10X10)

---

<div class="post-metadata">

**Author:** ![DrDiettrich](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/drdiettrich/32/219048_2.png) [@DrDiettrich](https://forum.arduino.cc/u/DrDiettrich)\
**Post date:** [August 5, 2020, 5:46am UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/2 "2020-08-05T05:46:58Z")

</div>

Don't add capacitors to the data line, that would make the servo fail.

For the (unknown) power supply and load you can add capacitors until the problem disappears. If nothing helps try a stronger power supply (more current).

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [August 5, 2020, 12:28pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/3 "2020-08-05T12:28:05Z")

</div>

Start with 1 mF (also expressed as 1000 µF).

A ferrite is more appropriate at radio frequencies.

---

<div class="post-metadata">

**Author:** ![Robin2](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/robin2/32/216045_2.png) [@Robin2](https://forum.arduino.cc/u/Robin2)\
**Post date:** [August 5, 2020, 12:55pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/4 "2020-08-05T12:55:57Z")

</div>

Assuming the load on the servo cannot move the servo when it is de-powered then you could detach the servo after a move and attach again before the next move.

...R

---

<div class="post-metadata">

**Author:** ![shai](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@shai](https://forum.arduino.cc/u/shai)\
**Post date:** [August 6, 2020, 3:55pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/5 "2020-08-06T15:55:51Z")

</div>

So if I wanted to add caps to 5v and GND, what cap ratings should I add and in what order? This is for an SMD PCB. Because servos have a spike in current when they start a move, so want to make sure it operates smoothly.

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [August 6, 2020, 9:10pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/6 "2020-08-06T21:10:38Z")

</div>

The servo in your link has a stall current of 1.8Amp.  
A smoothing cap on the servo supply is good,  
but don't expect that you can draw the start-up current from the cap.  
Your servo supply must be able to handle all of it.  
Leo..

---

<div class="post-metadata">

**Author:** ![shai](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@shai](https://forum.arduino.cc/u/shai)\
**Post date:** [August 6, 2020, 9:18pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/7 "2020-08-06T21:18:53Z")

</div>

> Wawa:  
> The servo in your link has a stall current of 1.8Amp.  
> A smoothing cap on the servo supply is good,  
> but don't expect that you can draw the start-up current from the cap.  
> Your servo supply must be able to handle all of it.  
> Leo..

Yes I know my supply must be able to handle it. How to calculate the smoothing cap(s) and order of placement?

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [August 6, 2020, 9:39pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/8 "2020-08-06T21:39:17Z")

</div>

It seems you're thinking that smoothing caps on the supply can stop servo jitter.  
Leo..

---

<div class="post-metadata">

**Author:** ![shai](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@shai](https://forum.arduino.cc/u/shai)\
**Post date:** [August 6, 2020, 9:40pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/9 "2020-08-06T21:40:45Z")

</div>

> Wawa:  
> A smoothing cap on the servo supply is good,
> 
> Leo..

I'm following your statement...

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [August 6, 2020, 9:53pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/10 "2020-08-06T21:53:50Z")

</div>

A smoothing cap on the supply is also an attempt to stop spikes from the servo entering other circuits.

The cap value must be very large to be able to supply the full start-up current, impractical.  
Just add 1000uF, and be done with it.  
If you still have jitter, then fix the supply.  
Leo..

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 7:18pm UTC](https://forum.arduino.cc/t/calculate-servo-capacitors/668777/11 "2021-05-05T19:18:01Z")

</div>

Closed on May 5, 2021, 7:18pm UTC


