I have encountered a problem I am using a board ESP 32 and connected to it KY-005 I wrote a code to turn off the TV and nothing works for me I'm not sure that the address is correct because there is no signal receiver and I can't find out the address from the remote control, and the module KY-005 It doesn't even light up on the camera, what should I do?Library IRremote
Why not buy an IR receiver and run the receive demo to find out exactly what code your remote sends?
If you don't use the KY-005, but instead connect a normal (visible light) LED with a series resistor, e.g. 220 ohms, and remove the delay(2000) does that LED light up? If it lights up then that will verify that irsend is doing something on the correct pin.
Makes me wonder what's the purpose of this "module"..
It doesn't have transistor driver and in this case not even resistor, so.. just IR LED and empty pcb.