What is the difference between a proximity switch and a photoelectric sensor?

The magnetic core inside the proximity switch passes through the metal to change the internal oscillation circuit and output a signal. Suitable for detecting metal objects with relatively close distances.
The photoelectric switch is a receiving end that emits a light beam to the surface of the object, and then bounces and switches. The receiving end receives the optical signal and then converts it into an electrical signal to form an output. Suitable for detecting objects that are far away.
Shenwu Sensor Co., Ltd. specializes in producing photoelectric sensors and capacitive proximity sensors, and combines foreign technology to provide customers with cost-effective products.
Photoelectric sensors are based on photodiodes, which generate current under illumination. Of course, many types of photoelectric sensors are distributed according to the spectrum, according to the output method, according to the control method, according to the function and so on.
Proximity switches are sensors that are inductively accessible and have different implementation principles, such as capacitive, inductive, pressure-sensitive, infrared-inductive, and so on.
At present, the proximity switches used on mobile phones use infrared, and many of them are magnetically induced in the industry.