基于AT89C51的电子计算器设计毕业设计.doc
文本预览下载声明
毕业设计说明书
基于AT89C51的电子计算器设计
专业 电子信息工程 学生姓名 **ping 班级 MZ电子101 学号 指导教师 完成日期 2014年5月30日
基于AT89C51的电子计算器设计
摘 要:当今时代,是一个高新科技研究层出不穷的新时代。以电子领域的应用为例,尤其以电子领域的自动化智能控制应用领域作为观察点,单片机的智能化控制已是快速替代这传统的数字逻辑电路或者是以分立元件构成的控制系统。也可称单片机为单片微控制器,它集成一个计算机系统到一个芯片上,是计算机的最小系统,较之于计算机它又缺少外围设备。控制器、运算器以及各种寄存器相互配合是的单片机工作,它们是单片机必要的几个组成成分。单片机集体积小、成本低、质量轻、应用广泛等众多优点于一体,是学习与工业开发的最佳选择。
本设计是一个基于AT89C51单片机控制的十进制电子计算器系统的设计。可实现结果为九位数范围内的乘、除法运算和加减数为九位,结果为十位数范围内的加、减法运算。硬件设计方面,单片机选择成本低、内部存储资源丰富的AT89C51单片机,输入数据时采用行列式按键中的4*4矩阵型按键作为输入设备,并在LCD 1602上显示出对应的运算结果。软件方面选择C语言来完成,C语言兼备着高级语言特点与汇编语言的特点,实为上选。并且最后采用proteus仿真。
关键词:AT89C51;矩阵键盘;LCD 1602;计算器
Design of electronic calculator based on AT89C51
Abstract: In modern times, it is a new era when high and new technology is developing endlessly. From the electronic field of view, especially in the field of automated intelligent control, intelligent control system is rapidly replacing the control system composed of discrete components or digital logic circuit. The micro-controller chip as the micro controller, which integrates a computer system to a chip, is the smallest computer system. Compared with the computer, it lacks the peripheral equipment. Controller, logic unit, registers and the single chip computer work with each other, and they are necessary for components of single chip microcomputer. Single chip set has the advantages of small volume, low cost, light weight and wide application, serving as the best choice for learning and the development of industry.
In this paper, decimal electronic calculator system was designed based on 8051 single chip, which achieved the results of multiplication and division within the scope of nine digits, and addition and subtraction within the scope of ten digits. In terms of hardware design, AT89C51 of low cost and rich internal storage resources was adopted. During input data, key determinant of the 4 * 4 matrix type button was used as an input device, and the results were showed on LCD 1602. In terms of software, C la
显示全部