Infrared receiving diodes only work on specific wavelengths of infrared. As long as the emitted spectrum contains the wavelength frequency it targets, it can be sensed. But the magnitude of the induced output depends on the intensity of the contained spectrum.
Usually what is sold now is an integrated infrared receiver (different from the 2-pin infrared receiver tube), which is usually 3-pin, with a processing chip integrated inside, and is only sensitive to 38kHz/40kHz infrared remote control. , output the shaped baseband modulation.
Therefore, if it is photosensitive, you can consider photodiodes or photoresistors. If it is a remote control, with an integrated receiver, the distance can definitely exceed 3m. For hardware, you usually go to Hardware City, where they are more professional, and professional problems are solved professionally. This is the fastest and best way, which is better than messing around on your own, because there are too many electronic models of electronic components and you can accidentally do it. Mistakes can happen, so it’s better to find a professional to help you figure it out.