本科生毕业论文(设计) 题目: 基于单片机的直流数字电压表 学 部 信息科学与工程学部 学科门类 工学 专 业 电气工程及其自动化 学 号 2025480358 姓 名 牛传贝 指导老师 李梅 装订线河北大学工商学院2025 年 5 月 21 日基于单片机的直流数字电压表摘 要本文介绍一种基于 AT89C51 单片机为主要控制器件,采纳 ADC0809 高精度、逐次逼近式 A/D 转换器的 8 路直流式数字电压表。主要包括硬件电路设计和软件设计两部分。硬件电路主要由四个模块组成:通路选择模块、A/D 转换模块、数据处理模块以及显示模块。通路选择模块主要由按键选择电路组成,负责 8 路模拟通道的选择。A/D 转换模块采纳 ADC0809 完成,负责把采集到的模拟量转换为相应的数字量再传送到数据处理模块。数据处理模块则由 AT89C51 完成,其对 ADC0809 传送来的数字量进行一定的数据处理,产生相应的显示码送到显示模块进行显示,并负责控制 ADC0809 和读取按键的工作。输出显示模块采纳 4 位一体的 7 段 LED 数码管,负责将所选通道数以及该通道电压值显示在数码管上。软件设计部分主要包括主程序以及初始化程序,按键读取程序,中断程序,显示程序等几个子程序模块。通过按键的选择,该数字电压表可以测量 8 路模拟电压值,在多点巡回检测和过程控制、运动控制中应用十分广泛。关键词:单片机;数字电压表;A/D 转换;ADC0809Design of DC Digital Voltmeter Based on Single-chip MicrocontrollerAbstractThis paper introduces a kind of new method about DC digital voltmeter which takes the Micro Controller Unit AT89C51 as the primary control component and uses the high-precision, successive approximation A/D converter ADC0809. It mainly included hardware circuit design and software design. The hardware circuit is mainly composed by four modules: path selection module, A/D conversion module, data processing module and display module. Channel selection module composed of a key selection circuit, which is used for the selection of 8 analog channels. A/D conversion module uses ADC0809 to finish. It puts the analog conversion for the digital quantity, ...