9533 – Rotation Sensor/en
Erscheinungsbild
Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.
Summary
The Waveshare Rotation Sensor is an incremental rotary encoder that converts rotation into digital pulse trains. It operates at 3.0–5.3 V, provides 20 pulses per revolution, and measures 32.0 × 15.0 mm.
Related products at JW Tech
Technical overview
- Operating voltage: 3.0 V to 5.3 V.
- Pulses per revolution: 20.
- Dimensions: 32.0 mm × 15.0 mm; mounting hole diameter 2.0 mm.
- Principle: Incremental encoder counts pulses for both clockwise and counterclockwise rotation; unlike a potentiometer, the number of rotations is unlimited.
- Pinout for MCU use: VCC ↔ 3.0–5.3 V, GND ↔ power ground, SW ↔ MCU IO (button state), SIB ↔ MCU IO (output state), SIA ↔ MCU IO (output state).
- Waveform verification: Connect SIA, SIB, and SW to CH5, CH6, and CH7 on a logic analyzer to inspect clockwise, counterclockwise, and button-press signals.
Notes and version constraints
- The source lists general Pico, STM32, and Arduino setup sections but no concrete code examples or exact commands; verify before use.
- Flashing Pico2 firmware from MicroPython may cause the device to become unrecognized; the source recommends using the provided firmware library instead.
- CMake files must not contain Chinese characters (including comments), otherwise project import may fail.
- The referenced Arduino-Pico core URL points to release 4.0.2; updates require manual verification.
Source and revision record
- Rotation Sensor - Waveshare Wiki
- Source revision: 69231
- Captured: 2026-08-29T09:44:53+00:00
- SHA-256:
d25e7cc8452f2eff6cedf51a4a79ce211f16aaaf0396c911aad8d451d213c6f4