| Weight | 30 g |
|---|
Description of KY-040 Rotary Encoder
KY-040 rotary encoder is a device that generates an electrical signal based upon how much the
rotary input device (knob) is rotated and the direction it is rotating in. It is a position sensor with a knob and can be used to control stepper or servo motors with precision.
Features and Specifications of KY-040 Rotary Encoder
Below mentioned are some of the features and specifications of the KY-040 Rotary Encoder module:
- Operating Voltage: 5V
- Mechanical angle: 360 Degrees
- Output: 2-bit gray code
- Positions per revolution: 20
Pin Configuration of KY-040 Rotary Encoder
The KY-040 module has 5 output pins. Two of which are for the power of the module whereas, 3 are for the output data of the turns and direction of the knob. The table below describes the pin type and the function of each pin in the Rotary module.
| Pin Type | Description |
| CLK | Encoder Pin A |
| DT | Encoder Pin B |
| SW | No push-button switch |
| VCC(+) | Voltage input(+5V) |
| GND | Ground(Encoder Pin C) |
Rain Drops Detection Water sensor Module 





There are no reviews yet.