Core Definition Scope
Sensor: It is a broad general term for all devices that can detect physical or chemical changes in the environment and convert them into readable electrical signals. Its detection targets cover temperature, pressure, light, sound, magnetic fields, and many other physical quantities, not limited to the presence or distance of objects.
Proximity Switch: It is a specific subset of switch-type non-contact sensors. Its core function is only to output a discrete on/off signal when a target object approaches to a preset distance, without the ability to output continuous analog measurement data.

Working Principle Differences
General Sensors: They adopt diversified working mechanisms according to different detection targets. For example, temperature sensors rely on thermal resistance changes, pressure sensors use strain gauge deformation, and photoelectric sensors convert optical signals into electrical signals.
Proximity Switches: They are dedicated to non-contact object proximity detection, and common implementation principles include eddy current inductive type, capacitive type, magnetic Hall type, and reed switch type. They do not need to make physical contact with the detected object to trigger the switching action.
Output & Application Scenarios
General Sensors: Most of them can output continuous analog signals or digital data with variable values, which can be used for precise measurement tasks such as distance value reading, temperature value monitoring, and pressure data collection.
Proximity Switches: They only output binary switch signals (on or off), and are mostly used in industrial automation scenarios such as stroke limit, object counting, positioning control, and automatic door trigger. They have the advantages of high response frequency, long service life and strong anti-interference ability.