The principle:The Servo motor operate base on the PWM signal, the action of servo motor will following the input signal’s duty cycle.
The SG90 designed duty cycle (pulse length) is 500µs to 2500µs, during this range, the duty cycle will be representing different meaning.
For 180° Servo, the duty cycle will represent to the position
Duty cycle(us) Degree
500 0°
833 30°
1166 60°
1500 90°
1832 120°
2165 150°
2500 180°
For 360° Servo, the duty cycle range is different, and the meaning represents direction and speed
Duty cycle(us) Direction Speed
1000 clockwise 100%
1166 clockwise 60%
1333 clockwise 30%
1500 N/A stop
1666 anti-clockwise 30%
1832 anti-clockwise 60%
2000 anti-clockwise 100%
Determine the type of servo (180°/360°)
Look at the side that has cable pull out, checking whether there is a variable resistor or not.
If have a “green variable resistor”, that is 180° servo.

Otherwise, that is 360°

Pinout Diagram:
Pin Function
G Ground
V Voltage Supply
S Input (PWM signal with duty cycle)

There are no reviews yet.