KY-040 Rotary Encoder Module

KY-040 Rotary Encoder Module — ky-040-rotary-encoder-module

A compact incremental rotary encoder module with quadrature CLK and DT outputs plus an integrated momentary push switch. The five-pin interface exposes CLK, DT, SW, supply, and ground for breadboard-friendly user input.

Pinout

Logical pinout · physical placement not verified
KY-040 ROTARY ENCODER VCCDTGNDSWCLK
  • VCC

    Logic supply. Use 3.3V with 3.3V microcontrollers.

    Type · PowerVoltage · 3.3
  • GND

    Ground reference.

    Type · Ground
  • CLK

    Quadrature encoder channel A.

    Type · GPIO
  • DT

    Quadrature encoder channel B.

    Type · GPIO
  • SW

    Integrated momentary push switch output.

    Type · GPIO

Passives

57 other options

E12 resistor kits, ceramic and electrolytic capacitor sets, 1N4148/1N4007 diodes, TIP120 Darlingtons, IRLZ44N MOSFETs and 100F supercapacitors — bench stock in kit quantities.

View all 57

Related groups

4 groups