Rotary Encoder Module KY-040 360 Degree Rotary Encoder, Rotary Angle Encoder, with Push Button (Pack of 5)
Rotary Encoder Module KY-040 360 Degree Rotary Encoder, Rotary Angle Encoder, with Push Button (Pack of 5)
WayinTop: We want to make your work easier and more fun! Specification of the rotary encoder module: Model: KY-040. Operating voltage: 5 V. Material: PCB + brass. Step width: 20 positions/revolution. Connections: "GND" = ground connection. "+" = 5V power supply. "SW" = interrupt for push button. "DT" = encoder pin B. "CLK" = encoder pin A. Read the rotation: The encoder reproduces the signal for rotation to pin "CLK" and "DT". It is crucial which pin changes the state first. When rotating clockwise, "CLK" changes state first. When rotating counterclockwise, "DT" changes state first. Use of the button: The pin "SW" gives a high pulse as long as the rotary knob is pressed down. Connection assignment: CLK=[Pin 3] DT=[Pin 4] Button=[Pin 5] += [Pin 5V] GND=[Pin GND] Connection assignment: CLK=GPIO16[Pin 36] DT=GPIO15[Pin 10] SW=GPIO14[Pin 8] += 3.3 V [pin 1] GND = ground[pin 6] Package includes: 5 x KY-040 360 degree rotary encoder module. 5 x encoder push button.
Product Features
- General ParametersModel: KY-040, Working Voltage: 5V, Number of pulses in one round: 20
- No limited number of turns: the rotary encoder can count the number of pulse output during rotation in the positive direction and reverse direction through the rotation, and these rotation numbers are not limited.
- Encoder key: with the key on the encoder you can reset it to the initial level so that it counts from 0 again.
- Application: your best choice for controlling step and servo motors. You can also use it to control devices such as digital potentiometers.
- Box contents: 5 x KY-040 360 degree rotary encoder module + 5 x encoder push button