EmbeddedRelated.com
PEC12R-4220F-S0024

PEC12R-4220F-S0024

Bourns Inc.
Rotary Encoder Incremental 24 Quadrature (Incremental) Horizontal
Active9,925 in stock

Overview

The PEC12R-4220F-S0024 is a 12mm incremental rotary encoder featuring 24 pulses per revolution and a built-in momentary push switch. It provides a standard 2-bit quadrature output and is designed for horizontal PCB mounting via through-hole pins. This component is ideal for user interface navigation where both rotational input and tactile selection are required.

Why Choose This Part

This encoder features a compact 12mm form factor with a flatted 6mm shaft, making it easy to pair with standard control knobs. It includes a physical detent for tactile feedback during rotation and is rated for a minimum rotational life of 30,000 cycles.

Applications

Audio Equipment Volume Control
Providing digital volume adjustment and power/mute toggling via the integrated push switch.
Menu Navigation
Scrolling through options on OLED or LCD character displays in embedded systems.
Instrument Parameter Adjustment
Fine-tuning values like frequency, temperature setpoints, or timer intervals in laboratory or industrial gear.

Key Specifications

Detent Yes
Orientation Horizontal
Output Type Quadrature (Incremental)
Encoder Type Incremental
Actuator Type 6mm Dia Flatted End
Mounting Type PCB, Through Hole
Built in Switch Yes
Termination Style PC Pin
Pulses per Revolution 24
Rotational Life (Cycles Min) 30K

Getting Started

Connect the quadrature A and B channels to microcontroller GPIOs with internal or external pull-up resistors to 5V or 3.3V. Implement a software debounce routine or hardware RC filter to handle contact chatter, and use interrupt-on-change pins to track rotation state transitions.

Also Consider

PEC11R-4215F-S0024 Bourns Inc. - Offers a slightly smaller 11mm footprint and higher rotational life rating if durability is a priority.
EN11-HSM1AF15 TT Electronics - A 20-pulse-per-revolution alternative with a similar horizontal mount and integrated switch configuration.