Industry News
Touch Switch vs Push Button: How Capacitive and Piezo Touch Switches Work
How capacitive and piezo touch switches sense a touch, how they compare with mechanical push buttons on gloves, water, feedback and supply, and how to wire one.
A touch switch gives a switching signal without a moving actuator. A capacitive touch switch senses the change in capacitance when a finger touches or comes close to its front surface; a piezo touch switch senses the tiny deflection of a front plate when it is pressed. A mechanical push button, by contrast, moves metal contacts.
Touch switches need a supply for their electronics and give an electronic (transistor) output, so they are wired like a sensor, not like a contact. This guide explains how capacitive and piezo touch switches work, their pros and cons, and how to wire one into a control system.
Touch switch vs push button at a glance.
| Item | Capacitive touch switch | Piezo switch | Mechanical push button |
|---|---|---|---|
| What it senses | Change in capacitance at the front surface | Force that slightly deflects the front plate | Actuator travel that moves contacts |
| Operator action | Light touch, no travel | Firm press, almost no travel | Press with force and travel |
| Supply needed | Yes, for the sensing circuit | Usually, for the electronics and any LED | No, for the contact itself |
| Output | Transistor output (NPN or PNP), NO or NC | Usually a transistor or solid-state output; check the datasheet | Dry contacts, NO and/or NC |
| Gloves | Depends on sensor design and tuning | Generally works, because it responds to force | Works |
| Water on the surface | Can cause false or missed triggers unless designed for it | Less affected, because water adds no force | Not a sensing problem; sealing matters |
| Feedback | None from travel; use a lamp or buzzer | Very little travel; a lamp is usual | Travel and a click |
| Load it can switch | Signal level only | Signal level only | A coil or small load within its rating |
If you are also considering a no-touch (infrared) switch, the three-way comparison is in capacitive touch vs infrared touchless vs mechanical push buttons. This article goes deeper into the touch technologies themselves.
How a capacitive touch switch works.
A capacitive touch switch has a sensing electrode behind an insulating front surface, such as a plastic lens or a glass or coated panel. The electronics continuously measure the capacitance of that electrode. There are two common methods:
- Self-capacitance: the circuit measures the capacitance between the electrode and ground. A finger adds capacitance to ground, so the reading rises.
- Mutual capacitance: the circuit measures the coupling between a transmit and a receive electrode. A finger diverts part of the field, so the coupling falls.
In both cases the circuit compares the change with a threshold. When the change is large enough and lasts long enough, the output switches. The threshold is a trade-off: too sensitive and the switch reacts to water films, dirt or electrical noise; too insensitive and it misses a touch through a glove. Most designs also track slow drift (temperature, humidity, dust) and recalibrate their baseline, which is why some switches need a moment after power-up before they respond, and why you should not touch them while they start.
Because nothing moves, the front can be one smooth, sealed surface. That is the main reason capacitive switches are chosen for food, medical and washdown equipment, kiosks and lift panels.
How a piezo touch switch works.
A piezo switch uses a piezoelectric element bonded behind a front plate, often stainless steel or aluminium. Pressing the plate bends it by a tiny amount, a fraction of a millimetre or less, and the piezo element produces a short electrical charge as the force changes. An electronic circuit turns that pulse into an output signal.
Two consequences follow from this principle:
- It responds to force, not to the finger. Thick gloves, a tool or a knuckle will operate it, and a film of water will not.
- The piezo element reacts to a change in force. A steady press does not keep producing a signal, so piezo switches typically offer a pulse output of fixed length, or an electronically latching output, rather than an output that follows how long the button is held. Check which output modes the product offers before you design logic around it.
Piezo switches are common on vandal-resistant public equipment and heavy-duty outdoor panels. ZJWZJH (JINHONG) does not list a piezo switch in its current range; if you need one, see what to ask for below.
Simplified demonstration
Pros and cons compared with a mechanical push button.
Advantages of touch switches
- No moving parts to wear, stick or let in dirt.
- Smooth, sealable front that is easy to clean.
- Resistant to vandalism: there is no plunger to jam or lever off.
- Flexible output logic: many touch switches can be set for momentary, alternate (latching) or delayed output in the electronics.
Disadvantages
- Needs a supply. No power, no output; and the output is only valid after start-up.
- Signal-level output. It cannot switch a contactor coil or a motor directly; use an interface relay if you need a contact.
- False or missed triggers on capacitive types: water, conductive dirt, electrical noise or leaning on the panel can be read as a touch, and the wrong glove can be ignored.
- Weak tactile feedback. The operator needs a lamp, a colour change or a buzzer to know the press was accepted.
- Not for emergency stop. An emergency stop must be a mechanically actuated device with direct opening action contacts, as required by ISO 13850 and IEC 60947-5-5. Touch switches are for normal operating commands only; see how emergency stops work.
A mechanical push button is still the simpler choice when the operator needs a definite click, when there is no convenient DC supply, or when the switch must break a load directly. The basics are in what is a push button switch.
Where touch switches are used.
- Food, beverage and pharmaceutical machines that are washed down.
- Medical and laboratory equipment where surfaces are disinfected.
- Lifts, door openers, kiosks and public terminals.
- Pick-to-light and assembly stations, where the operator confirms a pick with a quick touch; see what is pick to light.
- Operator panels where a sealed, flush front is preferred to a row of plungers.
How to wire a touch switch.
Most industrial touch switches with a transistor output are wired like a 3-wire DC sensor. The example below assumes a 24 V DC control supply and a PLC input; follow the exact product's terminal marking and datasheet, because wire colours and pin numbers differ between products.
- Supply: connect + and 0 V of the DC supply to the switch supply terminals. Check the permitted supply range on the datasheet.
- Match the output type to the input. An NPN output switches the load to 0 V and needs a sourcing input; a PNP output switches +V and needs a sinking input. The difference is explained in NPN vs PNP: how to wire a tower light or beacon to a PLC.
- Choose NO or NC for the output state when the switch is not touched; NO vs NC explains the effect on wire-break detection.
- Set the output mode if the product offers more than one: momentary, alternate (toggle) or delayed.
- Wire the indication. Some touch switches drive their own LED from the touch; others have separate lamp inputs so the controller can show state or call for a pick.
- Keep within the output current. Drive a PLC input or a relay coil within the rated output current, never a contactor or motor directly.
ZJWZJH examples.
- EJ22 touch sensor pushbutton with pick-up signal lamp (category EJ22 touch button and pick-up light). According to the product page it has a 30 mm hemispherical light-emitting surface that is a neutral colour when off, can be touched directly with hands or gloves, offers NO or NC output, instantaneous, alternate and delayed output states, NPN or PNP output, monochrome, two-colour or three-colour lighting with various colours, an optional custom laser label, and IP65 protection with IP67 or IP67K optional for high-pressure water washing. It fits confirmation and call buttons on wet or hygienic machines and pick stations. The supply voltage and output current are not stated on the page, so ask for the datasheet before wiring.
- Touchless alternative: the EJ19 infrared induction switch is operated without contact. It is rated 5–36 V DC with a 150 mA maximum output current, PNP or NPN output, NO or NC, and IP65 (IP67 optional).
- Mechanical option: where a definite click or a load-switching contact is needed, use a metal push button switch instead.
If you need a piezo switch or a different touch design, send the panel cut-out, front material, glove type, supply voltage, output type (NPN, PNP or relay), output mode, illumination colours and IP rating. ZJWZJH does not currently list a piezo product, so we will tell you plainly whether a suitable design is possible.
Common mistakes and how to check.
- NPN switch on a sinking PLC input (or PNP on sourcing): the input never turns on. Check the input card type first.
- Driving a load directly from the transistor output: the output fails. Add an interface relay.
- Testing with a continuity meter. A transistor output is not a contact; test it powered, measuring the output voltage against 0 V or +V.
- Touching during power-up on a capacitive switch that calibrates at start: it may learn the finger as the baseline. Power up with the surface clear.
- Unscreened signal cable near drives causing random triggers: route it away from motor cables.
- Not testing with the real gloves and the real cleaning routine before release.
Sources.
- ISO 13850, Safety of machinery – Emergency stop function – Principles for design: ISO
- IEC 60947-5-5, Electrical emergency stop device with mechanical latching function: IEC webstore
- IEC 60204-1, Electrical equipment of machines – General requirements: IEC webstore
Next step.
To choose between a touch switch and a push button, contact ZJWZJH with the application, supply voltage, the input or load you will connect, NPN or PNP, momentary or latching behaviour, lamp colours, glove and washdown conditions, and quantity.
FAQ
Does a touch switch work through gloves?
A piezo switch generally does, because it responds to force rather than to the finger. A capacitive switch only does if it is designed and tuned for it, and thick or insulating gloves may be ignored. Test with the actual gloves and the real cleaning routine before release.
Can I replace a push button with a touch switch without rewiring?
Usually not. A push button has dry contacts and needs no supply, while a touch switch needs a supply and has a transistor output, so at least the supply and the output type must change.
What happens to a latching touch switch after a power cut?
An electronically latching output may return to its off state when power is restored, unlike a mechanical latching button, which stays where it was. Check the datasheet and make sure the control logic handles restart safely, so the machine does not start or stop unexpectedly.
Can a touch switch be used as an emergency stop?
No. An emergency stop must be a mechanically actuated device with direct opening action contacts, as required by ISO 13850 and IEC 60947-5-5. Touch switches depend on electronics and a supply, so use them for normal operating commands only and fit a separate emergency stop button.
EJ22 touch sensor pushbutton
EJ19 infrared induction switch