[Raspberry Pi Pico (c-sdk)] Rotary Encoder: Multicore vs. PIO(direction of movement detection)

Опубликовано: 25 Июнь 2026
на канале: MCU Application Lab
1,153
15

This video shows how the Raspberry Pi Pico uses multi-core and PIO (Programmable I/O) capabilities to create a rotary encoder driver. In addition to testing the KY-040 knob, it uses IR LEDs (transmitter and receiver) to create a set of IR LED rotary encoders that detect the direction an object is moving.

00:00 demo
02:36 IR LED Rotary Encoder
02:46 KY-040 Rotary Encoder
02:50 Core1 Rotary Encoder Driver Library
02:49 PIO Rotary Encoder Driver Library
03:17 Description of the driver library code on Core1
05:15 Explanation of driver library code on PIO

Details and code URL:
https://mcuapplab.blogspot.com/2023/0...