毕业设计(论文)-基于单片机的键盘控制设计汇.docVIP

  • 6
  • 0
  • 约3.14万字
  • 约 40页
  • 2018-05-05 发布于浙江
  • 举报

毕业设计(论文)-基于单片机的键盘控制设计汇.doc

摘 要 单片机即单片微型计算机(Single-Chip Microcomputer),是集CPU,RAM,ROM,定时,计数和多种接口于一体的微控制器广泛应用于各个领域。 本论文设计的单片机键盘主要由AT89C51单片机控制。该键盘控制系统是由单片机最小系统及LED显示电路组成。使用单片机C语言进行编程,实现可设定本论文主要介绍了键盘设计的软、硬件部分的设计,以及在设计、调试过程中遇到的问题及解决方案本设计包括硬件设计和软件设计,其中的硬件设计包括时钟电路,复位电路,4*4矩阵式键盘电路和LED数字显示电路。其中需要选择使用的扫描方式;为防键盘判断失误,导致实现多次按键按键的显示问题,需要去抖动的处理,其显示需要七段数码管显示。 本设计的与众不同之处在于其既能实现常规数字的显示,同时还能实现作为电子琴,不同的键表示不同的音符;还能够实现简单计算功能。 本课题设计的键盘控制系统结构简单,造价成本低,功能齐全,具有很强的实用性。 关键词: AT89C单片机 矩阵式键盘 Abstract The monolithic integrated circuit namely monolithic microcomputer (Single-Chip Microcomputer), is collection CPU, RAM, ROM, fixed time, counting and many kinds of connections in a body micro controller.Widely applies in each domain. The present paper design monolithic integrated circuit keyboard mainly controls by at89C51 monolithic integrated circuit.This keyboard control system is composed by the monolithic integrated circuit smallest system and the LED display circuit. The use monolithic integrated circuit C language carried on the programming, the realization may establish the present paper mainly to introduce the keyboard designed the software and hardware part design, as well as the question and the solution which in the design, the debugging process met[13]. This design including the hardware design and the software design, hardware design including the clock electric circuit, repositions the electric circuit, the 4*4 matrix form keyboard electric circuit and the LED digita display circuit. Need choice use scanning way; In order to guard against the keyboard judgment fault, causes the realization many times the pressed key demonstration question, needs to vibrate processing, its demonstration needs seven section of nixietube demonstrations. This design out of the ordinary place lies in it already to be able to realize the conventional numeral demonstration, meanwhile can realize takes the electric piano, the different key expresses the different note; Also can realize the simple computation function[14]. This

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档