毕业设计(论文)基于AT89S52简易计算器的设计.doc
文本预览下载声明
目录
摘要 I
Abstract II
第一章 前言 1
1.1 课题简介 1
1.2 设计目的 1
1.3 设计任务 1
第二章 方案的选择与论证 8
2.1 单片机的选择方案与论证 8
2.2 显示器的选择方案和论证 8
2.3 按键部分的选择方案和论证 8
第三章 主要器件简介 2
3.1 AT89S52单片机简介 2
3.1.1 AT89S52的主要性能 2
3.1.2 AT89S52引脚的功能介绍 2
3.2 LCD1602液晶显示器 4
3.2.1 基本功能 4
3.2.2 LCD1602基本参数及引脚功能 5
3.2.3 LCD1602 指令说明及时序 7
第四章 计算器系统设计 10
4.1 系统硬件设计 10
4.1.1 时钟电路 11
4.1.2 键盘电路 11
4.1.3 显示电路 12
4.2 系统软件设计 13
4.2.1 键扫描程序设计 13
4.2.2 算术运算程序设计 13
4.2.3 显示程序设计 13
总结 14
参考文献(references) 15
致谢 16
附录一 17
附录二 18
基于AT89S52简易计算器的设计
摘要:近些年来我国的综合实力大大的提升,经济水平的提高从而带动了我国的科技水平的迅猛发展,其中也出现了很多新型科技产品,大大改善了我们的生活水平。例如像计算器的出现很好的方便了我们的生活,它以其外观小、功能强大、轻巧简易的特点,普遍的应用于人们的生活。
本次毕业设计主要的系统控制部分我们选取AT89S52单片机作为控制芯片,用来控制计算器进行简单计算。我们将用AT89S52的P2口作为输入端,采用矩阵式键盘结构,外接一个4*4矩阵式计算器键盘按钮,然后将P0口作为输出口,P0口外接一个LCD1602液晶显示器,用来显示计算结果。
关键词:AT89S52, 4*4矩阵式键盘, LCD1602, 计算器, 简单运算
Design of Simple Calculator Based On AT89S52
Abstract:In recent years greatly enhance Chinas comprehensive strength, thus boosting the economic level of the technological level of Chinas rapid development, which also appeared in a number of new technology products, has greatly improved our standard of living. Such as calculators facilitate the emergence of good in our lives, with its appearance of small, powerful, lightweight and simple features, generally used in peoples lives.
The graduation project is the use AT89S52 microcontroller as the main control chip, can design a simple calculator for simple calculations. The AT89S52 P2 port as input a matrix keyboard configuration, an external 4 * 4 matrix calculator keypad buttons, then P0 port as output ports, P0 port an external LCD1602 LCD display is used to display the results.
Keywords:AT89D52, 4*4 matrix keyboard, LCD1602, calculator, a simple operation
第一章 前言
1.1 课题简介
现在飞速发展的社会,人们的对于生活水平不断地追求高质量,特别是电子技术的发展。例如像计算器在,在我们的日常生活中常使用的电子产品。为了设计出更简便、精确的计算器,我们要懂得学会用我们现在已有的软硬件条件,使其更好的用于我们生活中各个地方。由于单片机的体积较小还有成本较低,所
显示全部