Close
0%
0%

Universal Remote Control

This remote controller uses the gen4-uLCD-35DCT (125-8025) as the main interface for sending IR commands.

Similar projects worth following
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 (125-8025) 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. The Graphical User Interface of this project is done with the Visi Genie Environment of Workshop 4 IDE. The commands to be sent to the infrared controlled devices were coded in Arduino IDE.



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


Components: 

  • Additional Relay

    4D Makers01/04/2018 at 06:42 0 comments

    • 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

View project log

  • 1
    Build

    Build the circuit as shown in the diagram.

  • 2
    Program

    Download the project file here.

    • Copy the IRremote folder to the Arduino IDE’s library folde
    • 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. 
    • Click on the “Compile” button.
    • 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.
    • 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.
    • 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:

    View all instructions

    Enjoy this project?

    Share

    Discussions

    Similar Projects

    Does this project spark your interest?

    Become a member to follow this project and never miss any updates