
A Dedicated Pico IR Receiver
The pico_ir_receiver repository contains the MicroPython half of a two-controller lighting project. A Raspberry Pi Pico reads a VS1838B infrared receiver and forwards decoded button actions over UART to the main Pico that controls the lights.
Separating IR reception from the lighting controller gives the receiver a focused timing job and lets the main board concentrate on presence sensing, display menus, saved settings, and WS2812 output. The documented remote mapping covers brightness up, brightness down, human-sensor mode, and the always-on/always-off toggle.
The repository is small: irrecvdata.py handles the receiver-side communication and main.py connects decoded input to UART output. It is intended to be paired with rp2040_ws2812_led_controller, not run as a complete light controller by itself.
When adapting it, verify the remote's actual code values and the UART pins and baud rate used by both boards. IR remotes and receiver modules vary, so capturing raw codes before assigning actions is more reliable than assuming every handset uses the same mapping.
Visit the Pico IR Receiver repository for the current MicroPython files.