News

on video Controlling Servo Motor using Rotary Encoder and Display Angle On LCD

 



A rotary encoder is an electro-mechanical device that can convert the angular position of a shaft to either an analog or digital output signal that can be used to determine what direction the shaft is being rotated.

Rotary encoders come in various types but we are mainly looking at the incremental encoder which is also known as a quadrature rotary encoder due to how the device works.


How a rotary encoder works.


The encoder has a knob attached to a disk with evenly spaced contact zones that are connected to the common pin C and two other separate contact pins A and B which are labeled CLK and DT respectively.

When the knob is turned, the disc will start rotating step by step and the pins A and B will start making contact with the common ground pin C. This generates two square wave signals that are interpreted to determine the direction of rotation. This is illustrated in the diagram below.


 



A rotary encoder is an electro-mechanical device that can convert the angular position of a shaft to either an analog or digital output signal that can be used to determine what direction the shaft is being rotated.

Rotary encoders come in various types but we are mainly looking at the incremental encoder which is also known as a quadrature rotary encoder due to how the device works.


How a rotary encoder works.


The encoder has a knob attached to a disk with evenly spaced contact zones that are connected to the common pin C and two other separate contact pins A and B which are labeled CLK and DT respectively.

When the knob is turned, the disc will start rotating step by step and the pins A and B will start making contact with the common ground pin C. This generates two square wave signals that are interpreted to determine the direction of rotation. This is illustrated in the diagram below.


No comments