Rotary Encoders measure the number of rotations, the rotational angle, and the rotational position. Linear Encoders are also available to measure linear movement.
Overview
What Are Rotary Encoders?
Rotary Encoders are sensors that detect position and speed by converting rotational mechanical displacements into electrical signals and processing those signals. Sensors that detect mechanical displacement for straight lines are referred to as Linear Encoders.