水位检测仪设计.doc

  1. 1、本文档共34页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
水位检测仪设计

目 录 摘要 1 1 引言 2 1.1水位检测仪器的现状和发展前景 2 1.2 本文的结构安排 2 2 水位监测仪的基本原理 3 2.1功能说明 3 2.2整体架构 3 3 硬件设计 5 3.1水位检测与数据采集 5 3.2数码管与LED显示 7 3.2.1 相关芯片简介 7 3.2.2 显示部分工作原理 9 4 系统软件设计 12 4.1 初始化程序 12 4.1.1 I/O端口方向控制寄存器 12 4.1.2 TMR1初始化 12 4.1.3 TMR0初始化 13 4.2 定时/计数器 13 4.2.1 TMR1中断服务程序 14 4.2.2 TMR0中断服务程序 15 4.3 数据转换子程序 17 结束语 19 致谢 20 参考文献 21 附录 22 附录 程序清单及注释 22 水位检测仪设计 摘要:水位检测和显示仪表装置在工业上有着广泛的应用,本文设计了一种能实时检测并显示水位的仪器----水位检测仪。设计主要论述对水位数据采集系统的设计与实现,其主要功能是完成数据采集、处理、显示、数据存储等。根据对数据采集系统体系结构及功能要求的分析,以PIC16F877单片机为核心设计并实现的采集系统,结合CD4051实现对水位的检测,结构简单,实现可靠。在PIC单片机中实现了数据存储和处理,获取了当前的水位,并设计实现了数码管的驱动显示电路。该设计是基于单片机技术设计实现的低功耗水位数据采集装置,是一个具有一定实用性的实时数据采集系统。最后的实验结果验证了水位监测仪的总体设计思路及硬件、软件设计方案正确,能够准确地实现了水位的自动检测。 关键词:PIC单片机;水位检测;LED显示 Design of Water-level Detecting Meter Abstract: Water level detection and display devices has a wide range of applications in industry, this article design a real-time detection and display equipment ---- water level detector.This design focuses on the design and implementation of data acquisition system for the water level,and its main function is to complete the data collection, processing, display, data storage and so on.According to the data acquisition system architecture and functional requirements analysis,the article design and accomplish the acquisition system with simple structure using PIC16F877 single-chip as the core,it can detect the water level with CD4051 reliably.It implements the data storage and processing in the PIC MCU, access to the current water level, and design digital display drive control circuit.The design is a low-power water-level data acquisition device based on single-chip technology,it's a practical real-time data acquisition system.Finally, the experimental results verify the water level monitor the overall design ideas and hardware, software design is correct, can be achieved accurately the water level auto-detection. Keywords:PIC Single-ch

您可能关注的文档

文档评论(0)

feixiang2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档