本文已被:浏览 2361次 下载 4839次
Received:June 07, 2009
Received:June 07, 2009
中文摘要: 针对微控制器中按键处理问题,列举不同场合对按键处理的设计优化。重点讨论了非编码键盘的抖动及干扰消除优化。结合ADC按键,设计一种新型软件滤波方法--阀值平滑滤波,详细介绍了其软硬件的实现过程。通过验证, 此方法既能有效扩展键盘又能实现消抖,有效提高微控制器资源的利用。
Abstract:Several ways are listed about micro-controller's key's processing in this paper. It mainly discusses how to eliminate 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.
keywords: key-vibration eliminate keyboard interface expand software filter resources optimization A/D conversion
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
LI Yun-Bing | 华南农业大学广东 广州 510642 |
Author Name | Affiliation |
LI Yun-Bing | 华南农业大学广东 广州 510642 |
引用文本:
李运兵.微控制器中按键处理技巧及应用.计算机系统应用,2010,19(2):195-197
LI Yun-Bing.Skills and Application of Key Processing in Micro-Controller.COMPUTER SYSTEMS APPLICATIONS,2010,19(2):195-197
李运兵.微控制器中按键处理技巧及应用.计算机系统应用,2010,19(2):195-197
LI Yun-Bing.Skills and Application of Key Processing in Micro-Controller.COMPUTER SYSTEMS APPLICATIONS,2010,19(2):195-197