1、 本科毕业设计论文本科毕业设计论文 题目题目: 基于单片机的数字电压表设计基于单片机的数字电压表设计 院、院、 系:系: 光电工程学院光电工程学院 学科专业:学科专业: 光电信息工程光电信息工程 学学 生:生: 2008 年 6 月 I 基于单片机的数字电压表设计基于单片机的数字电压表设计 摘摘 要要 在日常维修、教学和科研中,电压表是不可缺少的。本课题目的就是以单片 机为基础设计出一种结构简单、工作可靠、灵活性好的数字电压表。 本文首先介绍了数字电压表的发展现状及课题的目的和意义。然后,对基于 单片机的数字电压表的硬件系统、 软件系统的设计原理及具体实现方案作以详细 介绍,其中,在硬件部分,
2、较为详细的讨论了硬件的选择、设计原理、使用方法 和功能,同时,对各部分接口电路作以介绍;在软件部分,介绍了软件所使用的 编程语言和编程思路。最后,对电路调试、印刷 PCB 板的制作及系统的抗干扰设 计作了进一步分析和总结。 本文设计的数字电压表,其硬件电路所用元件较少、成本低、调节简单;软 件采用 C 语言编程,其灵活性高,可读性强。经过理论研究、原理设计和整机调 试,实验结果表明,该方案可行。 关键词关键词:单片机; 电压表; A/D 转换器;串行总线 II D De esignsign ofof D Digital igital V Voltage oltage M Meter Based
3、 on eter Based on MCUMCU AbstractAbstract In routine maintenance, teaching and research, voltage meter is indispensable. A direct current digital voltage meter has been designed, which is based on MCU, and has a simple structure, reliable, flexible. Firstly,this paper introduced the development of t
4、he base on MCU digital voltage meter and the purpose and significance of topic. Then in details this paper described the design principle of hardware and software systems. And in details the hardware part present a discussion in hardware selection, design principles, instructions and the function, further more, some of the interface circuit have been introduced. The software part introduced the programming language and programming ideas used in codes. Finally, the circui