Switch Bounce Tutorials

<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: center;">
<b>Switch Bounce</b></h2>
<div>
<b><br /></b></div>
Microcontrolers may not in Human thinking frequency .Human thinking frequency is lies in some of low Hz . &nbsp;Microcontroler works variety range of frequency ie ,12Mhz,20 Mhz etc . &nbsp;In a push Button &nbsp;micro controller interfacing, Human and Micro controller are feels that whether the push is pressed or not &nbsp;in different way as follows in the graph .<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-w9bjhmmUnqw/V6DD2eYyQfI/AAAAAAAABkk/pypViae-JRcMcCgZyWtXASp4fmDUXJyeACLcB/s1600/switch_debounce_04_lrg.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="225" src="https://1.bp.blogspot.com/-w9bjhmmUnqw/V6DD2eYyQfI/AAAAAAAABkk/pypViae-JRcMcCgZyWtXASp4fmDUXJyeACLcB/s320/switch_debounce_04_lrg.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-ogNB4Vrampg/V6DD2EN6QGI/AAAAAAAABkg/BNSeJko3f6453xg22toVn_yg-LxdBqoEACEw/s1600/switch_tutorial5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://2.bp.blogspot.com/-ogNB4Vrampg/V6DD2EN6QGI/AAAAAAAABkg/BNSeJko3f6453xg22toVn_yg-LxdBqoEACEw/s400/switch_tutorial5.png" width="400" /></a></div>
<br />
<br />
Some small duration pulse due to denounce generated as multiple touch error<br />
<b><u>Hardware solution</u></b><br />
<div>
It can be made by a resistor and a capacitor in the following manner or any other for comfortable<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-_NIjPZ3JGJo/V6DLltFP4jI/AAAAAAAABlI/68oiyuqCglkqrlqZ_7iDaiNWWUV1QUA9QCLcB/s1600/images%2B%25281%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://3.bp.blogspot.com/-_NIjPZ3JGJo/V6DLltFP4jI/AAAAAAAABlI/68oiyuqCglkqrlqZ_7iDaiNWWUV1QUA9QCLcB/s400/images%2B%25281%2529.png" width="346" /></a></div>
<br />
<br />
<br />
When ever the switch is pressed the capacitor will charge &nbsp;rapidly ,practically the first charge wil be across &nbsp;the &nbsp;,capacitor ,<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-KOEbmFnidfk/V6DMP0hT0CI/AAAAAAAABlM/BtAt9HboqN03MZQ2U1YQTth1-nNEHkwrwCLcB/s1600/switch_tutorial7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://4.bp.blogspot.com/-KOEbmFnidfk/V6DMP0hT0CI/AAAAAAAABlM/BtAt9HboqN03MZQ2U1YQTth1-nNEHkwrwCLcB/s400/switch_tutorial7.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
So we can avoid the denouncing effect .</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The capacitor and the resistor will be select in accordance with time constant . as follows</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-zz7vt62r5t8/V6DNSQmtzBI/AAAAAAAABlc/gGMZ3wNukysx_YbGdLylmQiHpDgER3M0wCLcB/s1600/debounceR.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-zz7vt62r5t8/V6DNSQmtzBI/AAAAAAAABlc/gGMZ3wNukysx_YbGdLylmQiHpDgER3M0wCLcB/s1600/debounceR.jpg" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-RM1cwzYU9qU/V6DNSnnQH_I/AAAAAAAABlg/UsH9p4d5AE4KavWofyPnqgBcEWBn_DXVQCLcB/s1600/debouncevcap.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="233" src="https://4.bp.blogspot.com/-RM1cwzYU9qU/V6DNSnnQH_I/AAAAAAAABlg/UsH9p4d5AE4KavWofyPnqgBcEWBn_DXVQCLcB/s640/debouncevcap.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<a href="https://1.bp.blogspot.com/-zz7vt62r5t8/V6DNSQmtzBI/AAAAAAAABlc/I0f-OLDqC-c2HDU_ue1xZJO8pOGD6P14ACEw/s1600/debounceR.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-zz7vt62r5t8/V6DNSQmtzBI/AAAAAAAABlc/I0f-OLDqC-c2HDU_ue1xZJO8pOGD6P14ACEw/s1600/debounceR.jpg" /></a><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
For more information <a href="http://www.ganssle.com/debouncing-pt2.htm">go here</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Will be update&nbsp;</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br /></div>

Post a Comment

[blogger]

MKRdezign

Test

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget