登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

基于单片机的简易计算器设计毕业论文

 2020-04-20 01:04  

摘 要

在信息和技术飞速发展的今天,单片机技术也在不断地进步,单片机在生活中的应用也是日益广泛。计算器在生活中的很多地方都不可或缺,但是究竟如何才能让计算器技术变得更加成熟,也依旧是当前研究的重要课题。与此同时,单片机由于其性能优越,在很多行业得到了广泛使用,如电子信息、科技、交通、通信等领域。它价格便宜,所以用单片机来设计一款简易电子计算器很有研究意义,也具有很强的推广性。

本次设计以51单片机为核心,采用4*4的矩阵键盘作为输入按键,最终能够进行数字的加法、减法、乘法和除法运算,并最多支持12位数字的运算,通过调试和仿真之后能够在1602液晶屏上显示输入过程和运算结果,显示结果时会显示六位数,当结果多余六位数时会以科学计数法的形式显示。

关键词:计算器 AT89C52 Proteus C语言 模拟仿真

Design of simple Calculator based on single Chip Microcomputer

Abstract

With the rapid development of information and technology, single-chip microcomputer technology is also constantly improving, and the application of single-chip microcomputer in life is becoming more and more extensive. Calculator is indispensable in many parts of life, but how to make calculator technology become more mature is still an important research topic.At the same time, because of its superior performance, single-chip microcomputer has been widely used in many industries, such as electronic information, science and technology, transportation, communications and other fields. It is cheap, so using single-chip microcomputer to design a simple electronic calculator is of great significance, but also has a strong promotion.

In this design, 51 single chip microcomputer is used as the core, and the matrix keyboard of 4*4 is used as the input keystrode. finally, the addition, subtraction, multiplication and division of numbers can be carried out, and up to 12 digits can be supported. After debugging and simulation, the input process and operation results can be displayed on the 1602 LCD screen, and the six digits will be displayed when the results are displayed, and the results will be displayed in the form of scientific counting method when the results are redundant.

Key words: calculator; AT89C52; Proteus; C language; simulation

目录

摘要 i

Abstract ii

第一章 绪论 1

1.1 系统开发的背景 1

1.2 系统开发的意义 1

1.3 设计目的 1

1.4 实现方案 1

第二章 系统总体方案和设计 2

2.1设计思路分析 2

2.2 系统总体组成及框架图 2

2.3 元器件选择以及软件介绍 3

2.3.1 主要使用的元器件 3

2.3.2 系统主要使用软件 4

2.3.3 编程电路设计平台 4

第三章 硬件电路设计 6

3.1 设计方案的确定 6

3.2 系统硬件设计 6

3.2.1 键盘电路模块 7

3.2.2 显示电路模块 7

第四章 软件设计 9

4.1主程序的设计 9

4.2 子程序模块 9

4.2.1 键盘扫描的程序设计 9

4.2.2显示模块的程序设计 15

第五章 系统的仿真与调试 17

5.1 调试步骤 17

5.2 仿真及结果验证 17

5.2.1 检测正常启动及屏幕发光 17

5.2.2 检测计算功能 18

第六章 实物的制作与测试 24

6.1 实物制作过程 24

6.2计算器的正常启动以及功能测试 24

6.2.1 检测计算器是否可以正常启动 24

6.2.2 检测计算功能 25

第七章 总结与展望 33

参考文献 34

致谢 36

第一章 绪论

1.1 系统开发的背景

科学与技术都在快速的发展,电子产品也愈发加快了更新换代的速度。而如今在我们的日常生活中,单片机的应用也是已经愈发广泛,单片机快速发展,计算器在平常的学习和生活中的需求,都促成了想要完成这次设计。如何充分的利用已经拥有的软硬件条件,设计出更方便更好用的的计算器,成为了非常重要的研究课题

1.2 系统开发的意义

随着计算器在日常生活的普及以及使用,它已经体现出来愈发重要的作用。这些也都促进了我本次想要设计基于单片机的简易计算器,希望能够利用身边拥有的软硬件来提供更多方便的服务和设计。科技的飞速发展的今天,我们已经可以只用一块简单的单片机,从而省去很多复杂繁琐的模拟电路,在当今的生活中出现了各式各样,功能各异的计算器,而且相信在未来,计算器会变得更加智能化和多样化。

1.3 设计目的

希望能够通过这次的毕业设计从而对单片机的知识有更深的认知,学习更多相关的软硬件知识。在整个毕业设计的完成过程中,对于其中程序的编写和最后的仿真等相关知识和操作都有了更多的心得体会,对于单片机的基础知识也有了更牢固的掌握,为日后的单片机学习和应用铺下了更为平整的道路。

1.4 实现方案

以上是毕业论文大纲或资料介绍,该课题完整毕业论文、开题报告、任务书、程序设计、图纸设计等资料请添加微信获取,微信号:bysjorg。

相关图片展示:

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图