Hello everyone. It is not always possible to conduct wiring to the lamp and equip it with a full-fledged switch. Here comes to the rescue electronics.
The scheme is simple
Turning on appliances using the remote control. Here, the infrared signal serves as a mediator between the photodetector and emitter, which controls the circuit for switching on a specific load. This is a popular device today, very convenient to use, especially for the Lazy. One of these devices I bring to your attention. The core of this scheme is a decimal counter with a CD4017 decoder. The infrared signal is received by a TSOP1738 photodetector operating at a frequency of 38 kHz.
The relay here I applied 5 volts. The device works from any remote control. Sunlight does not interfere .. covered the board with a shoe box .. the relay also works but not so clearly.
A properly assembled device does not need to be set up and starts working immediately. Power supply 5 is necessarily stabilized. The relay can withstand a load of 10 amperes.
Thank you all for your attention.