基于单片机的电子计算器本科论文.doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《基于单片机的电子计算器本科论文.doc》由会员分享,可在线阅读,更多相关《基于单片机的电子计算器本科论文.doc(22页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、毕业论文题目:基于单片机的电子计算器学校:安徽工贸职业技术学院专业:电子与信息工程系班级:机电5班学号:2011350501指导老师:刘旭摘要近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向深入,由于它具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适合于与控制有关的系统,越来越广泛地应用于自动控制,智能化仪器,仪表,数据采集,军工产品以及家用电器等各个领域,作为微型机的一个主要分支,单片机在结构上的最大特点是把CPU、RAM和ROM存储器、定时器和多种I/O接口电路集成在一块超大规模集成电路芯片上。从它的组成和功能来看,一块单片机芯片
2、其实就是一台计算机。本次设计是采用MSC-51单片机来设计的四位数计算器, 采用C语言进行程序编写实现计算器功能。外接4X4的键盘,通过键盘扫描来完成输入数的控制,利用驱动电路使数值与结果在七段共阴极数码管上正常显示,并设有清零键可随时完成计算与显示的清零。计算器将完成的0至9999整数的一次加/减/乘/除运算。执行过程如下:开机即显示0,等待键入数值,当输入数字,将通过数码管显示出来,在输入、-、*、/运算符之后,计算器在内部执行数值转换和存储,并等待再次输入数值,当在键入数值后将显示键入的数值,按等号就会在数码管上显示运算结果。关键词: 单片机 计算器 C语言 键盘扫描 。 英文摘要In
3、recent years, as computer penetration in the social field and large-scale development of integrated circuits, microcontroller applications are continually deepening, because of its powerful function, small size, low power consumption, cheap, reliable, easy to use, etc. therefore particularly suitabl
4、e for systems with control of more and more widely used in automatic control, intelligent instruments, meters, data acquisition, military products and home appliances fields, As one of the main branch of microcomputer, microcontroller in the structure of the biggest feature is the CPU, RAM and ROM m
5、emory, timer and multiple I / O interface circuit integrated on a VLSI chip. The composition and function from its point of view, a single chip is actually a computer. This design is the use of MSC-51 microcontroller to design the four-digit calculator, using C programming language to achieve calcul
6、ator functions. 4X4 external keyboard, the keyboard scan to finish by the number of control values and make the drive circuit to the cathode results in a total of seven-segment digital tube display properly, and has cleared at any time to complete key calculation and display clear. Calculator to com
7、plete an integer from 0 to 9999 plus / minus / multiply / divide. Implementation of the process is as follows: Power is displayed 0, waiting type value, when the input numbers, will come out through the digital display, the input +,-,*,/ operator, the calculator in the internal implementation of the
8、 numerical conversion and storage, and wait for the re-enter the value, when Type the value in the type of value will be displayed by an equal sign will be displayed in the digital control operation results. Key words: SCM calculator keyboard scan C language。前言计算器:一般是指“电子计算器”,该文是由日文传入中国。计算器是能进行数字运算的
9、手持的机器,拥有电子集成芯片,结构简单,功能较弱,但由于它使用方便,价格低廉,因而广泛使用商业交易中,也是必备的办公用品之一。计算器一般由运算器、控制器、存储器、键盘、显示器、电源和一些外围设备。随着科学技术的不断发展及计算器使用的普及,人们发现在工业控制中,有很多时候需要在恶劣的环境中进行各种数据的采集,运算和控制。本设计是由单片机实现模拟的计算器,它不仅能实现数据的加减乘除的运算,而且能使数据及其运算结果显示在数码管上,能实现0255的数字四则运算,本设计是由AT89C51单片机来控制的,利用键盘和LCD1602设计一个简单的电子计算器,软件部分是由汇编语言来编写,可以完成简单的加减乘除运
10、算。并将结果在LCD1602上显示出来。目录第一章 绪论1.1研究背景 1.1.1 单片机发展现状 1.1.2 计算器系统的现状 1.1.3 选题意义及现状1.2设计概要 1.2.1 设计任务1.3 设计思路 1.3.1 系统总体的模块图第二章 硬件设计2.1 键盘输入模块的设计2.2 LCD显示模块的设计2.3 电源模块的设计2.4 时钟电路的模块设计2.5复位电路的模块设计第三章 软件设计3.1 计算器的软件规划3.2 键盘扫描的程序设计3.3 显示模块的程序设计3.4主程序的设计3.5 系统的总框图结束语致谢附录一 实物图总结参考文献第一章绪论1.1 研究背景随着社会的发展,科学的进步,
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 单片机 电子 计算器 本科 论文
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内