DSB多路温度检测系统.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于DS18B20的多路温度检测系统的 设计与实现 摘要 为了达到测量和检测多处温度值,就要求主系统连接多个温度传感器,由于主系统和配件之间连接器上的空闲引脚通常极为有限,要想在不增加连接器复杂度和成本的条件下给系统增加外设识别和控制功能就成为一项极具挑战性的任务。作为拥有1-Wire的DS18B20器件能够满足这些要求。本设计采用多个DS18B20连接在于同一条单线总线上,这可以在许多不同的地方放置多个DS18B20温度传感器进行温度检测。通过用单片机来实现对多个DS18B20的控制,从而实现温度检测,实现报警。显示部分采用了七段数码显示管进行显示,可同时对时间和温度进行显示方便观察。键盘通过对89C51的P1口直接编程来实现。 关键词:1-Wire;串行总线;七段数码显示管;温度测量 The design and implementation of the multi-temperature detection system based on DS18B20 Abstract In order to achieve measurement and testing various temperature,It requires the main system linked to a number of temperature sensors,As the main system and accessories between the connector pins are usually very limited spare, not to increase the connector complexity and cost of the conditions to increase the peripheral system to identify and control has become one of the greatest challenges of task.As with 1 - Wire the DS18B20 device can meet these requirementsThis design uses a number of DS18B20, connected with a one-way bus,which can in many different places at various DS18B20 temperature sensor to detect temperature.To achieve through the use of multiple DS18B20 control, thus realizing the temperature detection,and alarm. Demonstrate a part having adopt seven section of digital display tube to carry out the convenient observation demonstrating, but carrying out display on time and the temperature at the same time.89C51 keyboard through the P port direct programming to achieve. Key words: 1-Wire; Serial Bus ; Seven section of digital display tube; temperature survey 目录 摘要 I Abstract II 1 绪论 1 1.1 概述I2C总线的应用 1 1.2 概述单总线的应用 1 1.3 本设计的结构安排 2 2 串行总线 3 2.1 I2C总线 3 2.1.1 I2C总线工作原理 3 2.1.2 I2C总线数据传送 3 2.2 单总线 4 2.2.1 单总线多节点系统 4 2.2.2 单总线数据通信 5 3 硬件设计 6 3.1 本设计系统结构框图 6 3.2 系统的原理图 7 3.3 单片机及其管脚说明 7 3.4 用I/O口实现I2C总线协议 9 3.5 DS18B20的读写程序和单总线协议的实现 10 3.6 单片机外围电路 14 3.6.1 键盘 14 3.6.2 报警 15 3.7 三极管的简介 15 3.8 七段数码显示管 16 3.9 看门狗的原理 18 3.10 晶振电路原理 19 4 软件设计 20 4.1 工作方案简介 20 4.2 主程序流程图 21 4.3 功能模块 22 4.4 由DS18B20完成温度检测模块 22 4.5 由DS1338完成时间读

文档评论(0)

ipad0b + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档