失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > 简易数字电压表设计c语言程序 简易数字电压表设计.doc

简易数字电压表设计c语言程序 简易数字电压表设计.doc

时间:2021-10-16 11:52:23

相关推荐

简易数字电压表设计c语言程序 简易数字电压表设计.doc

基于单片机的简易数字电压表的设计

PAGE 5

基于单片机的简易数字电压表的设计

摘要 本文介绍了一种基于单片机的简易数字电压表的设计。该设计主要由三个模块组成:A/D转换模块,数据处理模块及显示模块。A/D转换主要由芯片ADC0808来完成,它负责把采集到的模拟量转换为相应的数字量在传送到数据处理模块。数据处理则由芯片AT89C51来完成,其负责把ADC0808传送来的数字量经过一定的数据处理,产生相应的显示码送到显示模块进行显示;此外,它还控制着ADC0808芯片工作。

该系统的数字电压表电路简单,所用的元件较少,成本低,且测量精度和可靠性较高。此数字电压表可以测量0-5V的1路模拟直流输入电压值,并通过一个四位一体的7段数码管显示出来。

关键词 单片机;数字电压表;A/D转换;AT89C51;ADC0808

Design of Simple Digital Voltmeter Based on Single-chip Microcontroller

Tian Mingming

Abstract This paper which introduces a kind of simple digital voltmeter is based on single-chip microcontroller design. The circuit of the voltage meter is mainly consisted of three mould pieces: A/D converting mould piece, A/D converting is mainly completed by the ADC0808, it converts the collected analog data into the digital data and transmits the outcome to the manifestation controlling mould piece. Data processing is mainly completed by the AT89C51 chip, it processes the data produced by the ADC0808 chip and generates the right manifestation codes, also transmits the codes to the manifestation controlling mould piece. Also, the AT89C51 chip controls the ADC0808 chip to work.

The voltmeter features in simple electrical circuit, lower use of elements, low cost, moreover, its measuring precision and reliability. The voltmeter is capable of measuring voltage inputs from 1 route ranging from 0 to 5 volt, and displaying the measurements though a digital code tube of 7 pieces of LED.

Keywords Single-chip microcontroller; Digital voltmeter; A/D converter; AT89C51; ADC0808

目 录 TOC \o "1-2" \h \z \u

HYPERLINK \l "_Toc260

如果觉得《简易数字电压表设计c语言程序 简易数字电压表设计.doc》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。