Servo Pulse Width Calculator

The REV Robotics Expansion Hub outputs an extended RC servo pulse that ranges from 500μs to 2500μs. Some servos have narrower input ranges and may move erratically, or not at all when a signal is given outside of its range.

Use the calculator below to determine what minimum and maximum values you should use in your program in order to stay within your servo's acceptable input range. Most servos have a either a datasheet or specification list that lists the maximum signal range. For example:

Servo Pulse Spec. Example

If you cannot find the signal range specification for your servo, you may need to contact the manufacturer, or experiment with values until you see the behavior you expect.

Enter the minimum and maximum pulse width values in the input boxes below. The code values will automatically update.

%%Panel.servocalc%%