Project tutorial
Universal Remote Control

Universal Remote Control

The Universal Infrared (IR) Remote Controller can control any appliance that uses IR communication for remote operation.

  • 2,673 views
  • 0 comments
  • 6 respects

Components and supplies

35d anfbnlq2qa
4D Systems gen4-uLCD-35DT
or gen4-35-uLCD-35DCT-CLB
×1
Gen4 pa 2l8sq6errs
4D Systems gen4-PA
and 30 way FFC cable
×1
uSD Card
×1
uUSB cable
×1
A000053 iso both1
Arduino Micro & Genuino Micro
×1
KY-005 IR Transmitter Module
×1
11026 02
Jumper wires (generic)
×1
Power Supply
×1

Apps and online services

About this project

The Universal Infrared (IR) Remote Controller can control any appliance that uses IR communication for remote operation. This remote controller uses the gen4-uLCD-35DCT as the main interface for sending IR commands. This project is highly customizable for use on any appliance as long as it uses IR control

How it Works

Components

  • gen4-uLCD-35DCT-CLB
  • gen4-PA and FFC Cable
  • uSD Card
  • uUSB Cable
  • Jumper Wires
  • 5 V power supply
  • Arduino Pro Micro 5V 16 MHz
  • KY-005 IR Transmitter Module

Implementation

Step 1: Build

Build the circuit as shown in the diagram.

Step 2: Program

  • Copy the IRremote folder to the Arduino IDE’s library folder
  • Open the project code for the Arduino microcontroller using the Arduino IDE.
  • If the desired remote controller is using an unknown transmission protocol, you may also add their raw IR code that can be derived by using the IRrecvDemo example provided by the IRremote library and use any IR receiver module for decoding their raw commands.
  • In order for the Arduino program to compile properly with the provided raw IR commands, data can be written directly to the flash memory upon compilation as shown below.
  • In order to utilize the raw codes for transmission, the following must be done to read the raw code stored in the flash memory. Additional case statements can also be added for more command interface.
  • Some appliances may require multiple consecutive command transmission, this can be done by just resending the same code commands multiple times as shown below.
  • Open the project code for the display using the Workshop 4 IDE. This project uses the Visi-Genie Environment.
  • You can modify the properties of the objects and form using the object inspector.
  • The universal remote control can control even more appliances by adding more button(s) to add more functionality. Use the widget ribbon to add the type of button(s) you need.
  • In order to use the added button with the host (Arduino Uno), make sure to change the Event Handler under events of the object into “Report Message” or another “Magic Event” depending on its usage.

Step 3: Compile

  • Click on the “Compile” button.

Note: This step could be skipped. However, compiling is essential for debugging purposes.

Step 4: Comms Port

  • Connect the display to the PC. Make sure that you are connected to the right port. Red Button indicates that the device is not connected, Blue Button indicates that the device is connected to the right port.

Step 5: Compile and Upload

  • Go back to “Home” tab. This time, click on the “(Build) Copy/Load” button.
  • Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.

Step6: Mount uSD Card

  • When the micro SD card is not yet inserted, this message will appear on your gen4 Display: "DRIVE NOT MOUNTED..."
  • After inserting your micro SD card this GUI should appear on the gen4 Display:

Demonstration

  • The IR controlled outlet can also be customized by adding more relays
  • The command codes for each relay can also be customized through the following lines of code
  • The additional relays can be added to the circuit for the IR controlled circuit

Code

Codes and Hardware.zipArduino
No preview (download only).

Schematics

Uremote
Urc gz1qab2asr

Comments

Similar projects you might like

Control Your Computer With A Remote Control

Project tutorial by Arduino_Scuola

  • 6,208 views
  • 1 comment
  • 8 respects

Servo Control with TV Remote Control

Project showcase by eldo85

  • 7,134 views
  • 5 comments
  • 22 respects

Control an LED with the Remote Control

Project showcase by Nicholas_N

  • 4,623 views
  • 2 comments
  • 12 respects

Universal Remote Control using Arduino, 1Sheeld and Android

Project tutorial by Ashraf Nabil

  • 8,365 views
  • 5 comments
  • 12 respects

Universal Remote Control

Project tutorial by Ashraf Nabil

  • 3,488 views
  • 0 comments
  • 12 respects
Add projectSign up / Login