This project shows how to build an infrared remote control (IR RC) converter that allows emulating an IR remote control (emulated IR RC) using a different one (physical IR RC). The basic principle is the following: IR codes sent by the physical IR RC are intercepted by an IR receiver, translated into the physical IR RC corresponding codes and sent through an IR transmitter. The translation table that maps the physical to emulated IR RC codes is permanently stored in the microcontroller’s internal EEPROM; it can be easily (re)initialized by putting the system in setup mode (hardware interrupt generated by a button press).
Difficulty level: advanced.
- 1 x Arduino Uno R3;
- 1 x Keyes Infrared Receiver module;
- 1 x Keyes Infrared Transmitter module;
- 1 x BC547 transistor;
- 1 x 220 ohm resistor;
- Breadboard + wires.
Notes
- The code below has been tested for IR RC conversions between NEC, JVC and Samsung IR RCs. Other conversions might be possible by uncommenting the corresponding lines in the switch instruction (loop function).
- The translation table that maps the physical to emulated IR RC codes is permanently stored in the microcontroller’s internal EEPROM; it can be easily (re)initialized by putting the system in setup mode (hardware interrupt generated by a button press). During the normal operation it is loaded into the SRAM memory for faster access.
- /src/ir_remote_control_converter.ino: to be uploaded to Arduino
Youtube link: Infrared Remote Control Converter (Arduino Uno)
-
Libraries:
- Arduino-IRremote: https://github.com/z3t0/Arduino-IRremote
- EEPROM library (included with the Arduino IDE)
-
References:
- Keyes Infrared Transmitter Module datasheet: http://tinkbox.ph/sites/tinkbox.ph/files/downloads/Keyes%20-%20Infrared%20Transmitter%20Module.pdf
- Keyes Infrared Receiver Module datasheet: http://tinkbox.ph/sites/tinkbox.ph/files/downloads/Keyes%20-%20Infrared%20Receiver%20Module%20.pdf