基于单片机的简单计算器设计--软件.docxVIP

基于单片机的简单计算器设计--软件.docx

  1. 1、本文档共19页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PAGE 1 PAGE 1 摘 要 近年来,随着科学技术的飞速发展,单片机的应用也在不断的增多,同时也带动了传统控制检测技术的不断更新。现在在大多数的实时检测与自动控制方面,单片机往往作为一个核心部件来使用,但是仅仅掌握单片机方面的知识是不够的,同时,我们还需要根据具体的硬件结构与系统的结合来使用单片机。 计算机在人们的日常生活中是比较常见的电子产品之一。但是它还在不断的发展之中,基于设计一款实用的计算机这样的理念,本设计采用了AT89S52单片机为控制核心,另外采用LCD1602作为显示屏,使用4*4键盘作为输入模块,键盘上有常用的数字(0-9),小数点,加、减、乘、除。计算的结果保留到小数点后1位。 利用此设计熟悉单片机微控制器及C语言编程,对其片资源及各个I/O端口的功能和基本用途的了解。掌握C语言应用程序开发环境,常用的LCD显示器的使用方法和矩阵键盘的使用方法。 关键字:AT89S51 LCD 控制按键 Abstract? In recent years, with the rapid development of science and technology, SCM applications are constantly increasing, but also to the traditional control detection technology update. Now in the real-time detection and automatic control of the majority, the microcontroller is often used as a core component, but only the master microcontroller knowledge is not enough, at the same time, we also need to use the MCU according to specific hardware structure and system. The computer is one of common electronic products in peoples daily life. But it is still in development, design a practical computer based on this idea, this design uses the AT89S52 single chip microcomputer as control core, and uses LCD1602 as the display, use the 4*4 keyboard as an input module, a commonly used digital keyboard (0-9), a decimal point, plus, minus, multiplication, addition. The calculation results until 1 digits after the decimal point. Using this design with the single chip micro controller and C language programming, the resource and each I/O port function and use of knowledge. Master the C language application development environment, using the method of LCD display commonly used and the method of using matrix keyboard. Keywords: AT89S51 LCD control keys 目录 TOC \o 1-3 \h \u 2472 第1章 绪论 4 16152 1.1 课题简介 4 11405 1.2 设计目的 4 10509 第2章 设计方案 5 23139 2.1 设计的要求 5 12693 2.2 设计思路 5 2900 第3章 软件程序设计 6 15684 3.1 概述 6 4695 3.2 硬件仿真图 6 6440 3.3 头文件和全局变量 8 24199 3.4 主程序 9 32038 3.5矩阵键盘扫描函数 10 8324 3.6 数据处理函数及显示子函数 10 5736 第4章 系统的调试运行 12

文档评论(0)

156****6235 + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档