{"id":457,"date":"2012-11-06T15:10:17","date_gmt":"2012-11-06T21:10:17","guid":{"rendered":"https:\/\/scadametrics.com\/blog\/?p=457"},"modified":"2022-10-15T16:07:27","modified_gmt":"2022-10-15T22:07:27","slug":"how-to-de-bounce-a-dry-contact-pulse-input-using-a-capacitor-and-resistor","status":"publish","type":"post","link":"https:\/\/scadametrics.com\/blog\/?p=457","title":{"rendered":"How To &#8220;De-Bounce&#8221; A Dry-Contact Pulse Input Using A Capacitor And Resistor"},"content":{"rendered":"<p><div id=\"attachment_3732\" style=\"width: 160px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3732\" src=\"https:\/\/scadametrics.com\/blog\/wp-content\/uploads\/2025\/07\/IMG_0987-1-150x150.jpeg\" width=\"150\" height=\"150\" data-srcset=\"https:\/\/scadametrics.com\/blog\/wp-content\/uploads\/2025\/07\/IMG_0987-1.jpeg 2x\" alt=\"James Mimlitz &#039;Slim&#039;\" class=\"avatar avatar-150 wp-user-avatar wp-user-avatar-150 photo\" \/><p id=\"caption-attachment-3732\" class=\"wp-caption-text\">Jim &#8216;Slim&#8217; Mimlitz, SCADAmetrics<\/p><\/div>In instances where the pulse input signal is derived from a mechanical contact (eg reed-relay pulse signals from many gas meters), it may be necessary to install a &#8220;de-bounce&#8221; filter on the pulse-input wires to remove false pulses caused by bouncing and\/or arcing contacts.<\/p>\n<p>The capacitor value is selected based upon the expected pulse duration. If the capacitor value\u00a0is too high, then true pulses can go undetected. If the capacitor value\u00a0is too low, then false pulses will not be filtered away.<\/p>\n<p>The purpose of this blog entry is to illustrate the correct wiring and to assist in the selection of the filter components.<\/p>\n<div id=\"attachment_478\" style=\"width: 271px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/scadametrics.com\/blog\/wp-content\/uploads\/2012\/11\/Debounce_Schematic_01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-478\" class=\"size-medium wp-image-478\" title=\"Debounce_Schematic\" src=\"https:\/\/scadametrics.com\/blog\/wp-content\/uploads\/2012\/11\/Debounce_Schematic_01-261x300.jpg\" alt=\"\" width=\"261\" height=\"300\" srcset=\"https:\/\/scadametrics.com\/blog\/wp-content\/uploads\/2012\/11\/Debounce_Schematic_01-261x300.jpg 261w, https:\/\/scadametrics.com\/blog\/wp-content\/uploads\/2012\/11\/Debounce_Schematic_01.jpg 788w\" sizes=\"auto, (max-width: 261px) 100vw, 261px\" \/><\/a><p id=\"caption-attachment-478\" class=\"wp-caption-text\">Illustration Of A De-Bounce Filter Applied To A Dry-Contact Pulse Input (Click to Zoom).<\/p><\/div>\n<p><strong>Limiting Inrush Current Through The Dry Contact:<\/strong><\/p>\n<p>In the above schematic, a 100 ohm resistor is placed in series with the dry-contact (reed relay). The purpose of this resistor is to limit the capacitor discharge current through the dry contact. It is recommended that this resistor have a value of 100 or 50 ohms. Note that a 100 ohm resistor limits the peak current to 5V\/100ohm = 50mA max, and a 50 ohm resistor limits the peak current to 5V\/50ohm = 100mA max.<\/p>\n<p>10 July 2015 Edit: The EtherMeter now features a &#8220;digital&#8221; debounce filter that eliminates contact bounce logically with software, rather than requiring an external hardware filter &#8212; much simpler!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In instances where the pulse input signal is derived from a mechanical contact (eg reed-relay pulse signals from many gas meters), it may be necessary to install a &#8220;de-bounce&#8221; filter on the pulse-input wires to remove false pulses caused by bouncing and\/or arcing contacts. The capacitor value is selected based upon the expected pulse duration. <span class=\"ellipsis\">&hellip;<\/span> <span class=\"more-link-wrap\"><a href=\"https:\/\/scadametrics.com\/blog\/?p=457\" class=\"more-link\"><span>Read More &rarr;<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":478,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8,7],"tags":[83,84,87,13,31,88,85,86,28,30],"class_list":["post-457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-applications","category-general","category-troubleshooting","tag-contact-bounce","tag-contact-debounce","tag-filter","tag-flow-rate","tag-gas-meter","tag-low-pass-filter","tag-pulse-signal","tag-reed-relay","tag-totalization","tag-water-meter"],"_links":{"self":[{"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=457"}],"version-history":[{"count":16,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457\/revisions"}],"predecessor-version":[{"id":2436,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457\/revisions\/2436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/478"}],"wp:attachment":[{"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scadametrics.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}