
Potentiometers are best in situations where you need to know the exact position of the knob. They can fully rotate without end stops while a potentiometer can rotate only about 3/4 of the circle. Rotary Encoders are the modern digital equivalent of the potentiometer and are more versatile than a potentiometer. The rotary encoder used in this tutorial is of an incremental type. The absolute encoder gives us the exact position of the knob in degrees while the incremental encoder reports how many increments the shaft has moved.

There are two types of rotary encoder – absolute and incremental. A rotary encoder is a type of position sensor that converts the angular position (rotation) of a knob into an output signal that is used to determine what direction the knob is being rotated.ĭue to their robustness and fine digital control they are used in many applications including robotics, CNC machines and printers.
