DigiNews

Tech Watch by Johan Denoyer

← Back to articles

How to read codes from (many) IR remote controls with as little code as possible

Quality: 8/10 Relevance: 9/10

Summary

The post explains how to read and decode NEC IR remote codes with minimal code, using a VS1838B IR demodulator and a Seeed Xiao nRF52840 Plus MCU, and outlines a minimal getCode() function that decodes 32 bits by counting 562.5µs units. It covers hardware integration, timing considerations, and mapping decoded codes to USB HID keyboard events (volume, play/pause, captions), plus Learn/RUN modes to memorize seven key mappings. The project demonstrates a practical, low-cost approach to turning any IR remote into PC/media controls.

🚀 Service construit par Johan Denoyer