首页 | 本学科首页   官方微博 | 高级检索  
     

一种单片机键盘电路设计与消抖处理
引用本文:刘天时,刘赏,付春.一种单片机键盘电路设计与消抖处理[J].计算机与网络,2010(10):66-68.
作者姓名:刘天时  刘赏  付春
作者单位:西安石油大学计算机学院,陕西西安710065
摘    要:本文设计了一种单片机键盘电路,这种键盘比传统的矩阵键盘更能节省I/O端口,并且不需要矩阵键盘扫描程序。所采用的消抖处理相对延时消抖有了很大的改进。文中以MSP430单片机为例,描述了这种键盘的工作原理,并给出4根I/O线键盘电路连接图及程序例子。

关 键 词:单片机  I/O端口  键盘  消抖

A Keyboard Circuit Design and Elimination Dithering of SCM
LIU Tianshi,LIU Shang,FU Chun.A Keyboard Circuit Design and Elimination Dithering of SCM[J].China Computer & Network,2010(10):66-68.
Authors:LIU Tianshi  LIU Shang  FU Chun
Affiliation:(School of Computer Science, Xi'an Shiyou University, Xi'an Shanxi 710065 ,China)
Abstract:This paper designs a keyboard circuit of single-chip microcomputer (SCM) that uses less I/O ports than traditional matrix keyboard and does not need the matrix keyboard scanning program, which improves the button dithering tremendously compared with the way of time delay. It takes the MSP430 as an example to describe the principle of this keyboard circuit which is composed of 4 I/O ports and the program to eliminate dithering.
Keywords:single-chip microcomputer  I/O port  keyboard  elimination dithering
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号