Inputs
Rotary Encoder (KY-040)
Incremental rotary encoder with push button; quadrature CLK/DT outputs with pull-ups.
- Supply (+)
- 3.3–5 V
- Manufacturer
- Generic
- Reference
- Reference pending review
- Catalogue ID
- rotary-encoder-ky040 v1
Pinout
| Pin | Type | Details |
|---|---|---|
| CLK | Digital output | output level = supply voltage |
| DT | Digital output | output level = supply voltage |
| SW | Passive terminal | Connects to GND when pressed; use INPUT_PULLUP. |
| +VCC | Power input | 3.3–5 V |
| GND | Ground | - |