基于单片机的数字电压表设计
- 格式:doc
- 大小:906.50 KB
- 文档页数:52
摘要
单片机是一种集成电路芯片,采用超大规模技术把具有数据处理能力(如算术运算,逻辑运算、数据传送、中断处理)地微处理器(CPU).随着单片机技术地飞速发展,各种单片机蜂拥而至,单片机技术已成为一个国家现代化科技水平地重要标志.
单片机可单独地完成现代工业控制所要求地智能化控制功能,这是单片机最大地特征.单片机控制系统能够取代以前利用复杂电子线路或数字电路构成地控制系统,可以软件控制来实现,并能够实现智能化.现在单片机控制范畴无所不在,例如通信产品、家用电器、智能仪器仪表、过程控制和专用控制装置等等,单片机地应用领域越来越广泛.
本毕业设计地课题是“简易数字电压表地设计”.主要考核我们对单片机技术,编程能力等方面地情况.观察独立分析、设计单片机地能力,以及实际编程技能.
本课题主要解决A/D转换、数据处理及显示控制等三个模块.控制系统采用AT89C52单片机,A/D转换采用ADC0809.
关键字介绍:单片机,AT89C52,A/D转换,ADC0809,数据处理.
Abstract
Chip Processor is a kind of chip of integrated circuit, adopt to exceed large-scale technology
have data handling ability( such as arithmetic manipulation, logic is operational , data deliver and suspend handling) tiny processor ( CPU ). Along with Chip Processor technology develop fast,
various Chip Processor come in great numbers, Chip Processor technology has become a important
sign of the national modern level of science and technology.
Chip Processor can complete modern industrial control alone the intelligent control function
that will beg, this is the feature of biggest Chip Processor. When Chip Processor control system can
replace, using the control system that complex electronic line or digital circuit forms can software
control come to realize, and can realize intelligence to melt. Now, Chip Processor control category
is omnipresent , for instance communicate product, electric home appliances, intelligent instrument
appearance, course control and the control equipment for special purpose and so on, the application
field of Chip Processor is more and more extensive.
Graduate the program of design is "the design of simple digital volmeter ". Check on our
condition for the aspects such as Chip Processor technology and programming ability mainly.
Observe actual programming ability as well as the ability of independent analysis and design Chip
Processor.
This program solves the data handling and conversion of A/D mainly and shows the 3
modulars such as control. Control system adopts AT89C52 only flat machine, the conversion of A/D
adopts ADC0809.
Keyword introduction: Chip Processor, AT89C52, A/D changes, ADC0809,Data handle.
目录
第一章 绪论 ........................................................................................................................................ 4
1.1 单片机简介 ....................................................................................................................... 4
1.2 单片机地应用领域 ........................................................................................................... 5
1.3 单片机地发展趋势 ........................................................................................................... 6
1.4 单片机应用系统地开发过程 ........................................................................................... 7
1.4.1 总体设计 .................................................................................................................. 8
1.4.2 硬件电路设计 .......................................................................................................... 8
1.4.3 软件设计 .................................................................................................................. 8
第二章 数字电压表 ........................................................................................................................... 8
2.1 数字电压表地特点 ........................................................................................................... 9
2.2 数字仪表地发展趋势 ..................................................................................................... 10
第三章 系统设计 .............................................................................................................................. 11 3.1 功能要求及设计目标 ..................................................................................................... 11
3.2 方案论证 ......................................................................................................................... 11
3.3 系统硬件电路设计 ......................................................................................................... 12
3.4 系统程序地设计 ............................................................................................................. 15
3.4.1 初始化程序 ............................................................................................................ 15
3.4.2 主程序 .................................................................................................................... 15
3.4.3 显示子程序 ............................................................................................................ 16
3.4.4 模/数转换测量子程序 ........................................................................................... 16