- 1、本文档共34页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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,its 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-chi
您可能关注的文档
- 模具的发展毕论文外文翻译.doc
- 模具设计与制造业设计外文翻译.doc
- 模具零件加工工艺设计程序设计毕业设计.doc
- 模块3-Unit1Teworldofoursenses导学案.docx
- 模块化安全铁路信号计算机联锁统毕业论文外文翻译.doc
- 模块化柔性加工系统的设计实现毕业论文.doc
- 模拟量数据采集EA毕业论文.docx
- 模糊数学在毕业论文定中的应用毕业论文.doc
- 模糊控制在锅炉汽系统中的应用毕业论文.docx
- 模板法制备三维贵属微纳米材料及其催化性质研究硕士论文.docx
- 2025年ARVR能源行业安全培训与虚拟现实演练白皮书.docx
- 地铁防水劳务分包工程承包书.docx
- 地铁防水劳务分包工程承包书.docx
- 相关基础怀化供电段王雪电力系统用户26课件.pptx
- unit 1 enjoy the colorful campus life单元享受五颜六色.pdf
- 2025年ARVR技术白皮书:内容生态建设与产业应用前景展望.docx
- 2025-2026年度上海市第一人民医院全科住培基地第一年出科考C卷测试题及答案.docx
- 宠物医院兽医职业发展规划与支持合同.docx
- 2025年ARVR技术白皮书:内容生态建设与产业应用前景研究.docx
- 2025年ARVR技术在虚拟现实社交中的应用场景分析.docx
文档评论(0)