zalati Pack of 5 KY-040 rotary encoder module 360 degree rotary encoder rotary angle encoder with push button
zalati 5pcs KY-040 rotary encoder module 360 degree rotary encoder rotary angle encoder with push button
Description: Rotary encoder module specification: Model: KY-040. Operating voltage: 5V. Material: PCB + brass. Increment: 20 positions/revolution. Connections: “GND” = ground connection. “+” = 5V power supply. “SW” = interrupt for buttons. “DT” = encoder pin B. “CLK” = encoder pin A. Reading rotation: The encoder passes the signal for rotation to the pins “CLK” and “DT”. What matters is which pin changes state first. When rotating clockwise, “CLK” changes state first. When rotating counterclockwise, “DT” changes state first. How to use the button: The “SW” pin emits a high pulse as long as the knob is pressed down. Pin assignment: CLK=[Pin 3] DT=[Pin 4] Button=[Pin 5] +=[Pin 5V] GND=[Pin GND] Pin assignment: CLK=GPIO16[Pin 36] DT=GPIO15[Pin 10] SW= GPIO14[Pin 8] +=3.3V[Pin 1]. GND=Ground[Pin 6] Package: 5 pieces Zalati KY-040 encoder module with push button
Product Features
- Model: KY-040, operating voltage: 5V, number of pulses per round: 20.
- No limited number of revolutions The rotary encoder can count the number of pulse outputs during rotation in the positive direction and in the reverse direction by rotation, and this number of revolutions is not limited.
- You can use the button on the encoder to reset it to the initial value so that it counts from 0 again.
- Your best choice for controlling stepper and servo motors . You can also control devices such as digital potentiometers.
- Package Included: 5 x KY-040 360 degree rotary encoder module + 5 x encoder push button.