The rotary encoder is an electromechanical device that can monitor movement and manner. Rotary encoders generally use optical sensors to generate serial pulses which can be interpreted into motion, position and direction. From the point of view of a rotating place, it can be processed into information in the form of a digital code by the rotary encoder for use by the control circuit. Motor controllers, motor drives, etc.