This project implements a simple repeater to extend the signal of IR remote control.
Typical IR receiver module output looks like this:
The implentation presented here does not decode the IR signal but simply repeats it. Typical IR receiver module will demodulate the signal sent over 38 kHz carrier frequency as illustrated by the figure above. The signal must be reconstructed, including the carrier frequency.
STM32F030 microcontroller is used to receive the data from the IR receiver module and to reconstruct the output signal to the IR LED.
Data pin from IR receiver is connected to pin PA_4 of the microcontroller. IR LED is driven with 3.3V by pin PB_1. 100 Ohm resistor is used as current limiting resistor. The LED does not need to be bright since it will be located right besides the remote controlled device.
The source code for the microcontroller is available here. It is written by using Mbed OS and PlatformIO as build environment.
Here is whay the finished product looks like:
- STM32F030F4P6 development board (from Aliexpress)
- TL1838 Infrared Receiver (datasheet)
- IR LED from an old remote control
- Project box and cables (one 3 core and one 2 core cable)