急求!设计数字电压表,要求能够测量0-5V电压能够通过数码管显示被测量的值.谢谢啦~~

发布时间:2021-02-26 00:32:23

急求!设计数字电压表,要求能够测量0-5V电压能够通过数码管显示被测量的值.谢谢啦~~

网友回答

看看这个合不合你胃口:
https://www.iccavr./forum/dispbbs.asp?BoardID=2&ID=21449&replyID=&skin=1
也是测量0-5V的
======以下答案可供参考======
供参考答案1:
用一个带A/D转换接口的单片机轻松实现。
供参考答案2:
目录摘要及关键词……………………………………………………………… 2
一、实现方案……………………………………………………………… 3
1.硬件选择方案……………………………………………………… 4
2.程序设计…………………………………………………………… 12
二、系统的测试与结果…………………………………………………… 17
三、调试过程及问题解决方法…………………………………………… 18
四、课题设计的收获及心得……………………………………………… 18
参考文献…………………………………………………………………… 18
摘要: 本课题实验主要采用AT89S51芯片和ADC0809芯片来完成一个简易的数字电压表,能够对输入的0~5 V的模拟直流电压进行测量,并通过一个4位一体的7段LED数码管进行显示,测量误差约为0.02 V。该电压表的测量电路主要由三个模块组成:A/D转换模块、数据处理模块及显示控制模块。A/D转换主要由芯片ADC0809来完成,它负责把采集到的模拟量转换为相应的数字量再传送到数据处理模块。数据处理则由芯片AT89S51来完成,其负责把ADC0809传送来的数字量经一定的数据处理,产生相应的显示码送到显示模块进行显示;另外它还控制着ADC0809芯片的工作。显示模块主要由7段数码管及相应的驱动芯片(74HC245)组成,显示测量到的电压值。
关键词:简易数字电压表、ADC0809、AT89S51。
Abstract:
The experiment is mainly to make a simple digital voltage meter with the adoption of AT89S51 and ADC0809 chips which can measure the input analog DC voltage of 0~5 V . It shows the voltage through an integral digital code tube of 7 pieces of LED. The measuring error is about 0.02 V. The circuit of the Voltage meter is mainly consisted of three mould pieces: A/D converting mould piece, data processing mould piece and manifestation controlling mould piece. A/D converting is mainly pleted by the ADC0809, it converts the collected analog data into the digital data and transmits the oute to the manifestation controlling mould piece. Data processing is mainly pleted by the AT89S51chip, it processes the data produced by the ADC0809 chip and generates the right manifestation codes, also transmits the codes to the manifestation controlling mould piece. Also, the AT89S51 chip controls the ADC0809 chip to work. Manifestation controlling mould piece is mainly consisted of the digital code tube and the driving chip (74HC245), it shows the voltage measured by the voltage meter.
KEYWORDS: simple digital voltage meter , ADC0809 , AT89S51.
实现方案:本实验采用AT89S51单片机芯片配合ADC0809模/数转换芯片构成一个简易的数字电压表,原理电路如图1-1所示。该电路通过ADC0809芯片采样输入口IN0输入的0~5 V的模拟量电压,经过模/数转换后,产生相应的数字量经过其输出通道D0~D7传送给AT89S51芯片的P0口。AT89S51负责把接收到的数字量经过数据
以上问题属网友观点,不代表本站立场,仅供参考!