基于单片机的数字电压表设计 学 院(系): 机电工程系专 业: 自动化 1101 指 导 老师: 廖晓波学 生 姓名: 陈德兵学 号: 202540142 负 责 部分: ADC0808 [摘 要] 本文介绍了一种基于单片机的数字电压表的设计。该设计主要由三个西南科技大学城市学院CityCollegeofSouthwestUniversityOfScienceandTechnology模块组成:A/D 转换模块,数据处理模块及显示模块。A/D 转换主要由芯片 ADC0808 来完成,它负责把采集到的模拟量转换为相应的数字量再传送到数据处理模块。数据处理则由芯片 AT89C51 来完成,其负责把 ADC0808 传送来的数字量经过一定的数据处理,产生相应的显示码送到显示模块进行显示;此外,它还控制着 ADC0808 芯片工作。该系统的数字电压表电路简单,所用的元件较少,成本低,且测量精度和可靠性较高。此数字电压表经过 proteus 软件仿真和调试,可以测量 0-5V 的 1 路模拟直流输入电压值,并通过一个四位一体的 7 段数码管显示出来。 [关键词] 数字电压表;A/D 转换;AT89C51;ADC0808;proteus [summary]This paper introduces a design based on single chip microcomputer digital voltmeter.This design is mainly composed of three modules:A/D conversion module, data processing module and display module.A/D conversion is mainly competed by the chip ADC0808, It is responsible for the collection to the analog conversion to the corresponding digital quantity and then transferred to the data processing module,Data processing is done by chip AT89C51,It is responsible for the send ADC0808 to digital quantity through certain data processing,Generating the corresponding display code sent to the display module,In addition, it also controls the ADC0808 chip.The system of the digital voltmeter circuit is simple, the less components, low cost, and high measurement accuracy and reliability,The digital voltmeter through the proteus software simulation and debugging, can measure of 0 to 5 v analog dc input voltage value, and through a four one of the seven segmen...