[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"page:\u002Farticles\u002Fpico-ir-receiver":3},{"id":4,"title":5,"author":6,"body":10,"cover":64,"date":65,"description":66,"extension":67,"head":68,"layout":70,"meta":71,"navigation":72,"path":73,"seo":74,"stem":75,"__hash__":76},"pages\u002Farticles\u002F22.pico-ir-receiver.md","A Dedicated Pico IR Receiver",{"name":7,"avatarUrl":8,"link":9},"Likun Cai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103620968?v=4","https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha",{"type":11,"value":12,"toc":60},"minimark",[13,17,26,29,48,51],[14,15,5],"h1",{"id":16},"a-dedicated-pico-ir-receiver",[18,19,20,21,25],"p",{},"The ",[22,23,24],"code",{},"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.",[18,27,28],{},"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\u002Falways-off toggle.",[18,30,31,32,35,36,39,40,47],{},"The repository is small: ",[22,33,34],{},"irrecvdata.py"," handles the receiver-side communication and ",[22,37,38],{},"main.py"," connects decoded input to UART output. It is intended to be paired with ",[41,42,46],"a",{"href":43,"rel":44},"https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha\u002Frp2040_ws2812_led_controller",[45],"nofollow","rp2040_ws2812_led_controller",", not run as a complete light controller by itself.",[18,49,50],{},"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.",[18,52,53,54,59],{},"Visit the ",[41,55,58],{"href":56,"rel":57},"https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha\u002Fpico_ir_receiver",[45],"Pico IR Receiver repository"," for the current MicroPython files.",{"title":61,"searchDepth":62,"depth":62,"links":63},"",2,[],"\u002Farticles\u002Fpico-hardware-cover.webp","2026-08-12T00:22:00.000Z","Use a second Raspberry Pi Pico and VS1838B receiver to decode remote-control signals and forward commands over UART.","md",{"title":69},"A Dedicated Pico IR Receiver for the Pico Light Bulbs Project","page",{},true,"\u002Farticles\u002Fpico-ir-receiver",{"title":5,"description":66},"articles\u002F22.pico-ir-receiver","agNjwfPMb7x5ThbQ-obRh2EFL3aFEOZ0hXwNv2jt8v4",1786980373681]