Miniature photoelectric sensor with background suppression, suitable for proximity detection in industrial settings.