Site Guide

Find your way around the Engineering Club.

Know what you need? Search for a component, concept or project.

Around the site

Start

Labs

TestingExperimental

Build

Club

LearnExperimental

Go a little deeper

Entry points to larger collections. Use Search for individual records.

Learning paths & reference

Inside PiCrawlerExperimental

Inside Inventory

← Club inventory
Rotary encoder module

Sensors

Rotary encoder module

An incremental rotary encoder reports shaft movement as two phase-offset contact signals, often with a separate push switch.

Owned by clubQuantity: 2

Two digital phases; optional button

What it does

Lets a knob adjust a setting without the finite electrical travel of a potentiometer. Counting transitions estimates relative motion; the knob does not remember an absolute angle after a reset.

Useful specifications

Output
Incremental quadrature; optional push switch
Pulses/revolution
Unverified
How it works

Two contact patterns produce quadrature A/B signals. Their order of transitions reveals direction. Mechanical contacts bounce, so the decoder must accept legal state changes rather than count every electrical edge.

Recognize the part

Metal shaft on a compact PCB with clock/data and possible switch labels; unlike a potentiometer it normally exposes digital quadrature outputs.

Also called: rotary encoder module, Rotary Encoders

How to use it

Verify power/pull-up rail and connect A/B to digital inputs. Use a quadrature decoder with debounce and define whether a step means one edge, one complete cycle or one detent. Treat the push switch separately.

Know before using

Limits

  • Contact bounce and missed transitions at fast rotation.
  • No independent absolute position.

Common mistakes

  • Calling the output an analog angle voltage.
  • Assuming detents equal the library’s tick count.

What can I build?

intermediate

Encoder-controlled text menu

Core electronics available

Use relative encoder steps and a push input to navigate a stateful LCD menu.

Related owned hardware

Read the conditions before connecting parts. A relationship can involve a driver, controller or a redesigned circuit.

user input

Arduino Uno R3

  • The host decodes quadrature phase order for menu changes and handles the push switch separately.
  • A rotary encoder offers relative step input for a controller menu.

Connection conditions

  • Debounce and sample fast enough; carrier pull-ups must use a GPIO-safe rail.

user input

Raspberry Pi Pico

  • The host decodes quadrature phase order for menu changes and handles the push switch separately.
  • A rotary encoder offers relative step input for a controller menu.

Connection conditions

  • Debounce and sample fast enough; carrier pull-ups must use a GPIO-safe rail.

user interface

2.42-inch SSD1309 128×64 OLED Display Module (I²C)

  • A host can navigate a pixel-drawn menu with encoder increments.
  • A controller can use encoder turns/presses to change the displayed page or setting.

Connection conditions

  • Check the carrier supply, address and pull-up rail. Use one compatible pull-up network for the bus and avoid pulling 3.3 V GPIO to 5 V.
  • Input decoding and display communication are separate host tasks.

user interface

LCD1602 character display

  • A controller can use encoder turns/presses to change the displayed page or setting.

Connection conditions

  • Input decoding and display communication are separate host tasks.

user interface

128×32 ST7567A graphical LCD module

  • A controller can use encoder turns/presses to change the displayed page or setting.

Connection conditions

  • Input decoding and display communication are separate host tasks.

user interface

MAX7219 single 8×8 LED matrix module

  • A controller can use encoder turns/presses to change the displayed page or setting.

Connection conditions

  • Input decoding and display communication are separate host tasks.

user interface

Four-module MAX7219 LED matrix

  • A controller can use encoder turns/presses to change the displayed page or setting.

Connection conditions

  • Input decoding and display communication are separate host tasks.

user interface

P5 Indoor RGB LED Matrix Panel, 64×32

  • A controller can use encoder turns/presses to change the displayed page or setting.

Connection conditions

  • Input decoding and display communication are separate host tasks.

When would I use each?

Input Controls

User-control strategy; absolute wipers, relative steps and two-axis commands are different semantics.

A potentiometer reports an absolute setting within its travel; an encoder reports increments that software must accumulate. A trimmer is for occasional adjustment. Choose a joystick when two independent analog axes are useful.

Documentation

Inventory record and image evidence

Quantity: 2 · quantity confidence: probable

Known countable purchase/BOM contributions. Each source line is a total; do not multiply by container count or add photo observations.

Ownership: source-backed club holding. Identity confidence: high.

Identity follows exact kit sheet/BOM; expected quantity is not a physical stocktake.

V1 establishes the catalog identity. Technical references explain the named device or component class; unverified carrier-specific ratings and pinouts are not asserted.

Source holdings

Parent kits

Original V3 image confidence: 90% · high. Component crop tied to an owned kit and its source mapping; selected by form rather than filename alone.

Original V3 image source: ELEGOO Mega reference (owned kit reference). Images describe identity and form; they do not establish quantity.

Displayed image source: User-supplied Rotary encoder module reference photograph.

User-selected shaft encoder carrier with push switch and five header pins; exact board revision and pin assignments require verification.

User-supplied reference image; original rights retained.