计算机系统应用
計算機繫統應用
계산궤계통응용
APPLICATIONS OF THE COMPUTER SYSTEMS
2010年
2期
195-197
,共3页
按键消抖%键盘扩展%软件滤波%资源优化%ADC
按鍵消抖%鍵盤擴展%軟件濾波%資源優化%ADC
안건소두%건반확전%연건려파%자원우화%ADC
key-vibration eliminate%keyboard interface expand%software filter%resources optimization%A/D conversion
针对微控制器中按键处理问题,列举不同场合对按键处理的设计优化.重点讨论了非编码键盘的抖动及干扰消除优化.结合ADC按键,设计一种新型软件滤波方法--阀值平滑滤波,详细介绍了其软硬件的实现过程.通过验证,此方法既能有效扩展键盘又能实现消抖,有效提高微控制器资源的利用.
針對微控製器中按鍵處理問題,列舉不同場閤對按鍵處理的設計優化.重點討論瞭非編碼鍵盤的抖動及榦擾消除優化.結閤ADC按鍵,設計一種新型軟件濾波方法--閥值平滑濾波,詳細介紹瞭其軟硬件的實現過程.通過驗證,此方法既能有效擴展鍵盤又能實現消抖,有效提高微控製器資源的利用.
침대미공제기중안건처리문제,열거불동장합대안건처리적설계우화.중점토론료비편마건반적두동급간우소제우화.결합ADC안건,설계일충신형연건려파방법--벌치평활려파,상세개소료기연경건적실현과정.통과험증,차방법기능유효확전건반우능실현소두,유효제고미공제기자원적이용.
Several ways are listed about micro-controller's key's processing in this paper. It mainly discusses how to elirrunate the mechanical button response and optimize the response time in programming. It proposes a new ADC filter method of the micro-controller, emphasizing upon the processing reality. It uses interrupt sampling and valve value smooth filter in programming to eliminate key's vibration and expand the keyboard. The experiments prove that this method enhances the microcontroller optimal resources and improves the performance.