下载
February 2012 Doc ID 17249 Rev 2 1/34
AN3174
Application note
Implementing receivers for infrared remote control protocols
using STM32F10xxx microcontrollers
Introduction
Infrared radiation is the region of the electromagnetic spectrum which lies between
microwaves and visible light.
Infrared radiation has two ranges. Near infrared light is closest in wavelength to visible light
and far infrared is closer to the microwave region of the electromagnetic spectrum.
The shorter waves are the ones used by remote controls. Information is transmitted and
received using electromagnetic energy, without using wires.
Infrared technology offers important advantages as a form of wireless communication.
Nowadays, almost all audio and video equipment can be controlled using an infrared remote
control. At the receiving end, a receiver detects the light pulses, which are processed to
retrieve/decode the information they contain.
There are many popular infrared protocols used to transmit data via infrared light, such as
RC5, SIRC, ...
The purpose of this application note is to provide a generic solution for implementing an IR
receiver in software using a STM32F10xxx microcontroller. Example of software
implementation is provided for RC5 and SIRC protocols, other protocols are supported and
available upon request (for further information contact your local STMicroelectronics sales
office).
www.st.com