This application note provides a generic solution for implementing an IR receiver in software using a STM32F10xxx microcontroller.
This application note provides a generic solution for implementing infrared (IR) receivers in software using STM32F10xxx microcontrollers. It covers hardware considerations, such as using integrated IR receiver/demodulator modules like TSOP1736 or TSOP34836, and explains how to decode IR pulses using the microcontroller's timer peripherals.
| IR carrier frequency | 36 kHz, 38 kHz or 40 kHz |
|---|---|
| RC5 bit length | 1.778 ms |
| RC5 message time | 23.644 ms to 26.133 ms |
| RC5 idle time | 50 bits wide |
Integrated IR receiver/demodulator modules like the TSOP1736 (5 V supply version) or TSOP34836 (3.3 V supply version) are recommended.
Example software implementations are provided for RC5 and SIRC protocols, with other protocols available upon request.