$20.49
Brand: MELIFE
Color: black
Features:
Details: Specification of Rotary Encoder Module:
Model: KY-040
Working Voltage: 5V
Material: PCB + Brass
One Round Number of Pulse: 20
The pin outs for this rotary encoder are identified in the below.
CLK: Encoder Pin A
DT: Encoder Pin B
SW: No Pushbutton Switch
GND: Encoder Pin C
CLK = [pin 3]
DT = [pin 4]
Button = [pin 5]
+ = [Pin 5V]
GND = [pin GND]
Pin connected to Raspberry Pi:
CLK = GPIO16 [pin 36]
DT = GPIO15 [pin 10]
SW = GPIO14 [pin 8]
+ = 3.3V [pin 1]
GND = ground [pin 6]
Please Attention:
The rotary encoder can count the number of pulse output during rotation in the positive direction and reverse direction through the rotation and this rotation counts are not limited.
With the key on the rotary encoder, you can reset to the initial state, that is, counting from 0.
Package Included:
8 x KY-040 360 Degree Rotary Encoder Module
8 x Encoder Knob Cap
UPC: 701715463523
Package Dimensions: 38x164x91