← All Articles|Pressure Measurement

Pressure Switch Types & Working Principle: Mechanical vs Electronic vs Digital (2026)

By SIBXSUN Editorial·

Last Updated: 2026-10-30

Quick Answer: Which Type of Pressure Switch Do You Need?

A pressure switch is a device that opens or closes an electrical contact when fluid pressure reaches a preset value (the setpoint). There are three types in industrial use today:

  • Mechanical pressure switch – pressure moves a diaphragm, bellows or piston against a spring and trips a snap-action micro switch. No power supply needed. Best for compressors, water pumps, hydraulic power units and anywhere a rugged, low-cost on/off signal is enough.
  • Electronic pressure switch – a piezoresistive or ceramic sensor measures pressure continuously; an electronic comparator drives a relay or transistor output. Setpoint and deadband are set by buttons, with a display. Best when you need accuracy, repeatability and easy adjustment.
  • Digital pressure switch – an electronic switch with a programmable display, usually two independent switching outputs (NPN/PNP) and a 4-20 mA analog output on the same unit. Best when one device must protect the machine and feed data to a PLC.
Criterion Mechanical Electronic Digital (with analog output)
Sensing element Diaphragm / bellows / piston + spring Piezoresistive or ceramic sensor Piezoresistive or ceramic sensor
Power supply None (contacts only) 12-30 V DC 12-30 V DC, 24 V recommended
Setpoint adjustment Screw / dial Push buttons, on display Push buttons, menu
Repeatability ±1-2 % FS typical ±0.5 % FS control, ±0.1 % FS display 0.2 % or 0.5 % FS
Deadband (hysteresis) Fixed or screw-adjustable Programmable Programmable per output
Outputs SPDT (NO/NC) contacts 1 relay or transistor 2 switching outputs (NPN/PNP) + 4-20 mA
Switching capacity Up to several amps at 230 V AC Usually below 1-3 A ≤12 V 1.2 A (transistor type)
Display None 4-digit LED LCD/LED, menu-driven
Typical range 0.1-60 bar, model-specific Model-specific -100 kPa to +60 MPa compound
Representative SIBXSUN model YLK20 mechanical pressure switch YLK35 electronic pressure switch YLK6710 digital pressure switch

If you need a continuous pressure reading rather than an on/off signal, you are looking for a pressure transmitter, not a switch; the section on pressure switch vs pressure transmitter below explains where the line is.

Pressure Switch Working Principle

All three types do the same job: compare the process pressure with a setpoint and change the state of an output. What differs is how the comparison is made.

Mechanical pressure switch

A mechanical switch is a force balance. Process pressure P acts on a sensing element of effective area A, producing a force F = P × A. That force is opposed by a range spring with preload set by the adjustment screw. When P × A exceeds the spring force, the element moves a few tenths of a millimetre and actuates a snap-action micro switch.

Three sensing elements cover the industrial range:

Element Pressure range Characteristics
Diaphragm (elastomer or stainless) Vacuum to ~25 bar Large area, sensitive at low pressure, good for air, water, HVAC
Bellows (brass or stainless) ~0.5 to 60 bar Long stroke, good repeatability, common on compressors and boilers
Piston with O-ring seal 10 to 600+ bar Small area for high pressure, hydraulics; higher friction, wider deadband

Because the micro switch is a snap-action device, it has an inherent travel between trip and reset. That travel, multiplied back through the spring rate, is the mechanical deadband. On basic models it is fixed by the design; on adjustable-differential models a second screw changes the reset point.

Mechanical switches need no power. The contacts are the output, and they can switch line voltage directly, which is why a 230 V AC water pump or a compressor motor contactor can be controlled by a mechanical switch with nothing else in the circuit.

Electronic pressure switch

An electronic pressure switch replaces the spring with a sensor and a circuit:

  1. A piezoresistive silicon or thick-film ceramic sensor produces a millivolt signal proportional to pressure.
  2. An amplifier and ADC convert it to a digital value, which is shown on the display.
  3. A microcontroller compares the value with the programmed setpoint and reset point.
  4. When the setpoint is crossed, a relay or a solid-state transistor output changes state.

Because the comparison is numerical, the switch point does not drift with spring fatigue, and the deadband can be set to a small fraction of the range. The YLK35 electronic pressure switch is a typical example: a 4-digit LED display reading to ±0.1 % FS, with the control point held to ≤±0.5 % FS. The trade-off is that the unit needs a DC supply and the output contact rating is lower than a mechanical switch.

Digital pressure switch with 4-20 mA output

A digital pressure switch is the same architecture with more outputs and a menu. The practical difference for a buyer is that a single device can do three jobs:

  • Output 1 – e.g. low-pressure alarm, PNP, normally closed.
  • Output 2 – e.g. high-pressure trip, NPN, normally open.
  • 4-20 mA – the measured pressure for the PLC or data logger.

The YLK6710 digital pressure switch supplied by SIBXSUN covers a compound range of -100 kPa to +60 MPa in a single family, with 0.2 % or 0.5 % accuracy, two switching outputs selectable NPN or PNP, a 4-20 mA output, 12-30 V DC supply (24 V recommended), IP65 housing and an operating temperature of -25 to +80 °C. The transistor outputs are rated ≤12 V 1.2 A, so they drive PLC inputs and small relays directly but need an interposing relay for a motor contactor.

Key Terms: Setpoint, Deadband, Reset Point and Switching Capacity

Pressure switch datasheets use a short vocabulary that decides whether the switch will work in your circuit.

Term Definition Why it matters
Setpoint (trip point) Pressure at which the output changes state on rising (or falling) pressure Must sit in the middle part of the adjustable range for best repeatability
Reset point Pressure at which the output returns to its normal state Determines when a pump restarts or an alarm clears
Deadband / hysteresis / differential Setpoint minus reset point Prevents contact chatter; too wide wastes energy, too narrow causes cycling
Adjustable range Span over which the setpoint can be set Choose so setpoint is 25-75 % of range
Proof pressure (overload) Maximum pressure without permanent shift Should be ≥1.5-2× maximum system pressure
Burst pressure Pressure at which the element ruptures Safety margin, not an operating figure
Repeatability Scatter of the trip point over repeated cycles ±1-2 % FS mechanical, ≤±0.5 % FS electronic
Switching capacity Maximum voltage and current the contacts can handle Resistive vs inductive load ratings differ
NO / NC / SPDT Normally open / normally closed / single pole double throw (both) Defines fail-safe behaviour
NPN / PNP Transistor output sinking (NPN) or sourcing (PNP) current Must match the PLC input card

Deadband explained with a compressor

Take an air compressor pressure switch set to cut out at 8 bar with a 2 bar differential:

Pressure rising:   6 → 7 → 8 bar  → contacts OPEN, motor stops
Pressure falling:  8 → 7 → 6 bar  → contacts CLOSE, motor restarts
Deadband = 8 − 6 = 2 bar

If the differential were 0.2 bar, the compressor would start and stop every few seconds under a steady air draw, overheating the motor. If it were 4 bar, the tank would drop to 4 bar before the motor restarted, starving the tools. The deadband is a control decision, not a nuisance figure.

On a digital switch you set the deadband numerically for each output. Output 1 can have a 0.1 bar window for a tight alarm, while output 2 has a 1.5 bar window for pump control, on the same instrument.

Fail-safe wiring: NO or NC?

For protective functions, wire the switch so that a broken wire or a lost supply produces the safe action. A low-oil-pressure shutdown on an engine uses a contact that is closed when pressure is healthy and opens on low pressure; if the cable is cut, the engine trips, which is the safe failure. The SPDT contact on a mechanical switch gives you both NO and NC at once, so the choice can be made at the terminals.

Types of Pressure Switch by Application

Beyond the three construction types, switches are specified by what they measure and where they sit.

Application Typical switch Range and notes
Air compressor pressure switch Mechanical, bellows or diaphragm, SPDT, adjustable differential 4-16 bar; often with unloader valve and motor-rated contacts
Water pump pressure switch (booster, borehole) Mechanical diaphragm, 1-6 bar cut-in/cut-out Classic 1.4/2.8 bar (20/40 psi) or 2.1/3.4 bar (30/50 psi) settings
Hydraulic pressure switch Piston type mechanical, or electronic with stainless sensor 50-400 bar; watch deadband on piston types (often 10-20 % of range)
Differential pressure switch (HVAC, filters) Diaphragm with two ports, measures P1 − P2 20 Pa to 5 kPa for air filters and fan proving; 0.2-10 bar for liquid filters
Vacuum pressure switch Diaphragm, range starting at -100 kPa Vacuum packaging, suction grippers, condensers
Steam boiler pressure switch Bellows mechanical with siphon tube, or electronic with cooling element 0.5-30 bar; the pigtail siphon keeps steam off the element
Machine tool / pneumatic pressure switch Digital, PNP/NPN, 4-20 mA -100 kPa to 1 MPa; two outputs for low-air alarm and clamp confirmation
Process plant trip and alarm Electronic or digital, IP65+, 316L wetted Up to 60 MPa; often duplicated with a transmitter

A differential pressure switch deserves a note because it is frequently mis-specified. It has two pressure ports and trips on the difference. In an HVAC air-handling unit it proves airflow across a fan or signals a clogged filter at perhaps 250 Pa. The absolute pressure in the duct is irrelevant; only the drop across the filter counts. If you need the actual duct or line pressure, use a gauge or absolute switch instead; the distinction between the three reference types is covered in our guide to gauge vs absolute vs differential pressure.

How to Select a Pressure Switch: 6 Checks

  1. Range and setpoint position. List the normal operating pressure, the trip pressure and the maximum pressure including surges. Choose an adjustable range that puts the setpoint between 25 % and 75 % of full scale. Choose a proof pressure at least 1.5× (electronic) to 2× (mechanical, water hammer) the maximum system pressure. A switch set at 2 % of its range will have poor repeatability; one set at 95 % will be damaged by the first spike.

  2. Reference type: gauge, absolute, vacuum or differential. Most switches are gauge-referenced to atmosphere. Vacuum work needs a negative or compound range. Filter and flow-proving jobs need a differential switch with two ports.

  3. Media and wetted materials. Brass and NBR diaphragms are fine for air, water and light oils. Stainless steel 316L and FKM or PTFE seals are needed for chemicals, seawater and fuels. Steam needs a siphon tube or an electronic switch with a cooling element rated for the temperature. Oxygen service needs oil-free cleaning.

  4. Output type and load. Decide whether the switch will drive a line-voltage load (mechanical SPDT contacts rated for the motor or contactor current), a PLC digital input (NPN or PNP transistor, matching the input card), or both the PLC and a 4-20 mA analog input (digital switch). Check inductive load derating; a contactor coil is an inductive load and may need a snubber.

  5. Deadband requirement. For pump and compressor control you want a wide, often adjustable, differential. For alarms and interlocks you want a narrow one. If the process requires anything under about 2 % of range, specify an electronic or digital switch.

  6. Environment and certification. IP65 is standard for machine mounting; IP67 or IP68 for washdown and outdoor. Hazardous areas require Ex d or Ex ia certified switches. Check that the certificate number, range and ambient limits on the nameplate match the drawing; a reseller’s brochure claiming CE and ATEX for the whole family does not guarantee that a specific range and output option is covered.

Buyers who know the pressure range in one unit and have the datasheet in another can use our pressure unit conversion guide with PSI, bar, kPa and feet of head to avoid ordering a 60 bar switch for a 600 psi line.

Pressure Switch vs Pressure Transmitter: When You Need a Continuous Signal

A switch tells you whether pressure is above or below a line. A transmitter tells you what the pressure is. The difference affects the control system, the cost and the diagnostics.

Pressure switch Pressure transmitter
Output On/off contact or transistor Continuous 4-20 mA, 0-10 V, RS485, HART
Information 1 bit per setpoint Full-range value, trend, rate of change
Setpoint change At the device In the PLC or DCS software
Diagnostics Only when it trips Drift, leaks, blockages visible before trip
Wiring 2-3 wires, can switch load directly 2-wire loop or 3-4 wires to an analog input
Typical accuracy ±0.5-2 % FS (trip repeatability) ±0.1-0.5 % FS
Cost Lower device cost, no analog input card needed Higher device cost, needs an analog channel

Choose a switch when the control logic is genuinely binary and no one will ever ask for the trend: a booster pump, a compressor, a filter alarm, an interlock that must work even if the PLC is dead.

Choose a transmitter when you need PID control, inventory data, predictive maintenance, remote monitoring, or more than two setpoints. A YL805 industrial pressure transmitter covering -100 kPa to 70 MPa with ±0.5 % FS accuracy and 0-5 V, 0-10 V, 4-20 mA or RS485 output costs little more than a good electronic switch, and the PLC can derive as many setpoints as it likes from the signal. Where a local reading and HART diagnostics are wanted at the same point, the YL0500 pressure transmitter with on-site display offers ±0.1 %, ±0.25 % or ±0.5 % FS in gauge, absolute or sealed-gauge form.

Choose a digital switch with 4-20 mA when you want both in one tapping point: the two transistor outputs give hard-wired protection that does not depend on the PLC scan, while the analog output feeds the HMI. This is the most common choice on packaged machines today, because it saves a second process connection.

The vocabulary around transducers, sensors and transmitters is confusing enough that we wrote a separate article on the difference between a pressure sensor and a pressure transmitter, and the full range of pressure transmitter types is covered in its own guide.

Wiring and Troubleshooting

Wiring basics

  • Mechanical SPDT: three terminals, Common, NO and NC. Wire the load between Common and whichever contact gives the fail-safe action. Observe the contact rating for AC vs DC and resistive vs inductive loads; a 10 A AC rating may be 0.5 A at 24 V DC inductive.
  • Electronic / digital, PNP: supply +V and 0 V; the output sources current from +V to the load when active. Connect the load between the output and 0 V. This is the standard for most European and Chinese PLC input cards.
  • Electronic / digital, NPN: the output sinks current to 0 V. Connect the load between +V and the output. Common on Japanese PLCs and some sensor interfaces. On a switch like the YLK6710 the polarity is selectable in the menu, so a wrong order is recoverable.
  • 4-20 mA output: connect to the analog input with the loop return to 0 V; keep the loop resistance within the switch’s drive capability (typically ≤500 Ω at 24 V).
  • Use shielded cable for runs over 10 m near motor drives, grounded at the control panel end only.

Common faults

Symptom Likely cause Fix
Contacts chatter at the setpoint Deadband too narrow, pulsating pressure Widen differential; add a snubber or restrictor in the impulse line
Switch trips but pressure gauge shows normal Pressure spikes faster than gauge responds; water hammer Fit a pulsation damper; check pump check valves; raise proof pressure
Setpoint drifts over months Spring fatigue, element creep on mechanical switch, or sensor overrange Recalibrate; replace with electronic type if drift exceeds tolerance
Never trips Blocked impulse line, wrong NO/NC wiring, frozen diaphragm Blow down the line; check terminals; heat-trace outdoor installations
PLC input never sees the signal NPN/PNP mismatch, open collector without pull-up Change output polarity; add pull-up/pull-down resistor
Output stuck on after load removed Welded contacts from inductive switching Add interposing relay and RC snubber; downsize load
Display reads correctly but output never changes Setpoint programmed outside operating pressure, output assigned to wrong channel Check menu; many digital switches ship with default setpoints at full scale

A simple field test for a mechanical switch is to isolate the tapping, connect a hand pump and a reference gauge, raise the pressure slowly and note the trip and reset points over five cycles. Repeatability better than 2 % of range and a deadband matching the datasheet mean the switch is healthy.

Sourcing Pressure Switches from China: What to Ask For

SIBXSUN is a Ningbo-based industrial instrumentation supplier. We do not run a production line; the switches and transmitters we sell are sourced from partner factories that we have audited, and we handle specification, testing and documentation so the buyer gets a matched instrument rather than a catalog guess. From the orders we have processed, these points save the most time:

  1. Send the process data, not just a model number. Operating pressure, trip pressure, maximum pressure, medium, temperature and the type of load the switch must drive. A YLK20 mechanical switch and a YLK6710 digital switch can both close a contact at 10 bar, but only one of them can also report the pressure to your PLC.
  2. Ask for the test report with each batch. A switch should ship with a record of trip and reset points at the ordered setpoint. For transmitters, ask for the zero and span calibration certificate.
  3. Confirm the output polarity and connector. NPN vs PNP, M12 vs cable gland vs DIN 43650 plug. These are build options, not something you can change on site on most models.
  4. Check certification by part number. CE and RoHS are standard across the range. Explosion-proof or SIL-rated versions are specific builds; confirm the certificate scope, not just the logo on the brochure.
  5. Mind the lead time by type. Standard mechanical and digital switches in common ranges typically ship within 7-15 days, including sample quantities. Special ranges, stainless wetted parts for chemicals and Ex versions are built to order.

The full list of pressure switches and transmitters we supply is on the pressure sensors and transmitters category page, and buyers comparing several Chinese sources can start with our pressure transmitter supplier overview for lead times and documentation standards.

Frequently Asked Questions

What is the working principle of a pressure switch?

A pressure switch converts fluid pressure into a mechanical or electrical on/off signal at a preset value called the setpoint. In a mechanical switch, pressure acts on a diaphragm, bellows or piston that pushes against a spring; when the force exceeds the spring preload, a snap-action micro switch changes state. In an electronic or digital switch, a piezoresistive or ceramic sensor measures the pressure continuously and a comparator circuit drives a relay or transistor output when the setpoint is crossed.

What is the difference between a pressure switch and a pressure transmitter?

A pressure switch gives a discrete on/off output at one or two setpoints, while a pressure transmitter gives a continuous analog or digital signal (typically 4-20 mA, RS485 or HART) that represents the actual pressure across the full range. Use a switch for simple protection and start/stop control, and a transmitter when you need trending, PID control or remote monitoring. Many digital pressure switches now combine both functions with two switching outputs plus a 4-20 mA output.

What is deadband or hysteresis on a pressure switch?

Deadband, also called hysteresis or differential, is the pressure difference between the point where the switch trips and the point where it resets. For example, a compressor switch may cut out at 8 bar and cut back in at 6 bar, giving a 2 bar deadband. Without deadband the contacts would chatter rapidly around the setpoint. Mechanical switches have a fixed or screw-adjustable deadband, while digital switches let you program it to a fraction of a percent of range.

How do I choose the pressure range for a pressure switch?

Select a switch whose adjustable range places your setpoint between roughly 25 percent and 75 percent of full scale, and whose proof or overload pressure is at least 1.5 to 2 times the maximum system pressure including surges. A setpoint near the bottom of the range loses repeatability, and a setpoint near the top leaves no margin for pressure spikes. Also confirm the wetted materials, such as stainless steel 316L for corrosive media or brass for air and water, and the electrical rating of the contacts.

Can a pressure switch be used for vacuum?

Yes. Vacuum pressure switches are specified with a range that starts at negative gauge pressure, for example -100 kPa to 0 kPa, or a compound range such as -100 kPa to +60 MPa on a digital switch. The sensing element works the same way but is calibrated and sealed for pressures below atmospheric. Typical uses are vacuum packaging, suction cups on pick-and-place machines, vacuum pumps and condenser protection.


Need a pressure switch for a specific setpoint, medium or PLC input? Send us the operating pressure, trip point and output type and we will recommend a mechanical, electronic or digital model with a test report included.

Looking for a reliable instrumentation supplier?

Pressure transmitters, flow meters, level sensors, load cells — CE certified, FOB Ningbo, MOQ 1 pc.

Request a Free Quote →
WhatsAppGet a Quote