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
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Components
This project does not demand much material. You will need
- Jumper Wires
- Micro USB Cable
- VS1838B IR Photoreceptor / Receiver
Infrared Emitter Led (IR) 5mm 940nm
And of course the remotes you want to clone
Step 2: Wiring It Up
Step 3: Coding: Setting Things Up
here we basically configured the WiFi network and the serial speed rate to 115200 baud
Step 4: Coding: the Loop
Step 5: Coding: Web Socket
Step 6: Coding Web Client
Step 7: 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