单片机课程设计报告数字电压表.

University of South China

单片机课程设计报告

设计课题: 基于单片机的数字电压表设计 专业班级: 电卓103班 学生姓名: 李文帅 指导教师: 朱卫华 设计时间: 2012年1月10日

1

内 容 摘 要

电压表是测量仪器中不可缺少的设备,目前广泛应用的是采用专用集成电路实现的数字电压表。本系统以8051单片机为核心,以逐次逼近式A/D转换器ADC0809、数码管显示器为主体,设计了一款简易的数字电压表,能够测量0~5V的直流电压,最小分辨率为0.02V。

该设计大体分为以下几个部分,同时,各部分选择使用的主要元器件确定如下:

1、单片机部分。使用常见的8051单片机,同时根据需要设计单片机电路。 2、测量部分。该部分是实验的重点,要求将外部采集的模拟信号转换成数字信号,通过单片机的处理显示在显示器上,该部分决定了数字电压表的精度等主要技术指标。根据需要本设计采用逐次逼近型A∕D转换器ADC0809进行模数转换。

3、数码管显示部分。其中一位为整数部分,其余位小数部分。

索引关键词:8051 模数转换 数码管显示

2

Contents Abstract

The voltmeter is indispensable in measuring instruments and equipment, is widely used digital voltmeter ASIC implementation. 8051, successive approximation type A / D converter ADC0809 digital tube display as the main design of a simple digital voltmeter capable of measuring 0 to 5V DC voltage, minimum resolution of 0.02V . The design is divided into several parts, each part of the main components selected for use are determined as follows:

1, microcontroller part. Using a common 8051, according to the need to design a microcontroller circuit.

2, the measurement section. This part is the focus of the experiment, require external acquisition of the analog signal is converted into a digital signal through the microcontroller of the processing and display on the display, the portion determines the main technical indicators such as the precision of the digital voltmeter. According to the needs of the design using successive approximation type A / D converter ADC0809 analog-to-digital conversion.

3, the digital display section. One for the integer part, the remaining bits of the fractional part.

Index Keywords: 8051 Analog-to-digital Conversion digital display.

3

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4