资源预览内容
第1页 / 共48页
第2页 / 共48页
第3页 / 共48页
第4页 / 共48页
第5页 / 共48页
第6页 / 共48页
第7页 / 共48页
第8页 / 共48页
第9页 / 共48页
第10页 / 共48页
亲,该文档总共48页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
摘要本文介绍了一种基于单片机的简易数字电压表的设计。该设计主要由三个模块组成:A/D 转换模块,数据处理模块及显示模块。A/D 转换主要由芯片 ADC0809来完成,它负责把采集到的模拟量转换为相应的数字量在传送到数据处理模块。数据处理则由芯片 AT89S52 来完成,其负责把 ADC0809 传送来的数字量经过一定的数据处理,产生相应的显示码送到显示模块进行显示;此外,它还控制着ADC0809 芯片工作。该系统的数字电压表电路简单,所用的元件较少,成本低,且测量精度和可靠性较高。此数字电压表可以测量 0-5V 的 1 路模拟直流输入电压值,并通过一个四位一体的 7 段数码管显示出来。 关键词:关键词: 单片机单片机 数字电压表数字电压表 A/DA/D 转换转换 AT89S52AT89S52 ADC0809ADC0809AbstractAbstractThis paper which introduces a kind of simple digital voltmeter is based on single-chip microcontroller design. The circuit of the voltage meter is mainly consisted of three mould pieces: A/D converting mould piece, A/D converting is mainly completed by the ADC0809, it converts the collected analog data into the digital data and transmits the outcome to the manifestation controlling mould piece. Data processing is mainly completed by the AT89S52 chip, it processes the data produced by the ADC0809 chip and generates the right manifestation codes, also transmits the codes to the manifestation controlling mould piece. Also, the AT89S52 chip controls the ADC0809 chip to work. The voltmeter features in simple electrical circuit, lower use of elements, low cost, moreover, its measuring precision and reliability. The voltmeter is capable of measuring voltage inputs from 1 route ranging from 0 to 5 volt, and displaying the measurements though a digital code tube of 7 pieces of LED.Keywords:Single-chip microcontroller Digital voltmeter A/D converter AT89S52 ADC0809 目录第一章第一章 绪论绪论 .1 11.1 数字电压表设计方案选择 .11.2 单片机的选择 .11.2.1 内部结构的变化.21.2.2 功耗、封装及电源电压的发展.21.2.3 工艺上的发展.31.3 以单片机为核心的嵌入式系统 .31.4 本研究课题的发展趋势 .3第二章第二章 设计总体方案设计总体方案 .5 52.1 数字电压表的设计要求 .52.2 设计思路.5第三章第三章 硬件电路的设计硬件电路的设计 .7 73.1 ADC0809 的简介 .73.1.1 ADC0809 概述.73.1.2 A/D 转换模块.73.1.3 逐次逼近型 A/D 转换器原理.73.1.4 ADC0809 主要特性 .83.1.5 内部结构 .83.1.6 外部特性(引脚功能) .83.1.7 ADC0809 的工作过程 .93.2 AT89S52 性能 .103.2.1 AT89S52 主要功能.103.2.2 AT89S52 各引脚功能.113.3 复位电路和时钟电路的设计.133.3.1 复位电路设计 .133.3.2 时钟电路设计 .143.4 LED 显示系统设计 .143.4.1 LED 基本结构.143.4.2 LED 显示器的选择.153.4.3 LED 译码方式.163.5 电位器.173.5.1 简介.173.5.2 原理.173.6 总体电路设计.18第四章第四章 软件设计软件设计 .21214.1 系统软件设计流程图.214.2 C 语言介绍 .224.3 系统程序代码.234.4 keil 软件调试 .264.4.1 软件介绍 .264.4.2 系统概述 .274.4.3 Keil C51 单片机软件开发系统的整体结构.274.5 仿真.274.5.1 软件调试 .274.5.2 误差分析 .284.5.3 proteus 软件介绍.294.5.4 电路仿真.31第五章第五章 系统调试系统调试 .33335.1 焊接.335.2 硬件调试 .37结结 论论 .3939致致 谢谢 .
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号