单片机的简易电压表设计与制作
2016年 3 月 9 日目录
目录 1
摘要 3
abstract 3
一、引言 4
二、设计方案的选择 5
(一)功能要求和思路方案 5
(二)设计的主要思路 5
(三)系统的主要设计方案 5
三、硬件设计 6
(一)A/D转换模块 6
1.ADC0832 的主要特性 6
2.ADC0832的内部构造 7
(二)单片机系统 8
1.AT89C51性能 8
(三)电路选择 9
1.复位电路 9
2.时钟电路 10
(四)LED显示系统设计 10
1.LED的结构 10
2如何选择LED显示器 11
3.LED译码选择方式 11
(五)电路设计方案 12
四、软件设计 14
(一)主程序 14
(二)子程序 14
1.初始化模块 14
2.A/D转换模块 14
五、 仿真 16
(一)软件调试 16
(二).显示结果及误差分析 16
1.显示结果 16
2. 误差分析 18
六、硬件安装以及硬件调试 20
(一)硬件安装 20
(二)硬件调试 20
总结 22
参考文献 23
致 谢 24
附录 25
摘要
这次论文主要讲述的是数字电压表的设计以及实物操作过程,此次论文的设计主要是由单片机,LED显示模块以及A / D转换器三个部分组成。A / D转换主要由芯片ADC0832控制,然后通过控制能够把相对应的模拟电压转换成数字电压,接着把转换之后的结果再送到数据处理模块,最后再在AT89C51芯片里处理数据。此外,它控制ADC0832芯片操作。电压是日常生活中经常会遇到的东西,因此如何测电压以及测得电压的多少就会让我们获得一些信息,这样的话就能让我们对生活中电量的一些使用边的更加的方便,更
*好棒文|www.hbsrm.com +Q: ^3^5`1^9`1^6^0`7^2#
D显示模块以及A / D转换器三个部分组成。A / D转换主要由芯片ADC0832控制,然后通过控制能够把相对应的模拟电压转换成数字电压,接着把转换之后的结果再送到数据处理模块,最后再在AT89C51芯片里处理数据。此外,它控制ADC0832芯片操作。电压是日常生活中经常会遇到的东西,因此如何测电压以及测得电压的多少就会让我们获得一些信息,这样的话就能让我们对生活中电量的一些使用边的更加的方便,更加的快捷。这次设计的简易电压表跟其他电压表相比有很多方面的特点,比如说电路相对其他复杂的电压表来说比较简洁,元器件也相对比较少,成本上面也比较低,不过测量的精度相对更高些。此次设计的数字电压表主要是由一个4位7段的LED显示器来显示电压,大约可以测量出0到5V内的电压。
在本片论文的最后也提到了关于实物的制作以及一些相关的操作步骤,在设计的过程中主要用的测量物品为一节南孚电池。
关键字:单片机,数字电压表,led显示模块
abstract
This paper focuses on the design process and physical operation of the digital voltmeter, the paper is designed primarily by the microcontroller, LED display composed of three parts of the module as well as A / D converter. A / D conversion is mainly controlled by the chip ADC0832, and then be able to control the corresponding analog voltage into a digital voltage, then the result after the conversion and then sent to the data processing module, and finally the data processing T89C51 chip. In addition, it controls the ADC0832 chip operation. Voltage is something often encountered in daily life, so how to measure voltage and measured how much voltage will be for us to get some information, so we can make more convenient to use some of the electricity side of life, and more shortcut. This simple voltmeter design compared with other voltmeter characteristic in many aspects, such as circuit relative to other complex voltmeter is relatively simple, the relatively small number of components, the cost of the above is also relatively low, but the accuracy of measurement relatively higher. The design of a digital voltmeter is mainly composed of a 4-digit 7-segment LED display to show the voltage can be measured approximately 0 to 5V voltage inside.
In the films final paper also mentioned about the kind of production, an
目录 1
摘要 3
abstract 3
一、引言 4
二、设计方案的选择 5
(一)功能要求和思路方案 5
(二)设计的主要思路 5
(三)系统的主要设计方案 5
三、硬件设计 6
(一)A/D转换模块 6
1.ADC0832 的主要特性 6
2.ADC0832的内部构造 7
(二)单片机系统 8
1.AT89C51性能 8
(三)电路选择 9
1.复位电路 9
2.时钟电路 10
(四)LED显示系统设计 10
1.LED的结构 10
2如何选择LED显示器 11
3.LED译码选择方式 11
(五)电路设计方案 12
四、软件设计 14
(一)主程序 14
(二)子程序 14
1.初始化模块 14
2.A/D转换模块 14
五、 仿真 16
(一)软件调试 16
(二).显示结果及误差分析 16
1.显示结果 16
2. 误差分析 18
六、硬件安装以及硬件调试 20
(一)硬件安装 20
(二)硬件调试 20
总结 22
参考文献 23
致 谢 24
附录 25
摘要
这次论文主要讲述的是数字电压表的设计以及实物操作过程,此次论文的设计主要是由单片机,LED显示模块以及A / D转换器三个部分组成。A / D转换主要由芯片ADC0832控制,然后通过控制能够把相对应的模拟电压转换成数字电压,接着把转换之后的结果再送到数据处理模块,最后再在AT89C51芯片里处理数据。此外,它控制ADC0832芯片操作。电压是日常生活中经常会遇到的东西,因此如何测电压以及测得电压的多少就会让我们获得一些信息,这样的话就能让我们对生活中电量的一些使用边的更加的方便,更
*好棒文|www.hbsrm.com +Q: ^3^5`1^9`1^6^0`7^2#
D显示模块以及A / D转换器三个部分组成。A / D转换主要由芯片ADC0832控制,然后通过控制能够把相对应的模拟电压转换成数字电压,接着把转换之后的结果再送到数据处理模块,最后再在AT89C51芯片里处理数据。此外,它控制ADC0832芯片操作。电压是日常生活中经常会遇到的东西,因此如何测电压以及测得电压的多少就会让我们获得一些信息,这样的话就能让我们对生活中电量的一些使用边的更加的方便,更加的快捷。这次设计的简易电压表跟其他电压表相比有很多方面的特点,比如说电路相对其他复杂的电压表来说比较简洁,元器件也相对比较少,成本上面也比较低,不过测量的精度相对更高些。此次设计的数字电压表主要是由一个4位7段的LED显示器来显示电压,大约可以测量出0到5V内的电压。
在本片论文的最后也提到了关于实物的制作以及一些相关的操作步骤,在设计的过程中主要用的测量物品为一节南孚电池。
关键字:单片机,数字电压表,led显示模块
abstract
This paper focuses on the design process and physical operation of the digital voltmeter, the paper is designed primarily by the microcontroller, LED display composed of three parts of the module as well as A / D converter. A / D conversion is mainly controlled by the chip ADC0832, and then be able to control the corresponding analog voltage into a digital voltage, then the result after the conversion and then sent to the data processing module, and finally the data processing T89C51 chip. In addition, it controls the ADC0832 chip operation. Voltage is something often encountered in daily life, so how to measure voltage and measured how much voltage will be for us to get some information, so we can make more convenient to use some of the electricity side of life, and more shortcut. This simple voltmeter design compared with other voltmeter characteristic in many aspects, such as circuit relative to other complex voltmeter is relatively simple, the relatively small number of components, the cost of the above is also relatively low, but the accuracy of measurement relatively higher. The design of a digital voltmeter is mainly composed of a 4-digit 7-segment LED display to show the voltage can be measured approximately 0 to 5V voltage inside.
In the films final paper also mentioned about the kind of production, an
版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/dzxx/txgc/1310.html