Using this board, you can control your TV, air conditioner, or any IR-based device directly from your smartphone, from anywhere in the world.
This project allows you to control any device that uses an IR remote, not just TVs and ACs.
If you have multiple IR remote-based devices, this project is perfect for you. Now you can replace all the remotes in your house with your smartphone.
To complete this project, I am using the KME Smart IoT Cloud, which is free and very easy to configure. If you want to learn more about KME Smart IoT Cloud, it offers many useful features for users
Components Required.
To make this project, you will require an ESP32 board, an IR receiver, an IR transmitter, and a WiFi indicator LED. Connect all these components according to the connection diagram provided.
To make the project small and compact, I designed a custom PCB for it.
Firmware Configuration.
Open the KMEsmart.com website. Once on the website, click on the “Installation” option. This page contains all the information about installation, including how to pair in different modes, push-button pairing, pairing through Smart Connect, and pairing through Access Point.https://www.kmesmart.com/
Scroll down to find the KME tool for flashing the firmware onto the ESP32. Click the button to download the KME Tool for firmware flashing. After downloading, open the file and extract the compressed .zip file.
Open the extracted folder to find the KME config application. Launch the KME Application to flash firmware onto the ESP32 using this tool. In the top right corner, click on the three-dash icon.
Connect the ESP32 to your computer. From the application, select the COM port to which your ESP32 is connected, then click the “Connect” button.
Click on “Upload Firmware.” The KME Tool will automatically detect the connected ESP boards and upload the firmware—simple and easy.
Once the firmware is successfully uploaded and ready for configuration, click on the plus icon button in the top right corner.
From here, you can add the devices you want. Options include DHT Sensor, Contact, Relays, RGB, Dimmer, Remote, IR Hub, WiFi LED, and pairing button. There’s also an option for an analog sensor and a fan and serial sensor.
In this Project we only require the IR Hub option and the WiFi LED option. Configure these one by one. Click to change the name of the device; you can name it whatever you like. I’ll name it Universal IR Remote.
Next, select the transmitter and receiver pins. I have connected the IR transmitter LED to pin 18 and the receiver to GPIO 15. Select these pins according to your hardware setup.
Select the pin output for the WiFi LED; I have connected the WiFi LED to pin 5. Choose the behavior for the WiFi LED—whether it should be on when WiFi is connected or on when WiFi is not connected. I am selecting “ON when WiFi is connected.”
After configuring everything, save the device configuration file. Click the upload button to upload the firmware.
Uploading Done!
Now that you have successfully configured the devices and uploaded the firmware, let’s move on to configuring the smartphone app and pairing the device with the app.
Smart-Phone App Configuration and Pairing.
Download the KME Smart App on your phone. This app is available for both Android and iOS.
Once you’ve downloaded the KME Smart App, open it. If you’re using it for the first time, you’ll need to sign up. Since I’ve already signed up, I’ll skip this step.
Next, click on the plus icon in the top right corner and tap on “Add devices.” Here, enter the SSID and password of your router or hotspot, ensuring that it is a 2.4GHz network
In my case, the WiFi credentials are already filled in because I saved them during testing. After entering your WiFi credentials, tap “Connect.” You’ll then be asked...
Read more »
It will work for a short time but without current limiter leds ans their associated ports will burn.