Servos are controlled by sending an electrical pulse of variable width, or pulse width modulation (PWM), through the control wire. ... The servo motor expects to see a pulse every 20 milliseconds (ms) and the length of the pulse will determine how far the motor turns.