STMicroelectronics AN4099 Infrared Remote Control Application Note

This application note provides a generic solution for implementing an IR transmitter (a remote control device) and receiver in software using a STM32F0xx microcontroller.


STMicroelectronics AN4099 Infrared Remote Control Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
36
File format
PDF
File size
512 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
C4301B3251C0CADA5F35726D81B0AA45

About this manual

This document provides a generic solution for implementing infrared (IR) transmitters and receivers in software using STM32F0xx microcontrollers. It covers two popular protocols: RC5 and SIRC. The note details the hardware configuration required, specifically utilizing the IRTIM interface and timers TIM16 and TIM17 on the microcontroller.

What's inside

  • Infrared protocol specification
  • RC5 protocol basics
  • SIRC protocol basics
  • Infrared transmitter hardware
  • RC5 encoder solution
  • SIRC encoder solution
  • Infrared receiver implementation
  • RC5 frame decoding
  • SIRC library usage
  • Interface layer and demonstration programs

Specifications

RC5 Carrier Frequency36 kHz
RC5 Bit Length1.778 ms
SIRC Carrier Frequency40 kHz
SIRC Word Length12-bit
SIRC Start Burst Width2.4 ms
Required TimersTIM16 and TIM17

Frequently asked questions

Which protocols are supported in this application note?

The document provides software implementation examples for RC5 and SIRC protocols.

What microcontroller series is used for the implementation?

The solutions are implemented using STM32F0xx microcontrollers.

Which timers are used for the IR transmitter interface?

TIM17 provides the carrier frequency and TIM16 provides the main signal.

Download PDF (512 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →