Compact, high-accuracy miniature photoelectric sensor with diffuse proximity method, suitable for various industrial applications.