51单片机的矩阵键盘协处理器设计

上传人:第*** 文档编号:34096769 上传时间:2018-02-20 格式:DOC 页数:59 大小:1.83MB
返回 下载 相关 举报
51单片机的矩阵键盘协处理器设计_第1页
第1页 / 共59页
51单片机的矩阵键盘协处理器设计_第2页
第2页 / 共59页
51单片机的矩阵键盘协处理器设计_第3页
第3页 / 共59页
51单片机的矩阵键盘协处理器设计_第4页
第4页 / 共59页
51单片机的矩阵键盘协处理器设计_第5页
第5页 / 共59页
点击查看更多>>
资源描述

《51单片机的矩阵键盘协处理器设计》由会员分享,可在线阅读,更多相关《51单片机的矩阵键盘协处理器设计(59页珍藏版)》请在金锄头文库上搜索。

1、I摘 要各种数字系统的终端设备都需要对十进制信息进行数码显示,而 LED 是最常用的显示器件。在大规模可编程逻辑器件 CPLD 的硬件基础上,根据显示译码器原理运用VHDL 硬件描述语言对 LED 的通用七段显示译码器进行了设计,同时使用 ISE 开发软件对设计电路进行了时序仿真和功能验证。此设计在大规模数字电路的数码显示中更为实用,具有设计简单使用灵活和工作可靠等优点。通过本次设计,可以体现出可编程逻辑器件 CPLD 等在电子设计领域的广泛应用,设计者可以方便的设计出符合要求的芯片或应用系统。相对于普通键盘,矩阵键盘有效的提高按键操作的效率,它可以提高系统的准确行,有利于资源的节约。对操作者

2、的要求也比较低。能够准时、时实、高效的显示按键信息。4*4 矩阵键盘式键盘采用 AT89S51 单片机作为核心控制器件,以按键信号作为简单的输入信息,利用 8 段数码管和 VHDL 语言编程,单片机将检测到的按键信号转换成数字量。最种在数码管显示了 0-F,并且在程序设计中利用按键扫描技术来对按键进行消抖。 该设计实现了对矩阵键盘简单的信息输入的识别。关键词:VHDL;LED 显示; CPLD;矩阵键盘IIAbstractTerminal equipment digital system needs to decimal information digital display, while L

3、ED are the most common display devices. In the hardware foundation of large-scale programmable logic device CPLD, according to the principle of display decoder using VHDL hardware description language for general LED seven segment display decoder is designed, and the circuits are simulated to valida

4、te the use of ISE software. This design in large scale digital circuit digital display more practical, has the advantages of simple design, flexible and reliable. Through this design,it can see that CPLD has a widely application in electronic a rea.The design a chip or a system expediently.Compared

5、to ordinary keyboard, matrix keyboard, effectively improve the efficiency of the key operation, it can improve the accuracy for the system, is conducive to resource saving. The operators requirements are relatively low. on time,when the real and efficient display key information . 4*4 matrix keyboar

6、d keyboard using AT89S51 singlechipas the core control device, as a simple information input to key signal, the use of 8 digital tube and VHDL language programming. SCM will push the detected signal into digital quantity. The total in the digital tube display 0-F. The design and implementation of th

7、e recognition of information input matrix keyboard simple.Keywords:VHD;LED display;CPLD;matrix keyboardIII目 录1 绪 论 .11.1 课题背景 .11.2 EDA 的历史及发展 .21.3 课题意义 .42 硬件介绍 .52.1 51 单片机简介 .52.1.1 51 单片机的功能及引脚 .52.1.2 51 单片机在课题中的运用 .72.2 CPLD 简介 .102.2.1 CPLD 的基本结构及特点 .102.2.2 应用及发展趋势 .112.2.3 CPLD 在本课题中的运用 .123 VHDL 语言及相关软件介绍 .153.1 VHDL 简介 .153.2 ISE 简介及工程设计流程 .163.3 Keil C51 简介及 HEX 格式文件创建 .183.3.1 Keil C51 简介 .183.3.2 HEX 格式文件创建 .203.4 Easy 51Pro 简介 .204 51 单片机的显示协处理器设计 .234.1 课题任务 .234.2 相关原理 .234.3 51 单片机的显示协处理器的 VHD 代码设计 .244.4 操作步骤 .325 51 单片机的矩阵键盘协处理器设计 .365.1 课题任务 .365.2 相关原理 .

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 解决方案

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号