【毕业论文设计】基于单片机STC89C52的仓库温湿度检测系统设计.doc

【毕业论文设计】基于单片机STC89C52的仓库温湿度检测系统设计.doc

  1. 1、本文档共71页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
仓库温湿度检测系统设计 摘要本设计使用STCC52单片机作为主控制模块,利用简单的外围电路来驱动。利用STCC52单片机本身强大的功能和内部,可以很方便的实现单片机与PC机间的数据传输,并能利用软件方便的,所以本设计具有很强的现实应用性。本文从理入手,详细阐述了过程,以及硬件电路的设计、计算和软件的算法。 关键词串行传输erial Data Transfer;单总线 1-wire interface Abstract This design as the main STC8952 of single-chip control module, using a simple external circuit to drive the 1-Wire bus, the use of 1-Wire bus protocol, to achieve a more accurate measurement of temperature. The use of MCS STC89C52 powerful features and its own internal RAM resources, it is easy to achieve single-chip and PC data transfer between aircraft and the use of software to facilitate the realization of the logic to determine the 1-Wire bus ROM search, the realization of the temperature measurement device enumeration 18B20, no intervention to achieve a dynamic temperature measurement point cut, so the design of practical application. In addition,the system did not complete humidity testing. This article from the 1-Wire bus starting with the principle, described in detail 1-Wire bus ROM search process, as well as the design of hardware circuits, computing and software algorithms. Keywords :DS18B20; Single-chip MCU ;Serial transmission Serial Data Transfer;monobus 1-wire interface 目 录 摘要 I Abstract II 目 录 III 第1章 绪 论 1 1.1选题背景 1 1.2设计过程及工艺要求 2 1.2.1基本功能 2 1.2.2主要技术参数 2 第2章 系统总体设计 3 2.1温度传感器的选择 3 2.2信号采集 4 2.2.1 DS18B20基本知识 4 2.2.2 DS18B20产品的特点 4 2.2.3 DS18B20的引脚介绍 4 2.3信号分析与处理 5 2.3.1单总线的实现 5 2.3.2 DS18B20的使用 7 2.3.3 DS18B20的应用电路 11 2.3.4单片机89C52 14 2.3.5 MAX232电平转换芯片特点 18 2.3.6单片机与PC间通信接口电路设计 20 2.3.7过限指示 20 第3章 软件设计 22 3.1 1-Wire总线协议处理 22 3.2 1-Wire CRC 校验处理 28 3.3 1-Wire 器件的ROM搜索 29 3.4 ‘FIRST’操作 38 3.5 ‘NEXT’操作 38 3.6数据传输 39 第4章 总结 41 社会经济效益分析 42 参考文献 43 致谢 45 附录A 程序清单 46 附录B PCB板图 65 第1章 绪 论 1.1选题背景 防潮、防霉、防腐、防爆是粮库日常工作的重要内容,是衡量粮库管理质量的重要指标。它直接影响到储备物资的寿命和工作可靠性。 为保证日常工作的顺利进行,首要问题是加强仓库内温度的监测工作,因为温度的升高,就意味着粮库内的有氧呼吸的加强,就意味着马上就要发生腐烂霉变。因此我们需要一种造价低廉、使用方便且测量准确的温度测量仪。 在我们的印象中,温度的测量不外乎由传感器、放大器、数码显示、报警器等单元组成。但是通过实际的考察,现实的系统根本不是这个样子:由于粮食要定期的通过熏蒸来除虫、防鼠,

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档