学士学位论文___简易计算器的设计.doc
文本预览下载声明
简易计算器的设计
摘 要
近几年单片机技术的发展很快,其中,电子产品的更新速度迅猛。计算器是日常生活中比较常见的电子产品之一。如何才能使计算器技术更加的成熟,充分利用已有的硬件和软件条件,设计出更出色的计算器。
本文介绍的计算器是以单片机为核心设计的一个通用计算器。程序编写采用keil软件,把整个系统划分成模块,各个模块分别仿真,最后添加到主程序中。该系统通过检测矩阵键盘扫描,判断是否按键,经数据转换把数值送入液晶显示屏1602显示,该计算器能实现加、减、乘除以及连加连减等功能;能显示整个计算过程;操作的过程以及相应的显示和日常生活中所用的通用计算器一样。主要内容可以分为:
基于单片机简易计算器的基本功能,同时对矩阵键盘及液晶显示屏显示原理进行了简单的阐述;
介绍了系统的总体设计、给出了系统的整体流程框图,并对其进行了功能模块划分及所采用的元器件进行了详细说明;
利用单片机来设计电子计算器比较简单,而且单片机的计算速度完全能够满足本设计的要求。计算器的未来是小型化和轻便化,现在市面上出现的使用太阳能电池的计算器,使用ASIC设计的计算器,如使用纯软件实现的计算器等,智能化计算器将是未来的发展方向The Design of Simple Calculator
ABSTRACT
Social 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 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 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 display?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, the 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:Calculato
显示全部