![]() ![]() So by counting the number of pulses we can determine how many steps it moved. When the conductive pad makes contact with the pin, it goes high, and when the conductive pad is moved away from the pin, the pin goes low for the waveform shown above. The output waveforms produced by output pin A and output B are represented in dark blue and sky blue respectively as shown in the above image. There are two output pins here, Output A and Output B, as shown in the above image. The output pins are fixed on this disc so that when the knob is rotated, the conductive pads touch output pins and generate waveforms. These conductive pads are placed at regular equal intervals. It basically of a disc (black) non conductive material and a conductive pads(white gaps) placed on surface of that disc. The internal mechanical structure of the encoder is shown in the above image. There are many types of encoders each with their own working mechanism, which we already learnt in our previous article, Now as we are using KY040 incremental rotary encoder Arduino in this tutorial lets learn about it. ![]() It consists of a knob, when rotated in steps produce a sequence of pulses, each conductive steps are placed on the disc with predefined lengths and gaps. A rotary encoder is an electromechanical transducer, which means it converts mechanical movement into electrical pulses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |