Highly reliable small photoelectric proximity sensor with infrared LED light and adjustable switching threshold for background suppression.