1、 毕毕 业业 论论 文文 题目:题目:基于单片机的计算器设计 2013 年年 06 月月 15 日日 毕业设计毕业设计( (论文论文) )任务书任务书 题目 基于单片机的计算器设计 专题 51 单片机的应用 主 要 内 容 及 要 求 设计内容:设计内容: 1)确定计算器的总体设计 2)系统硬件设计 3)系统软件设计 4)系统仿真及调试 设计要求:设计要求: 能实现加、减、乘、除、开方、平方、幂运算等功能。 主 要 技 术 参 数 1)AT89S52 单片机 2)4*4 键盘 3)LCD1602 显示器 进 度 及 完 成 日 期 2013 年 4 月 1 日-2013 年 4 月 19 日,
2、查阅国内外文献,上交开题报告。 2013 年 4 月 22 日-2013 年 5 月 10 日,系统方案选择与论证,软硬件设计。 2013 年 5 月 13 日-2013 年 5 月 24 日,主要参数计算及元器件的选择,上交中期审核表。 2013 年 5 月 27 日-2013 年 6 月 05 日,完成毕业设计说明书的撰写,上交初稿。 2013 年 6 月 06 日-2013 年 6 月 15 日,根据老师意见进行修改完善。 2013 年 6 月 16 日-2013 年 6 月 20 日,论文打印,完成答辩 PPT,准备答辩。 系主任签字 日期 教研室主任签字 日期 指导教师签字 日期 指
3、 导 教 师 评 语 指导教师: 年 月 日 I II 摘摘 要要 计算器一般是指“电子计算器”,能进行数学运算的手持机器,拥有集成电路芯 片,结构简单,功能较弱,但由于它使用方便、操作简单、价格低廉,因而广泛运 用于商业交易中,也是必备的办公用品。 近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制 检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为 一个核心部件来使用,但仅单片机方面的知识是不够的,还应根据具体硬件结构、 软硬件结合,来加以完善。因此,单片机的应用已经越来越贴近生活,用单片机来 实现一些电子设计也变得容易起来。计算器在人们的日常中是比
4、较的常见的电子产 品之一。可是它还在发展之中,以后必将出现功能更加强大的计算器,基于这样的 理念,本次设计是用单片机来设计的计算器。该设计系统是以 AT89S52 为单片 机, P1 口作为输入端,外接 4X4 的键盘。通过键盘扫描来对输入数的控制,在 P0 口、P2 口接了驱动电路,用来保证 LCD 的工作正常。计算器将完成的功能有 加,减,乘,除等功能。 关键词关键词:计算器;单片机;LCD;矩阵键盘 III ABSTRACT Calculator generally refers to the electronic calculator, and the term is introduc
5、ed to China by the Japanese. The calculator with the IC chip, simple structure, and weak function is able to perform mathematical operations on handheld machine. But it is easy using, simple operation and low price. So it is widely used in commercial transactions, and is also an essential office sup
6、plies. With the rapid development of science and technology in recent years, the application of SCM is the deepening and promote the traditional controlling detection technologies that are increasingly updated. In real-time detection and automatic control of microcomputer application system, the microcontroller is often used as a core component to use, but only the knowledge of the microcontroller is not enough, and should be based on the specific hardware architecture, hardw