Creating an Universal Remote With NodeMCU
by diegomenezes in Circuits > Wireless
1984 Views, 3 Favorites, 0 Comments
Creating an Universal Remote With NodeMCU
In this project, we will build a universal remote control capable of cloning and send infrared signals. A web interface will be used to control all this process.
A NodeMCU in conjunction with an infrared photoreceptor will be responsible to clone the remote control keys. It will use the RAW method for that. An IR LED will send the cloned code to the devices.
The project was created by:
- Rodrigo Andrades
- Diego M. G. Vieira
Components
This project does not demand much material. You will need
- NodeMCU
- Breadboard
- Jumper Wires
- Micro USB Cable
- VS1838B IR Photoreceptor / Receiver
Infrared Emitter Led (IR) 5mm 940nm
And of course the remotes you want to clone
Wiring It Up
Above is the wiring layout for this project:
After completing the connections. It is time to install the Arduino IDE and import it into the IRremoteESP 8266 library.
Load the code in the NodeMCU and see if it is working
you can find the complete code here: Github : IR Control
Coding: Setting Things Up
here we basically configured the WiFi network and the serial speed rate to 115200 baud
Coding: the Loop
Coding: Web Socket
Coding Web Client
Using the Project
With the application running you can now go your browser and switch between the send and receive modes. When the app is in receive mode, it can capture the key code and attach it to an action. To dispatch an action switch back to "send mode" and click into the desired action