Let's Make Robots!

Practical question about servos and capacitors

I have read in many places on this site about using capacitors to reduce motor and servo noise. I am now using 0.1 uF capacitors across the leads of my motors as standard practice. I'm also using 470 uF and 0.1 uF capacitors around both sides of my voltage regulator. As yet I haven't tried applying a cap to a servo, and I have a quick question.

Where do you attach the capacitors on the servos? It is easy enough to solder caps directly to the leads of a motor, but the leads on a servo are much longer, and usually already in a nice 3-pin connector to attach to a microcontroller. I believe it is best to have the capacitors as close to the source of the noise as possible. What are some good practice ways to connect noise suppression caps to the servo?

Off the top of my head, I can think of several ways, some of them are probably really bad:

  • crack open the servo case and add a small cap where the power leads come in (ick!)
  • cut the servo power leads just outside the case and splice in the capacitor across the leads.
  • disassemble the 3-pin connector, solder the cap to the pins, and reassemble
  • run the servo leads to a PCB or protoboard, add the cap to the board, and then wire from the board to the microcontroller

So, how do you do it?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
wow...2A....I haven't seen an ldo with that kind of output....the ones I have run about 300-600ma
I think I got mine from the Electronic Goldmine. Nice little regulator, so far.
Do they really get that hot that you need a heat sink on em?

I believe they would under load. to be honest I didn't take a chance.


More often than not I've disassembled a servo to find there's already a small ceramic cap fitted across the motor leads, inside the case.
Apart from all the other good suggestions, you could always add a third, even larger (>1000μF) cap across the battery leads that feed the servos. This would help smooth out any voltage sag when your servo draw large currents - especially if you have several servos that are operating synchronously.

The plot thickens...

This is beginning to look like a case for THE MYTHBUSTERS :D

I'M sure Grant could tackle it. He did win battlebots...