用AT89C52单片机设计基本功能的简易计算器-毕业设计.doc

用AT89C52单片机设计基本功能的简易计算器-毕业设计.doc

  1. 1、本文档共40页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
目 录 摘 要 1 Abstract 2 引言 3 1 绪论 4 1.1系统开发的背景 4 1.2系统的开发意义 4 1.3 设计内容和章节分配 4 2 系统方案设计 5 2.1 功能介绍 5 2.1.1 基本功能 5 2.1.2扩展功能 5 2.2 方案论证与比较 5 2.2.1 控制部分的设计方案论证与选择 5 2.2.2显示电路的设计方案论证与选择 6 2.2.3键盘设计方案的选择 7 2.3系统的组成 7 2.4总体设计思想 8 3主要芯片的介绍 9 3.1 AT89C51选择及介绍 9 3.2 开发工具的介绍: 10 4硬件电路设计 11 4.1 时钟电路 11 4.2显示电路 11 4.3 按键电路 12 5软件设计 13 5.1 LCD1602 13 5.1.1 LCD1602字符发生存储器(CGROM) 13 5.1.2LCD1602显示数据寄存器(DDRAM) 14 5.2 计算器软件设计 15 5.2.1 系统总流程图 16 5.2.2算术运算程序设计 16 5.2.3数值的组成 18 5.2.4 LCD的显示方式 19 5.3仿真和调试 22 5.3.1 Keil 调试 22 5.3.2 protues对于本设计的仿真 24 结论 25 致谢 26 参考文献 27 附录(源代码) 28 近年来随着科技的飞速发展,单片机的应用正在不断深入,同时倒动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往为一个核心部件来使用,但仅单片机方面的知识是不够的,还应根据具体硬件结构,软硬件结合,来加以完善。 计算器在人们的日常生活中是比较常见的电子产品之一,基于这样的理念,本次设计是用AT89C52单片机,LCD显示器,控制按键为元件来设计的具备基本功能的简易计算器,利用此设计熟悉单片机微控制器及C语言编程,对其片资源及各个I/O端口的动能和基本用途的了解,掌握keil,protues等开发软件,以及常用的LCD显示器的使用方法和一般简单的使用方法。 Abstract With the rapid development of sicence and technology in recent years,the application of SCM is a growing,while driving more traditional contorl detectioen technology updates.In real-time detection and automatic coontrol of microcomputer application syystem,the microcontroller is ofen used as a core component,but only SCM knowledge is notenough,the structure should be based on specific hardware,software and hardware combination to be improved Calculator in people’s daily lives is one of the morecommon electronic protucts.Based on this concept,this design is AT89C51 microcontroller,LCD display,control buttons designed for the based function with a simple calculator.Familiar with using this microcontroller design and Clanguage programming microcontrollers,resources and all of its chip i/0 port functions and basic use of the understanding.Master the KEIL,PROTUES and the common use of LCD displays and general use of the keyboard Keywords AT89C51 LCD control buttons 引言 当今社会,随着人们物质生活的不断提高,电子产品已经走进了家家户户,无论是生活或学习,还是娱乐和消遣,几乎样样都离不开电子产品,大型复杂的计算能力是人脑所不能胜任的,而且比较容易出错。计算器作为一种快速通用的计算工具方便了用户的使用。计算器可谓是我们最亲密的电子伙伴之一。本设计着重在于计算器的设计和开发,为

文档评论(0)

文档分享 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档