Rotary Encoder with Switch

5-pin incremental rotary encoder with integrated push-switch: 3 pins for rotation (5 V supply + 2 quadrature outputs) and 2 pins that short when the shaft is pressed.
Pinout
- Encoder contact Aone of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source
One quadrature rotary-encoder contact from the three-pin side
Type · SignalVoltage · external pull-up/circuit dependent, commonly 5V - Encoder commonone of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source
Common terminal for the rotary encoder contact pair
Type · UnknownVoltage · external circuit dependent - Encoder contact Bone of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source
Second quadrature rotary-encoder contact from the three-pin side
Type · SignalVoltage · external pull-up/circuit dependent, commonly 5V - Push switch terminal 1one of the two terminals on the push-switch side
Momentary push switch contact; shorts to switch terminal 2 when pressed
Type · UnknownVoltage · external circuit dependent - Push switch terminal 2one of the two terminals on the push-switch side
Momentary push switch contact; shorts to switch terminal 1 when pressed
Type · UnknownVoltage · external circuit dependent
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| Encoder contact A | one of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source | Signal | One quadrature rotary-encoder contact from the three-pin side | external pull-up/circuit dependent, commonly 5V |
| Encoder common | one of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source | Unknown | Common terminal for the rotary encoder contact pair | external circuit dependent |
| Encoder contact B | one of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source | Signal | Second quadrature rotary-encoder contact from the three-pin side | external pull-up/circuit dependent, commonly 5V |
| Push switch terminal 1 | one of the two terminals on the push-switch side | Unknown | Momentary push switch contact; shorts to switch terminal 2 when pressed | external circuit dependent |
| Push switch terminal 2 | one of the two terminals on the push-switch side | Unknown | Momentary push switch contact; shorts to switch terminal 1 when pressed | external circuit dependent |
Pin details
5 connections- Encoder contact Aone of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source
One quadrature rotary-encoder contact from the three-pin side
SignalVoltage · external pull-up/circuit dependent, commonly 5V - Encoder commonone of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source
Common terminal for the rotary encoder contact pair
UnknownVoltage · external circuit dependent - Encoder contact Bone of the three terminals on the rotary-encoder side; exact A/common/B order not specified by source
Second quadrature rotary-encoder contact from the three-pin side
SignalVoltage · external pull-up/circuit dependent, commonly 5V - Push switch terminal 1one of the two terminals on the push-switch side
Momentary push switch contact; shorts to switch terminal 2 when pressed
UnknownVoltage · external circuit dependent - Push switch terminal 2one of the two terminals on the push-switch side
Momentary push switch contact; shorts to switch terminal 1 when pressed
UnknownVoltage · external circuit dependent
Start wiring
I2C · Analog · 3.3 – 5 V · Bare
Verify supply voltage and logic levels before powering up.
Module pins: Encoder contact A, Encoder contact B. Schematik maps them to your board in the app.
Encoders
27 other optionsBare EC11 quadrature encoders, I2C navigation encoders, absolute AS5600 and 8421 encoders, slide and ribbon potentiometers, and digital I2C pots — covering most ways to read angular or linear position.
Adafruit ANO Rotary Navigation Encoder to I2C STEMMA QT Adapter visual previewAdafruit ANO Rotary Navigation Encoder to I2C STEMMA QT Adapter
$19.95
Adafruit DS1841 I2C Digital 10K Potentiometer Breakout visual previewAdafruit DS1841 I2C Digital 10K Potentiometer Breakout
$7.95
Adafruit DS3502 I2C Digital 10K Potentiometer Breakout - STEMMA QT / Qwiic visual previewAdafruit DS3502 I2C Digital 10K Potentiometer Breakout - STEMMA QT / Qwiic
ANO Directional Navigation and Scroll Wheel Rotary Encoder visual previewANO Directional Navigation and Scroll Wheel Rotary Encoder
BOSON: Rotation Sensor Potentiometer Module i1 (0~300°) visual previewBOSON: Rotation Sensor Potentiometer Module i1 (0~300°)
Circular Soft Potentiometer (Ribbon Sensor) visual previewCircular Soft Potentiometer (Ribbon Sensor)
Dial-type Potentiometer (10k) visual previewDial-type Potentiometer (10k)
Fermion: 8421 Encoder-Horizontal (Breakout) visual previewFermion: 8421 Encoder-Horizontal (Breakout)
Fermion: 8421 Encoder-Vertical (Breakout) visual previewFermion: 8421 Encoder-Vertical (Breakout)
Fermion: EC11 Rotary Encoder Module visual previewFermion: EC11 Rotary Encoder Module
$2.90
Gravity: 360 Degree Rotary Encoder Module visual previewGravity: 360 Degree Rotary Encoder Module
Gravity: Analog Rotary Switch Module V1 visual previewGravity: Analog Rotary Switch Module V1
Related groups
4 groups
12mm Domed Push Button Pack visual previewButtons & switches
Most parts here are simple contacts: press or release, open or closed. A few outliers — rotary switch potentiometer breakouts, NeoPixel potentiometers, wiper plungers — carry separate wiring requirements worth checking before you order.
Input & controls · Buttons & switches · 106 parts
4x4 Matrix Keypad visual previewKeypads
Matrix keypads, analog ADKey boards, I2C keypad controllers, joysticks, and finished USB-HID keyboards are all here. Pin budget and simultaneous-press requirements are the splits that matter.
Input & controls · Keypads & controllers · 37 parts
Adafruit 12-Key Capacitive Touch Sensor Breakout - MPR121 [STEMMA QT] visual previewTouch
MPR121, CAP1188, CAP1203 Qwiic slider and AT42QT breakouts are sensor ICs for electrodes you wire yourself. Simple single-pad modules like the TTP223B give you one digital output with no bus required.
Input & controls · Touch sensors · 14 parts
1.75mm PLA (1kg) - Black visual preview3D printing
DFRobot 1.75 mm PLA in 1 kg spools makes up the bulk of the group, in over 15 colors. Specialty options include PVA in both diameters, NinjaFlex flexible filament, Proto-Pasta conductive PLA, and wood-fill. OverLord printer spares and OverLord printers round out the hardware side.
Tools & prototyping · 3D printing · 53 parts