Encoder
An Encoder is an electro-mechanical device that translates physical motion into an electrical signal. That data can be used by a control device to determine speed, acceleration, direction, and position. Encoders can use optical, magnetic, capacitive, or other technologies to detect motion. Encoders can be used for rotary or linear motion and can provide incremental or absolute outputs.