基于PROTEUS软件的计算器设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于PROTEUS软件的计算器设计

摘要

近年来随着计算机在社会领域的渗透, 单片机的应用正在不断地走向深入,在很多先进的系统中,单片机往往是作为一个核心部件来使用。在日常生活中,计算器的应用更是极为普遍,已经成为我们日常生活中必不可少的计算工具,而它的主要部分就是单片机。

本设计介绍了单片机在计算器领域的应用技术,以常用的MCS-51系列(本次选用8051)单片机为基础,简单介绍了单片机与键盘之间以及与显示器之间的应用技术。

本次设计中的键盘的识别是一个非常重要的部分,我们此次所用的是非编码键盘,只需要预先写入识别程序,这种方法使得我们的硬件设计变的简洁许多。在设计过程中由于实际情况的要求,我们利用部分器件对单片机进行了数据扩展,以满足计算器系统的工作要求。

设计中利用键盘进行数据的输入,然后通过单片机对其进行处理,最后就可以通过LCD显示器显示出来。

关键词:单片机;键盘;显示器;LCD

如需程序/Word版本,请访问: 嵌入式软件院。

The calculator design based on PROTEUS

Abstract

With the infiltration in the social field of the computer in recent years, the application of the one-chip computer is moving towards deepening constantly, in very many advanced systems, the one-chip computer often was took a core part used. In the daily life, the calculator application is extremely universal, already became in our daily life the essential computation tool, and further its main part was the one-chip computer.

This design introduced the one-chip computer in the calculator domain application technology, take the commonly used MCS-51 series the one-chip computer as a foundation(this time selects 8051), introduced between the one-chip computer and the keyboard as well as with the monitor between application technology simply.

In this design keyboard recognition is an extremely important part, this time we use the right and wrong code keyboard, only needs to read in the recognizer in advance, this method causes our hardware design to change succinct many. In the design process as a result of the actual situation request, we used the partial components to carry on the data expansion to the one-chip computer, satisfied the calculator system the work requirement.

In the design carries on the data input using the keyboard, then carries on processing through the one-chip computer to it, finally may demonstrate through the LCD monitor. Keywords: the one-chip computer; Keyboard; Display; LCD

2

目录

引言 (6)

第1章概述 (7)

第2章硬件设计 (8)

2.1 MCS-51单片机的硬件结构 (8)

2.1.1 MCS-51单片机的逻辑结构 (8)

2.1.2 MCS-51的外部引脚 (9)

2.1.3 数据存储器的扩展 (11)

2.2 门电路 (13)

2.2.1 74LS373芯片 (14)

2.2.2 74LS00芯片 (15)

2.2.3 7407芯片 (16)

2.3 键盘 (17)

2.3.1 键盘简介 (17)

2.3.2 非编码键盘 (18)

2.3.3 非编码键盘的控制方式 (19)

2.3.4 非编码键盘接口技术 (20)

2.3.5 键盘实例分析 (22)

2.4 LCD显示器 (23)

2.4.1 液晶显示器概述 (23)

2.4.2 LCD的分类及特点 (24)

2.4.3 LCD显示模块 (25)

2.4.4 所选器件讲解 (26)

第3章软件部分 (28)

3.1 总程序流程图 (28)

3.2 键盘扫描程序流程图 (28)

3.3 显示程序流程图 (30)

第4章PROTEUS介绍 (31)

4.1 Proteus 介绍 (31)

4.2 Keil 与proteus 连接调试 (32)

4.2.1 Proteus 与Keil 联机 (32)

4.2.2 界面简介 (33)

结论与展望 (36)

致谢 (37)

参考文献 (38)

附录A 电气原理总图 (39)

附录B 外文文献及其译文 (40)

附录C 参考文献及其摘要 (44)

附录D 源程序 (46)

相关文档
最新文档