![]() ![]() ![]() Now, if we count the number of pulses we will be able to determine how many steps the Encoder has been moved. When the conductive pad is directly under the pin it goes high resulting it on time and when the conductive pad moves away the pin goes low resulting in off time of the waveform shown above. The output waveform produced by the Output pin A and Output B is show in blue and green colour respectively. Here there are two output pin, Output A and Output B as shown in the figure below. The Output pins are fixed on top of this circular disc, in such a way that when the knob is rotates the conductive pads get in contact with the output pins. These conductive pads are placed at an equal distance as shown below. It basically consists of a circular disc (grey colour) with conductive pads (copper colour) placed on top of this circular disc. The internal mechanical structure for the Encoder is shown below. There are many types of Encoders each with its own working mechanism, we will learn about the types later but for now let us concentrate only on the KY040 Incremental Encoder since we are using it for our tutorial. ![]() It consists of a knob which when rotates will move step by step and produce a sequence of pulse trains with pre-defined width for each step. So let’s get started.Ī Rotary Encoder is an electromechanical transducer, meaning it converts mechanical movements into electronic pulses. At the end of this tutorial you will be comfortable with using an Rotary Encoder for your projects. We will also interface it with Arduino and control the value of an integer by rotating the Encoder and display its value on a 16*2 LCD screen. In this article we will learn about the different types of Rotary Encoders and how it work. When the knob of the Encoder is rotated it rotates in form of small steps which helps it to be used for stepper/Servo motor controlling, navigating through a sequence of menu and Increasing/decreasing the value of a number and much more. It looks more like a Radio potentiometer but it outputs a train of pulses which makes its application unique. A Rotary encoder is an input device which helps the user to interact with a system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |