- 1、本文档共46页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于51单片机简易计算器的设计
中文摘要
近几年单片机技术的发展很快,其中电子产品的更新速度迅猛。计算器是日常生活中比较的常见的电子产品之一。如何才能使计算器技术更加的成熟,充分利用已有的软件和硬件条件,设计出更出色的计算器呢。
本设计是以AT89S52单片机为核心的计算器模拟系统设计,输入采用矩阵键盘和P1.5-P1.7引脚,可以进行加、减、乘、除乘方和开方运算,并在LCD1602上显示操作过程。
科技的进步告别了以前复杂的模拟电路,一块几厘米平方的单片机可以省去很多繁琐的电路。现在应用较广泛的是科学计算器,与我们日常所用的简单计算器有较大差别,除了能进行加减乘除,科学计算器还可以进行正数的四则运算和乘方、开方运算,具有指数、对数、三角函数、反三角函数及存储等计算功能。计算器的未来是小型化和轻便化,现在市面上出现的使用太阳能电池的计算器,使用ASIC设计的计算器,如使用纯软件实现的计算器等,未来的智能化计算器将是我们的发展方向,更希望成为应用广泛的计算工具。
关键词: AT89S52单片机;LCD1602;矩阵键盘
Abstract
single-chip computer technology developing rapidly in recent years, the electronic product update speed is fast. Calculator is in daily life is one of the common electronic products. How can you make the calculator technology more mature, make full use of existing software and hardware conditions, design a better calculator?
This design is based on AT89S52 microcontroller as the core of the calculator simulation system design, input the matrix keyboard and P1.5 - P1.7 pins, could add, subtract, multiply and divide power and root operation, and on the LCD1602 display operation process.
The progress of science and technology said goodbye before complex analog circuits, a piece of a few centimeters square microcontroller can save a lot of complicated circuit. Widely used now is a scientific calculator, and we use simple calculator has a larger difference, in addition to, in addition, subtraction, multiplication, and division of scientific calculator can also be a positive number four arithmetic operations and, chengfang, root operation has the exponential, logarithmic, trigonometric function, inverse trigonometric function and computing functions such as storage. Calculators future is the miniaturization and lightweight, and now the use of solar cells appear on the market of the calculator, using an ASIC design of the calculator, such as using pure software implementation of the calculator, the future of intelligent calculator will be our development direction, more hope to become widely used com
文档评论(0)