基 于 单 片 机 的 简 易 数 字 电 压 表 的 设 计摘要 本文介绍了一种基于单片机的简易数字电压表的设计
该设计主要由三个模块组成:A/D 转换模块,数据处理模块及显示模块
A/D 转换主要由芯片ADC0808来完成,它负责把采集到的模拟量转换为相应的数字量在传送到数据处理模块
数据处理则由芯片AT89C51来完成,其负责把ADC0808传送来的数字量经过一定的数据处理,产生相应的显示码送到显示模块进行显示;此外, 它还控制着ADC0808芯片工作
该系统的数字电压表电路简单,所用的元件较少,成本低,且测量精度和可靠性较高
此数字电压表可以测量0-5V 的1 路模拟直流输入电压值,并通过一个四位一体的7 段数码管显示出来
关键词 单片机;数字电压表;A/D 转换;AT89C51;ADC0809 Design of Simple Digital Voltmeter Based on Single-chip Microcontroller Tian MingmingAbstract This 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 ADC0808, it converts the collected analog data into the digital data and transmits the outc