毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的数字电压表设计+电路图

时间:2020-07-21 21:21来源:毕业论文
基于单片机的简易数字电压表的设计,该设计主要由三个模块组成:A/D转换模块,数据处理模块及LED显示模块,能够测量一定范围内的电压量。将输入的模拟电压量通过转换器转换成对应

摘要: 本文介绍了一种基于单片机的简易数字电压表的设计,该设计主要由三个模块组成:A/D转换模块,数据处理模块及LED显示模块,能够测量一定范围内的电压量。将输入的模拟电压量通过转换器转换成对应的数字量,然后将数字量传送给单片机进行数据处理,最后由七段数码管显示屏显示出来。通过仿真,设计的电压表能够显示出相对应的数字量。本系统所需元器件少、电路结构简易、成本耗费低,给家庭和工业提供了便利。52759

毕业论文关键词:数字电压表,模块,数据处理,七段数码管

Abstract: This article describes a simple digital volt meter based on single-chip design, the design and consists of three modules: a/d conversion module, module and LED display module, capable of measuring voltage within a certain range. Input corresponds to the analog voltage converter to convert to digital, and digital transmission to single-chip microcomputer for data processing, and finally by seven-segment digital tube display is displayed. Through the simulation, voltmeter designed to display corresponding to digital form. Our system components, circuit of simple structure, low cost less, to facilitating the domestic and industrial.

Key words : Digital voltage meter, Modules, data processing, seven-segment digital tube

目  录

1 引言 4

2 系统方案设计 4

2.1 系统总体设计方案 4

2.2 系统设计框图 4

3 系统硬件设计 5

3.1 单片机的选择 5

3.1.1 AT89C51单片机的结构和性能 6

3.1.2 AT89C51的引脚特性概述 6

3.2 A/D转换器ADC0808 8

3.2.1 逐次逼近型ADC0808转换原理 8

3.2.2 ADC0808外部引脚特性 8

3.3 时钟与复位电路 10

3.3.1 时钟电路设计及电路图 10

3.3.2 复位电路设计及电路图 10

3.4 LED显示系统设计及电路图 11

3.4.1 LED基本结构 11

3.4.2 LED显示器的选择及译码 11

3.4.3 显示器与单片机接口 12

4 系统软件设计 13

4.1 软件设计方案 13

4.2 软件设计流程图 13

4.3 系统子程序设计 14

4.3.1 初始化程序 14

4.3.2 A/D转换模块子程序 14

4.3.3 显示系统模块子程序 15

5 仿真 16

5.1 仿真步骤 16

5.2 显示结果及误差分析 16

5.2.1 显示结果 16

5.2.2 误差分析 17

结论 18

参考文献 19

致谢 20

1 引言

随着电子智能化的速度加快,电压表也顺应时代的要求逐步改良,数字电压表越来越得到工农生产业和家庭生活的青睐,数字电压表在成本、精度、测量速度、抗干扰能力方面都体现了比较大的优势,是大众不可或缺的测量仪器。不管是生产领域还是家庭使用方面,人们都开始追求成本低、精度高的数字电压表来进行测量。数字电压表扩展性强、读取数据方便,抗干扰能力好,已被广泛用于各个领域的电子测量。转换精度随着转换器的不同而改变,转换器位数越高,测量精度也越高,因此,应该尽量选择转换器位数高的。 AT89C51单片机的数字电压表设计+电路图:http://www.youerw.com/zidonghua/lunwen_56765.html

------分隔线----------------------------
推荐内容