1、 毕业设计毕业设计( (论文论文) ) ( 20102010 届届 ) 题 目 简易数字电压表的设计 学 院 专 业 班 级 学 号 学生姓名 指导教师 完成日期 2010 年 3 月 摘 要 随着单片机技术的发展,单片机广泛的应用与测量技术中。以往的 测量技术与之相比,只能将被测量通过指针式指示仪表显示测量数值, 但是指针式仪表读数不方便,且不易于实现计算机控制。本文中数字电 压表的控制系统采用 AT89S52单片机实现模拟电压信号的检测与显示, A/D 转换器采用 ADC0809为主要硬件,实现数字电压表的硬件电路与软 件设计。该系统的数字电压表电路简单,所用的元件较少,成本低,调 节工作
2、可实现自动化,还可以方便地进行8路 A/D 转换的测量,远程测量 结果传送等功能。数字电压表可以测量05V 的8路输入电压值,并在四 位 LED 数码管上轮流显示或单路显示。设计结果能实现相应的功能。 关键词 转换器; 单片机; 数码管; 数字电压表 毕业设计(论文) Abstract With SCM technology, a wide range of applications and measurement of micro-controller technology. Compared with the previous measurement techniques can only
3、 be measured through the instruction pointer instrument displays measured values, but the pointer meter readings inconvenient, and not easy to implement computer control. Digital voltage meter in this article uses the control system of AT89S52 microcontroller analog voltage signal detection and disp
4、lay, A / D converter ADC0809 as the main use of the hardware, the hardware implementation of digital voltage meter circuit and software design. The digital voltmeters circuit is simple,with using fewer components, lower cost, adjusting this system can be automated , be easily carried out 8-way A / D
5、 converter measurement, and be remitted the remote metric results and so on. Digital voltage meter can measure the 8-way 0 5V input voltage value, and four rotating LED digital tube display or a single display. Design results to achieve the corresponding functionality. Key words Conversion; SC Compu
6、ter; Digital tube; Digital Voltmeter 毕业设计(论文) 目 录 1. 引言 1 1.1 设计背景 1 1.2 设计目的 2 1.3 作品要求及功能 2 2. 总体设计 2 2.1 各模块方案选择与论证 2 2.2 总体设计框图 3 3. 系统硬件电路设计 4 3.1 单片机芯片选择 AT89S52 介绍 4 3.1.1 主要特性 . 4 3.1.2 引脚说明 . 5 3.1.3 振荡器特性 . 7 3.1.4 芯片擦除 . 7 3.2 A/D 转换模块设计 8 3.2.1 ADC0809A/D 功能描述 8 3.2.2 ADC0809A/D 工作原理 9 3.2.3 ADC0809 应用说明 9 3.3 电压显示电路 9 3.4 时钟电路设计 10 3.5 复位电路设计 11 4. 系统程序设计 12 4.1 软件总体框架设计 12 4.2 模/数转换测量子程序 12 4.3 LED 显示子程序. 13 5. 制作与调试 14 5.1 硬件电路的布线与焊接 14 毕业设计(论文) 5.2 调试 15 5.