Very simple Infrared Receiver Control with Arduino UNO and ky022 using IRRemote.h (2021 library). It should work with any standard appliance remote control. I am using the one that came in a LAFVIN Arduino Kit on Amazon. The value contains the code of the key pressed. Edit the if statements so you can control anything.
Made with π₯ by aoxilus
CC BY-NC-SA 4.0 β Attribution-NonCommercial-ShareAlike. See LICENSE.