论文题目:基于单片机数字电压表的硬件设计专 业:微电子学本 科 生:韦晓艳 (签名)____指导老师:王媛彬 (签名)____摘 要本系统主要采纳 AT89C52 芯片和 ADC0809 芯片来完成一个数字电压表设计,能够对输入的 0~5 V 的模拟直流电压进行测量,并通过一个 4 位一体的 8 段 LED 数码管进行轮流显示或单路选择显示,测量误差约为 0.02 V。还可以与 PC 进行串行通信。该电压表的测量电路主要由三个模块组成:A/D 转换模块、数据处理模块及显示控制模块。A/D转换主要由芯片 ADC0809 来完成,它负责把采集到的模拟量转换为相应的数字量再传送到数据处理模块。数据处理则由芯片 AT89C52 来完成,其负责把 ADC0809 传送来的数字量经一定的数据处理,产生相应的显示码送到显示模块进行显示;另外它还通过 P2 端口控制着 ADC0809 芯片的模拟通道地址、A/D 转换控制信号和时钟信号。显示模块主要由 8 段数码管组成,显示测量到的电压值。 最终,该系统达到设计的目的,高精度的显示了所测量的电压值,并可以通过按键开关准确无误的轮流或单路显示 8(IN0~IN7 )个通道。关键词:数字电压表,单片机,A/D 转换,LED 数码管,数据处理Subject: Based on single-chip digital voltage meter of the hardware designSpecialty: MicroelectronicsName: WeiXiaoYan (Signature) ____Instructor: WangYuanBin (Signature)____ ABSTRACT In the system AT89C52 chip and ADC0809 chip are mainly used to complete the design of a digital voltage meter, The measurement from the digital voltage meter can be carried out at the arrange of the input 0~5V analog DC voltage, and 4 through a one paragraph 8 digital tube LED take turns to display take turns or one-way choose to display, the measurement error is about 0.02 V. The system can also communicate with PC serially. It mainly consists of three modules: A / D converter module, data processing module and the display control module. ADC0809 chip is employed for A / D conversion, and it is responsible for collecting analog signal and converting the analog...