Encoder, Rotary encoder, protractors or angle encoders all work on the basis of a mechanical movement (rotation), which is converted into an electrical output signal. Attachments such as flanges, grooves or holes allow the encoder to be quickly and effortlessly connected to the rotating element.