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?
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).
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.
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.
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..
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?
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..