JIMI 发表于 20:50

基于单片机的计算器设计与实现

论文编号:DZXX214  论文字数:11522,页数:34
摘要
 近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向深入,由于它具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适合于与控制有关的系统,越来越广泛地应用于自动控制,智能化仪器,仪表,数据采集,军工产品以及家用电器等各个领域,单片机往往是作为一个核心部件来使用,在根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完善。
 本文介绍了以AT89C51单片机为核心,外接4×4的键盘,并通过液晶模块显示的计算器的设计,给出了硬件设计结构方案和软件设计思路,并提到了从硬件、软件和功能方面对系统进行测试的方法。同时,本文也介绍了通过Proteus软件对设计进行交互可视化仿真的内容。
关键词:单片机,键盘,液晶模块,Proteus
ABSTRACT
 In recent years, with the computer penetration in the social field and the development of large-scale integrated circuits, MCU application is steadily deepening, as it has strong function, small size, low power dissipation, low prices, reliable, easy to use features, it is particularly suited to and control of the system, increasingly widely used in automatic control, intelligent instruments, gauges, data acquisition, military products and household appliances, and other areas. MCU is often microcontroller as a core component to use, In light of specific hardware architecture, and application-specific software features object combine to make perfect.
 The purpose of this passage is to introduce the design of calculator which based on MCU AT89C51. The design connects 4×4 keyboard externally and displays the output data through LCD module. Also, the hardware structure design and software design program are given in the passage. Furthermore, the approach of testing the hardware, software and functional of the system have been referred to. In addition, this passage also introduced the interactive visual simulation of the system through the Proteus.
 
Keywords: MCU, Keyboard, LCD Module, Proteus
目录
 
摘要 I
ABSTRACT II
第1章 引言 1
 1.1 背景 1
 1.2 研究内容 2
第2章 计算器的分析与设计方案 3
 2.1 计算器的介绍 3
 2.2 系统的方案分析 3
 2.2.1 单片机的选型 4
 2.2.2 显示方案 4
 2.2.3 键盘输入方案 5
第3章 硬件设计 6
 3.1 AT89C51单片机 6
 3.1.1 AT89C51的引脚 7
 3.1.2 AT89C51的时钟电路 7
 3.1.3 AT89C51的复位电路 8
 3.2液晶显示电路 9
 3.3键盘 10
第4章 软件设计 13
4.1 主程序流程图 13
4.2 键盘扫描子程序 14
4.3 液晶显示程序 15
第5章 在PROTEUS下的系统仿真 17
5.1 PROTEUS ISIS 软件介绍 17
5.2 PROTEUS工作过程 18
5.3 PROTEUS仿真运行 18
第6章 系统测试 20
6.1 系统硬件调试 20
6.2 系统软件调试 20
6.3 系统功能测试 21
第7章 结束语 22
致谢 23
附录 电路图 25
附录 实物图 26
附录 源程序 27
页: [1]
查看完整版本: 基于单片机的计算器设计与实现