1、 毕业设计(论文)毕业设计(论文) 题题 目目: 基于单片机的电子计算器设计基于单片机的电子计算器设计 学学 院院: 电子信息学院电子信息学院 I 摘 要 计算器一般是指“电子计算器”,该名词由日文传入中国。计算器是能进行数学运 算的手持机器,拥有集成电路芯片,结构简单,功能较弱,但由于它使用方便、操 作简单、价格低廉,因而广泛运用于商业交易中,也是必备的办公用品。 近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制 检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为 一个核心部件来使用,但仅单片机方面的知识是不够的,还应根据具体硬件结构、 软硬件结合,
2、来加以完善。因此,单片机的应用已经越来越贴近生活,用单片机来 实现一些电子设计也变得容易起来。计算器在人们的日常中是比较的常见的电子产 品之一。可是它还在发展之中,以后必将出现功能更加强大的计算器,基于这样的 理念,本次设计是用单片机来设计的计算器。该设计系统是以 AT89C51 为单片机, P0 口作为输入端,外接 4X4 的键盘。通过键盘扫描来对输入数的控制,在 P1 口、 P2 口接了驱动电路,用来保证 LED 的工作正常。计算器将完成的功能有加,减, 乘,除等功能。 关键词: :计算器,单片机,LCD,矩阵键盘 II I ABSTRACT Calculator generally re
3、fers to the electronic calculator, and the term is introduced 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 c
4、ommercial transactions, and is also an essential office supplies. 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 aut
5、omatic 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, hardware and software combination to make it perfect. So the appli
6、cation of SCM is more and more close to life, so using of single chip to achieve some electronic designs also become easy. In the people daily life the calculator is one of the common electronic products. But it is still in development, it will become more powerful calculator in the future. According to such idea, the design is that SCM design calculator. The design system is based on AT89C51 microcontroller, P0 port as input, external 4X4 keyboard. In P1, P2mouth is connected