← Back to ideas

Redson Dev · Idea

ArduinoIntermediateAges 18+A weekend

Universal Remote Control for Older Appliances with Infrared

Published June 13, 2026

This project enables developers to build a custom universal remote control, bringing modern programmability to older, non-smart appliances that still rely on infrared (IR) signals. Imagine a small clinic wanting to control multiple legacy air conditioning units or projectors from a single, custom interface, or a hobby workshop integrating diverse tools into a synchronized workflow. It decodes existing remote signals and then retransmits them, offering a unified control point.

What you'll need

  • Arduino Uno R3 or compatible board
  • IR receiver module (e.g., VS1838B)
  • IR transmitter LED (5mm, 940nm)
  • 220-ohm resistor
  • Jumper wires
  • Breadboard
  • USB A-B cable (for Arduino)

Step-by-step

  1. 01

    Hardware Setup: IR Receiver

    Connect the IR receiver module: typically, its VCC pin to Arduino 5V, GND pin to Arduino GND, and the signal pin to Arduino Digital Pin 11. Ensure proper polarity as misconnections can damage the module.

  2. 02

    Hardware Setup: IR Transmitter

    Connect the IR transmitter LED: the longer leg (anode) of the IR LED through the 220-ohm resistor to Arduino Digital Pin 3. The shorter leg (cathode) connects directly to Arduino GND. This resistor limits current to protect the LED.

  3. 03

    Install Libraries and Code Sketch

    Open the Arduino IDE. Go to Sketch > Include Library > Manage Libraries... Search for and install 'IRremote' by shirriff. Then, upload the 'IRrecvDumpV2' example sketch (File > Examples > IRremote > IRrecvDumpV2) to your Arduino board. This sketch will help you decode signals.

  4. 04

    Capture IR Signals

    Open the Arduino Serial Monitor (set baud rate to 115200). Point an existing remote control at your IR receiver module and press a button. The Serial Monitor will display decoded IR codes (e.g., hexadecimal values). Note down the codes for each function you want to replicate.

  5. 05

    Transmit Stored IR Signals

    Modify the 'IRsendDemo' example sketch (File > Examples > IRremote > IRsendDemo). Replace the example IR codes within the sketch with the codes you captured in the previous step. Upload this modified sketch to your Arduino. The Arduino will now transmit these codes via the IR LED when programmed to do so.

  6. 06

    Test and Refine

    Point the IR transmitter LED at an appliance (e.g., an old fan, a TV, an AC unit) and trigger the transmission from your Arduino. Verify that the appliance responds as expected. You can add more functionality in your code, such as button inputs or serial commands to trigger different IR transmissions.

Tips

  • Ensure your IR LED is pointed directly at the appliance's IR receiver for reliable communication.
  • Different IR protocols exist; the 'IRremote' library supports many common ones. If a code isn't recognized, try adjusting the protocol type in your receiving sketch if necessary.
#infrared-control#arduino-project#universal-remote#electronics-diy#legacy-tech