Tagged articles
2 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Dec 7, 2025 · Fundamentals

Control RGB LEDs with an NEC Infrared Codec Module and STM32

This tutorial explains how to use the YS‑IRTM NEC infrared codec module with an STM32F103C8T6 MCU to decode remote‑control signals, map them to UART commands, and drive a three‑color LED, covering hardware wiring, protocol details, UART configuration, and full source code.

LED controlNEC protocolSTM32
0 likes · 12 min read
Control RGB LEDs with an NEC Infrared Codec Module and STM32
Liangxu Linux
Liangxu Linux
May 19, 2021 · Fundamentals

Understanding Linux NEC Infrared Remote Drivers: From Protocol Basics to Kernel Implementation

This article explains how infrared remote controls work, details the NEC protocol timing and encoding, and walks through the Linux kernel driver implementation—including GPIO‑IR receiver code, NEC decoder logic, device‑tree configuration, and key‑event reporting—providing a complete technical guide for developers.

Device TreeGPIOIR remote
0 likes · 17 min read
Understanding Linux NEC Infrared Remote Drivers: From Protocol Basics to Kernel Implementation