{"id":3796,"date":"2026-10-13T02:00:00","date_gmt":"2026-10-13T02:00:00","guid":{"rendered":"https:\/\/onpowbutton.com\/news\/piezo-switch-circuit-design\/"},"modified":"2026-10-11T04:41:02","modified_gmt":"2026-10-11T04:41:02","slug":"piezo-switch-circuit-design","status":"publish","type":"post","link":"https:\/\/onpowbutton.com\/de\/news\/piezo-switch-circuit-design\/","title":{"rendered":"Piezo Switch Circuit Design: Output and Controller Input Checks"},"content":{"rendered":"<style>@media(max-width:767px){.onpow-new-body{padding-right:28px;box-sizing:border-box;max-width:100%;}}<\/style>\n<div class=\"onpow-new-body\">\n<p>A <strong>piezo switch circuit<\/strong> must match the output of the finished switch to the receiving controller. Start by distinguishing a raw piezoelectric element from an assembled panel switch with internal electronics. Then confirm output topology, supply requirements, pulse duration, leakage, polarity and the input&#8217;s switching thresholds. A familiar two-wire shape does not prove that the device behaves like a mechanical dry contact. For a PLC or microcontroller, the practical goal is one deliberate press producing one reliable command, including after power returns. This guide covers interface evaluation, not a universal pin-to-pin wiring diagram.<\/p>\n<nav aria-label=\"Article contents\">\n<p><strong>Contents<\/strong><\/p>\n<ul>\n<li><a href=\"#separate-a-raw-sensor-from-a-finished-panel-switch\">Separate a raw sensor from a finished panel switch<\/a><\/li>\n<li><a href=\"#define-the-input-before-choosing-the-interface\">Define the input before choosing the interface<\/a><\/li>\n<li><a href=\"#compare-the-two-sides-using-a-decision-table\">Compare the two sides using a decision table<\/a><\/li>\n<li><a href=\"#understand-why-a-pulse-may-be-missed\">Understand why a pulse may be missed<\/a><\/li>\n<li><a href=\"#keep-illumination-separate-from-the-command\">Keep illumination separate from the command<\/a><\/li>\n<li><a href=\"#plan-deliberate-commands-and-power-recovery\">Plan deliberate commands and power recovery<\/a><\/li>\n<li><a href=\"#validate-on-a-controlled-bench-before-installation\">Validate on a controlled bench before installation<\/a><\/li>\n<li><a href=\"#prepare-an-interface-focused-inquiry\">Prepare an interface-focused inquiry<\/a><\/li>\n<li><a href=\"#watch-the-physical-principle\">Watch the physical principle<\/a><\/li>\n<li><a href=\"#frequently-asked-questions\">Frequently asked questions<\/a><\/li>\n<\/ul>\n<\/nav>\n<h2 id=\"separate-a-raw-sensor-from-a-finished-panel-switch\">Separate a raw sensor from a finished panel switch<\/h2>\n<p>A bare piezo element develops charge when mechanical stress changes. It is a sensor, and its signal may require conditioning and protection before reaching an electronic input. Texas Instruments&#8217; <a href=\"https:\/\/www.ti.com\/lit\/an\/sloa033a\/sloa033a.pdf\" rel=\"noopener\" target=\"_blank\">signal conditioning application note<\/a> discusses this sensor-level problem. Its example circuits are not wiring instructions for every commercial piezo push button. Treating the two products as interchangeable can lead to incorrect assumptions about voltage, pulse behavior and input protection.<\/p>\n<p>An assembled switch adds a housing and, depending on its design, electronic processing that presents a specified switching output. The internal arrangement must come from its documentation. A supplier&#8217;s phrase such as \u201cnormally open\u201d can describe functional behavior without establishing galvanic isolation, the absence of polarity, or compatibility with every contact-monitoring circuit. Ask for the output schematic and terminal schedule, rather than deriving them from a photograph or the number of wires.<\/p>\n<p>For example, the <a href=\"https:\/\/onpowbutton.com\/ps223p10yss1r12t-product\/\">ONPOW PS223P10YSS1R12T product page<\/a> lists a momentary pulse function and wire leads, along with selectable operating and illumination options. Those published family descriptions are a starting point for selecting a configuration. They are not a substitute for the exact ordered part&#8217;s drawing. Record the complete order code and revision before making a controller interface decision.<\/p>\n<figure><img decoding=\"async\" alt=\"Silver threaded piezo panel button with flat silver center, red ring and twisted red and black insulated rear leads, disconnected on a dry evaluation bench\" loading=\"lazy\" src=\"https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-body1.png\" style=\"max-width:100%;height:auto\" title=\"Piezo switch input interface body1\"\/><figcaption>Reference-based illustration of the PS223P10YSS1R12T appearance. No live circuit or universal connection is depicted.<\/figcaption><\/figure>\n<h2 id=\"define-the-input-before-choosing-the-interface\">Define the input before choosing the interface<\/h2>\n<p>Identify the receiving input as carefully as the switch. A PLC input, a microcontroller input and a relay coil impose different demands. The PLC&#8217;s input manual should state the accepted supply range, ON and OFF thresholds, input current and filtering behavior. A microcontroller requires its device-specific absolute limits and logic thresholds. A coil also brings an inductive load and a transient suppression question; it should never be treated as a logic input merely because it has two terminals.<\/p>\n<p>Write down what the input must do during idle, press, release and supply interruption. Include whether a brief command must be remembered and whether a held press should repeat. This turns a vague request for a \u201cworking button\u201d into a testable sequence. If the controller&#8217;s behavior is unknown, defer final wiring until the controller documentation and the desired machine sequence agree.<\/p>\n<p>Avoid selecting a resistor from a generic online drawing and assuming it solves every interface. Pull-up or pull-down values depend on the input circuit, supply and output capability. Where level shifting, isolation or an intermediate driver is needed, have the complete design reviewed by a qualified engineer. The switch rating alone cannot validate the rest of that design.<\/p>\n<h2 id=\"compare-the-two-sides-using-a-decision-table\">Compare the two sides using a decision table<\/h2>\n<p>Use the following table during the drawing review. It deliberately contains no universal resistor values or pin assignments. The evidence required belongs to the specific switch and controller. Keep the reviewed table with the approved schematic so purchasing and commissioning use the same assumptions.<\/p>\n<div aria-label=\"Article decision table\" role=\"region\" style=\"overflow-x:auto;max-width:100%\" tabindex=\"0\">\n<table style=\"min-width:640px;width:100%;border-collapse:collapse\">\n<thead>\n<tr>\n<th>Interface item<\/th>\n<th>Switch information to obtain<\/th>\n<th>Controller information to compare<\/th>\n<th>Reason to stop and clarify<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Output arrangement<\/td>\n<td>Electronic, contact-like or other documented topology<\/td>\n<td>Accepted input wiring and isolation needs<\/td>\n<td>Output type is described only as NO or NC<\/td>\n<\/tr>\n<tr>\n<td>Supply and polarity<\/td>\n<td>Required supply and permitted connections<\/td>\n<td>Available supply and input reference<\/td>\n<td>Wire colors are the only connection evidence<\/td>\n<\/tr>\n<tr>\n<td>Idle state<\/td>\n<td>OFF leakage and any minimum operating conditions<\/td>\n<td>OFF threshold and input current path<\/td>\n<td>Idle input remains asserted<\/td>\n<\/tr>\n<tr>\n<td>Active state<\/td>\n<td>ON resistance or voltage drop, permitted current<\/td>\n<td>ON threshold and expected input current<\/td>\n<td>Input does not reach a valid active level<\/td>\n<\/tr>\n<tr>\n<td>Timing<\/td>\n<td>Minimum and typical output pulse behavior<\/td>\n<td>Filter, scan and event capture requirements<\/td>\n<td>A short press is intermittently missed<\/td>\n<\/tr>\n<tr>\n<td>Illumination<\/td>\n<td>Lamp voltage and separate lead identification<\/td>\n<td>Lamp driver and indication logic<\/td>\n<td>LED conductors are confused with switching output<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The manufacturer&#8217;s approved drawing supplies switch facts; the controller&#8217;s manual supplies input facts. Product appearance establishes neither side. A successful bench demonstration also does not establish suitability for a machine safety function.<\/p>\n<h2 id=\"understand-why-a-pulse-may-be-missed\">Understand why a pulse may be missed<\/h2>\n<p>A momentary pulse output can end before a slow input recognizes it. The relevant time includes the input filter and the controller&#8217;s task or scan behavior, not just the duration of the operator&#8217;s finger movement. Some systems provide dedicated pulse capture or interrupt inputs; others expect a signal to remain active long enough for a conventional scan. Use only functions supported by the chosen controller and verify the actual timing requirement in its manual.<\/p>\n<p>Suppose an operator makes a quick press and sees no response. Do not immediately increase sensitivity or bypass a filter. First observe whether the switch produces the specified output pulse and whether that pulse reaches the receiving terminal. Then examine the input indication and the program&#8217;s event handling. This separates a switch problem from a wiring, threshold or software problem without guessing.<\/p>\n<p>Test both rapid presses and ordinary deliberate presses. Keep results as a sequence of input events and accepted commands. A single successful activation says little about intermittent missed pulses. Likewise, observing a voltage with a general-purpose meter may not establish pulse duration; use measurement equipment and procedures appropriate to the documented interface.<\/p>\n<h2 id=\"keep-illumination-separate-from-the-command\">Keep illumination separate from the command<\/h2>\n<p>An illuminated button may have a lamp circuit distinct from its output. The lamp can show a controller state, an accepted command or another designed condition. Decide which meaning the operator should receive before wiring it. A lamp that follows supply availability can be mistaken for confirmation that the machine accepted the press. Explain its actual meaning on the panel and in the operating instructions.<\/p>\n<p>Trace the lamp leads and switching leads separately on the approved terminal schedule. Do not assume a red or black wire has the same role across product families. Record the exact lamp option, its voltage and any driver requirements. Where the family offers several colors and operating modes, the purchase order must specify the intended combination rather than leaving it to a generic product description.<\/p>\n<p>The <a href=\"https:\/\/onpowbutton.com\/news\/capacitive-touch-switch-circuit\/\">capacitive switch circuit guide<\/a> addresses a different sensing technology but offers a useful comparison of panel input planning. Keep piezo and capacitive behavior distinct. A design that works with one assembled product does not automatically transfer to the other, even when both are sold as touch switches.<\/p>\n<figure><img decoding=\"async\" alt=\"Silver threaded piezo panel button with flat silver center, red ring and twisted red and black insulated rear leads, disconnected on a dry evaluation bench\" loading=\"lazy\" src=\"https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-body2.png\" style=\"max-width:100%;height:auto\" title=\"Piezo switch input interface body2\"\/><figcaption>Reference-based illustration of the PS223P10YSS1R12T appearance. No live circuit or universal connection is depicted.<\/figcaption><\/figure>\n<h2 id=\"plan-deliberate-commands-and-power-recovery\">Plan deliberate commands and power recovery<\/h2>\n<p>The controller should interpret the button according to a defined state model. Determine whether one press requests a single action, changes a mode, or sets an instruction that requires another condition. Test repeated presses while the machine is busy. A useful input design gives predictable feedback when a command is rejected, rather than silently storing an action that occurs much later without the operator&#8217;s awareness.<\/p>\n<p>Power recovery deserves its own test. Remove and restore supply using the equipment&#8217;s approved commissioning procedure, then observe the output, input and application state. Document what happens when a button is already being pressed during recovery. Do not accept an unexplained startup pulse merely because ordinary operation appears stable. The required response depends on the system risk assessment and controller design.<\/p>\n<p>For background on charge generation, the <a href=\"https:\/\/ucscphysicsdemo.sites.ucsc.edu\/piezoelectric-effect\/\" rel=\"noopener\" target=\"_blank\">University of California, Santa Cruz physics demonstration<\/a> illustrates mechanical-to-electrical conversion. It does not establish a finished switch&#8217;s startup state or safety capability. Those properties must be verified for the assembled device and application.<\/p>\n<h2 id=\"validate-on-a-controlled-bench-before-installation\">Validate on a controlled bench before installation<\/h2>\n<p>Start with documentation, not energized trial-and-error. Have the reviewed drawing, component limits and safe measurement procedure available. Use a controlled test arrangement appropriate to the device and controller. Confirm that expected idle and active states are distinguishable, that ordinary commands are captured consistently, and that the lamp behaves according to its assigned meaning.<\/p>\n<p>Run a small matrix of operating conditions within the approved specifications. Include short and long presses, repeated presses, expected cable routing and power recovery. Record observed waveforms or input logs where appropriate. Change one factor at a time so a failure has an interpretable cause. Never exceed a rating to discover where the product stops functioning.<\/p>\n<p>Machine installation adds conditions a bench may not reproduce. Cable routing near switching equipment, grounding arrangements, connector quality and mechanical mounting all deserve a documented review. The <a href=\"https:\/\/www.hse.gov.uk\/work-equipment-machinery\/maintenance.htm\" rel=\"noopener\" target=\"_blank\">HSE guidance on maintaining work equipment<\/a> supports planned, safe maintenance and competent work. Follow the equipment&#8217;s isolation procedure before changing wiring. An ordinary piezo panel button must not be presumed suitable as an emergency stop or other safety input.<\/p>\n<h2 id=\"prepare-an-interface-focused-inquiry\">Prepare an interface-focused inquiry<\/h2>\n<p>Send the supplier the controller model, input manual section, supply description, desired output function and installation context. Ask for a configuration drawing, not just a catalog photograph. Request clarification of pulse duration, idle leakage, active-state behavior, polarity and the meaning of each lead. Include the illumination option if fitted and ask which characteristics apply to the exact order code.<\/p>\n<p>Use the existing <a href=\"https:\/\/onpowbutton.com\/news\/momentary-piezo-switch\/\">momentary piezo switch guide<\/a> for operating-mode selection and the <a href=\"https:\/\/onpowbutton.com\/news\/piezoelectric-switch-guide\/\">piezoelectric switch overview<\/a> for technology background. This circuit article instead concerns the interface between the selected switch and the input. Once that interface is specified, <a href=\"https:\/\/onpowbutton.com\/contact-us\/\">contact ONPOW<\/a> with the agreed requirements and request a matching drawing and sample configuration.<\/p>\n<h2 id=\"watch-the-physical-principle\">Watch the physical principle<\/h2>\n<div style=\"position:relative;padding-top:56.25%;max-width:100%\"><iframe allowfullscreen=\"\" loading=\"lazy\" src=\"https:\/\/www.youtube-nocookie.com\/embed\/3grgGrlHiNg\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" title=\"Como Funciona: Efeito Piezoel\u00e9trico \u2014 Oficiencia\"><\/iframe><\/div>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=3grgGrlHiNg\" rel=\"noopener\" target=\"_blank\">Watch the educational video<\/a><\/p>\n<p>Oficiencia&#8217;s educational demonstration, supported by the University of S\u00e3o Paulo physics group, explains the piezoelectric effect. The presentation is in Portuguese and uses a physical demonstration. It is optional background; it does not show wiring for the ONPOW model or replace the interface checks above.<\/p>\n<h2 id=\"frequently-asked-questions\">Frequently asked questions<\/h2>\n<h3>Can I connect any piezo switch directly to a PLC input?<\/h3>\n<p>No. Confirm the assembled switch&#8217;s output type, polarity, idle and active characteristics and pulse behavior against the exact PLC input specifications. Matching a nominal voltage alone is insufficient.<\/p>\n<h3>Is a two-wire piezo switch always a dry contact?<\/h3>\n<p>No. Wire count does not establish output topology or isolation. Obtain the manufacturer&#8217;s circuit description and approved wiring drawing for the complete ordered configuration.<\/p>\n<h3>Why does the controller miss some presses?<\/h3>\n<p>Possible causes include a pulse shorter than the input&#8217;s capture requirements, an unsuitable filter, invalid switching levels or application logic. Check the output, receiving terminal and program event handling separately.<\/p>\n<h3>Can the illuminated ring confirm that a command was accepted?<\/h3>\n<p>Only when the indication is deliberately driven to represent acceptance. A lamp powered independently may show supply availability or another condition, so document its assigned meaning.<\/p>\n<h3>Does this circuit guide authorize safety circuit use?<\/h3>\n<p>No. Safety suitability requires the complete device and system to be assessed for that function. Use the approved safety components and equipment-specific procedures rather than assuming an ordinary panel switch qualifies.<\/p>\n<p><script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Can I connect any piezo switch directly to a PLC input?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Confirm the assembled switch's output type, polarity, idle and active characteristics and pulse behavior against the exact PLC input specifications. Matching a nominal voltage alone is insufficient.\"}}, {\"@type\": \"Question\", \"name\": \"Is a two-wire piezo switch always a dry contact?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Wire count does not establish output topology or isolation. Obtain the manufacturer's circuit description and approved wiring drawing for the complete ordered configuration.\"}}, {\"@type\": \"Question\", \"name\": \"Why does the controller miss some presses?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Possible causes include a pulse shorter than the input's capture requirements, an unsuitable filter, invalid switching levels or application logic. Check the output, receiving terminal and program event handling separately.\"}}, {\"@type\": \"Question\", \"name\": \"Can the illuminated ring confirm that a command was accepted?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Only when the indication is deliberately driven to represent acceptance. A lamp powered independently may show supply availability or another condition, so document its assigned meaning.\"}}, {\"@type\": \"Question\", \"name\": \"Does this circuit guide authorize safety circuit use?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Safety suitability requires the complete device and system to be assessed for that function. Use the approved safety components and equipment-specific procedures rather than assuming an ordinary panel switch qualifies.\"}}]}<\/script><\/div>","protected":false},"excerpt":{"rendered":"<p>Check a piezo switch circuit against PLC or microcontroller inputs: output type, pulse timing, leakage, lamp wiring and controlled interface validation.<\/p>","protected":false},"author":6,"featured_media":3793,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-3796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"uagb_featured_image_src":{"full":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature.webp",1536,1024,false],"thumbnail":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature-150x150.webp",150,150,true],"medium":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature-300x200.webp",300,200,true],"medium_large":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature-768x512.webp",768,512,true],"large":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature-1024x683.webp",1024,683,true],"1536x1536":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature.webp",1536,1024,false],"2048x2048":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature.webp",1536,1024,false],"trp-custom-language-flag":["https:\/\/onpowbutton.com\/wp-content\/uploads\/2026\/10\/onpow-20261013-row94-feature-18x12.webp",18,12,true]},"uagb_author_info":{"display_name":"Turbo","author_link":"https:\/\/onpowbutton.com\/de\/author\/turbo\/"},"uagb_comment_info":0,"uagb_excerpt":"Check a piezo switch circuit against PLC or microcontroller inputs: output type, pulse timing, leakage, lamp wiring and controlled interface validation.","_links":{"self":[{"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/posts\/3796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/comments?post=3796"}],"version-history":[{"count":1,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/posts\/3796\/revisions"}],"predecessor-version":[{"id":3797,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/posts\/3796\/revisions\/3797"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/media\/3793"}],"wp:attachment":[{"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/media?parent=3796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/categories?post=3796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onpowbutton.com\/de\/wp-json\/wp\/v2\/tags?post=3796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}