Maps keyboard keys and media controls to any IR remote with an Arduino receiver. I made it to watch YT on my monitor in bed.
The Arduino acts as a USB keyboard, so once the keys are mapped it will work plug and play with any computer.
- Arduino Pro Micro
- KY-022 infrared sensor
Here is my prototype that I use. Made with a perfboard.
The software allows you to map any IR signal to a combination of keys and media controls. It automatically connects to the Arduino and supports up to 8 combinations.
If you have the device plugged into your computer it should automatically connect. Press keys on the on screen keyboard and then push a button on an IR remote. If you want to add this mapping to your device press Add. If the remote hex code is already in the mappings, it will replace the old entry. Once you have all the mappings you need, press Map to upload them to the device.
NOTE: If you want to clear the device simply press Map when there are no mappings set. This will remove all previous settings. Also if the Arduino Micro has never been mapped before, pressing Map will upload the code so the device can read the IR input.
To run the software you must have Python installed and the packages pyqt6 and pyserial. Also install the Arduino CLI.


