基于51单片机设计建议计算器代码已验证

上传人:aa****6 文档编号:33633470 上传时间:2018-02-16 格式:DOC 页数:66 大小:1.01MB
返回 下载 相关 举报
基于51单片机设计建议计算器代码已验证_第1页
第1页 / 共66页
基于51单片机设计建议计算器代码已验证_第2页
第2页 / 共66页
基于51单片机设计建议计算器代码已验证_第3页
第3页 / 共66页
基于51单片机设计建议计算器代码已验证_第4页
第4页 / 共66页
基于51单片机设计建议计算器代码已验证_第5页
第5页 / 共66页
点击查看更多>>
资源描述

《基于51单片机设计建议计算器代码已验证》由会员分享,可在线阅读,更多相关《基于51单片机设计建议计算器代码已验证(66页珍藏版)》请在金锄头文库上搜索。

1、河南科技大学本科毕业设计(论文)I简易计算器的设计摘 要近几年单片机技术的发展很快,其中,电子产品的更新速度迅猛。计算器是日常生活中比较常见的电子产品之一。如何才能使计算器技术更加的成熟,充分利用已有的硬件和软件条件,设计出更出色的计算器。本文介绍的计算器是以单片机为核心设计的一个通用计算器。程序编写采用keil 软件,把整个系统划分成模块,各个模块分别仿真,最后添加到主程序中。该系统通过检测矩阵键盘扫描,判断是否按键,经数据转换把数值送入液晶显示屏 1602 显示,该计算器能实现加、减、乘除以及连加连减等功能;能显示整个计算过程;操作的过程以及相应的显示和日常生活中所用的通用计算器一样。主要

2、内容可以分为:基于单片机简易计算器的基本功能,同时对矩阵键盘及液晶显示屏显示原理进行了简单的阐述;介绍了系统的总体设计、给出了系统的整体流程框图,并对其进行了功能模块划分及所采用的元器件进行了详细说明;利用单片机来设计电子计算器比较简单,而且单片机的计算速度完全能够满足本设计的要求。计算器的未来是小型化和轻便化,现在市面上出现的使用太阳能电池的计算器,使用 ASIC 设计的计算器,如使用纯软件实现的计算器等,智能化计算器将是未来的发展方向。 关键词:计算器,单片机,计算,键盘,液晶显示屏,仿真河南科技大学本科毕业设计(论文)IIThe Design of Simple CalculatorAB

3、STRACTSocial development is very fast; in an era of rapid technological change, Calculator has been in thousands of households for decades, the calculator has a history of one hundred years.This paper introduces the calculator is based on SCM as a general-purpose calculator core design. The program

4、is written by keil software, the whole is divided into modules, and simulation, finally added to the main program. The detection of matrix keyboard is scanned, the data conversion to put into 1602 LCD display, the calculator can be achieved, subtraction, multiplication and division, and even added a

5、 reduction function; can display the whole calculation process; general calculator operation of the process and the corresponding display and in daily life. The main content can be divided into:The basic function of single chip microcomputer based on simple calculator, the matrix keyboard and LCD di

6、splay principle is described;The system gives the whole process of the system diagram, and has carried on the division of function modules and components used in detail.To design calculator is simple by using single chip microcomputer, and the speed of MCU can meets the requirements of the design, t

7、he calculator is the future of the miniaturization and lightweight, the calculator appeared on the market using cells, using ASIC to design the calculator, such as the use of pure software implementation of the calculator.KEY WORD:Calculator, SCM, calculation, keyboard, LCD display, Simulation河南科技大学

8、本科毕业设计(论文)III目 录前 言 .1第 1 章 绪论 .21.1 研究背景 .21.1.1 单片机发展现状 .21.1.2 计算器系统现状 .31.1.3 选题意义及现状 .41.2 设计概要任务指标 .4一、 设计目标 .4二、 设计任务指标 .41.3 系统总体设计方案 .5第 2 章 硬件设计 .62.1 元器件介绍 .62.1.1 单片机简介 .62.2 LCD1602 液晶显示屏 .92.3 设计方案比较及确定 .112.4 模块设计 .122.4.1 键盘输入模块的设计方案及确定 .122.4.2 LCD 显示模块设计方案比较及确定 .132.4.3 清零、开平方、开立方功能模块设计 .152.4.4 电源模块设计 .16第 3 章 软件设计 .173.1 外围程序模块设计 .183.1.1 显示程序设计 .183.1.2 键盘扫描程序设计 .183.2 清零程序设计 .193.3 开方、平方、立方程序设计 .20第 4 章 系统仿真及验证 .21河南科技大学本科毕业设计(论文)IV结 论 .27参考文献 .28致 谢 .30附 录 .

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

当前位置:首页 > 学术论文 > 毕业论文

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