A compact, battery-powered infrared remote control built on the STM32L microcontroller and a high-efficiency IR LED. The firmware supports five major IR protocols, RC-5 (Philips), Samsung, NEC (LG), SIRC (Sony), and Kaseikyo (Panasonic), delivering universal compatibility across popular TV brands from a single, long-lasting battery cell.
Conventional IR remotes typically support only one or two proprietary protocols, forcing consumers to manage multiple devices or compromise on compatibility. At the same time, maximizing battery life is non-negotiable for a handheld remote, yet implementing five distinct IR encoding standards with precise carrier frequencies and timing requires significant firmware complexity. The challenge was to deliver full multi-protocol support without sacrificing energy efficiency or response speed.
We selected the STM32L series, specifically chosen for its ultra-low-power peripheral set and stop-mode wake-up capabilities, as the MCU foundation. Protocol-specific carrier frequencies (36–40 kHz) are generated via on-chip timers with PWM output driving the IR LED at optimized duty cycles. Each of the five protocols (RC-5, Samsung, NEC, SIRC, Kaseikyo) is implemented as an independent firmware module with its own frame structure, bit encoding, and timing constants. The MCU enters deep sleep between transmissions and wakes instantly on button press, keeping average current draw in the microamp range. Debounced GPIO interrupt handling ensures responsive, glitch-free input.
Testing confirmed stable signal transmission across all five protocols, verified with commercial TVs from each supported brand. The result is a universal IR remote achieving weeks of battery life, demonstrating that robust multi-protocol firmware and disciplined low-power design are fully compatible goals on cost-effective microcontroller hardware.
From Edge AI inference to production firmware, we turn complex embedded challenges into real, deployable solutions. Let's talk.