- 1、本文档共36页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单片机单总线多传器温度智能检测系统设计
单总线多传感器温度智能检测系统设计
摘 要
本系统设计了基于单总线的温度检测系统。针对温度智能化控制将智能传感器检测和单片机控制结合,设计了基于单片机的温度检测系统设计方案。通过单总线温度传感器及单总线模数转换器采集现场的数据,该控制器采用低功耗单片机AT89S52进行检测与控制。选用DS18B20数字传感器对温度进行采样和转换,增强了电路的可靠性,也提高了测量精度通过一块液晶显示器实时显示环境信息,并应用RS-485网络把数据传送给上位机,通过上位机进行远程的数据采集处理。数据采集的精度最高可达16位,且可以编程设置。单总线技术组网十分方便,维护也很简单,为当今的数据采集系统提供了一种新的方案。
关键词:单总线;DS18B20;MCS-51
Single bus temperature sensor chip more intelligent detection system design
ABSTRACT
The system is designed based on a single bus, temperature measurement system. Intelligent control for the temperature sensor and the microcontroller will control the smart combination of design microcontroller based temperature measurement system design. Single bus, single bus analog temperature sensor and data acquisition field, the controller for low power MCU MC80C51 detection and control. DS18B20 digital sensor used to sample the temperature and conversion, and enhance the reliability of the circuit, but also to improve the measurement accuracy by a liquid crystal display real-time display of environmental information, and application of RS-485 network to send data to the host computer, remotely through the PC data acquisition and processing. The accuracy of data collection up to 16 bits, and can be programmed. Single-bus network is very convenient, very simple to maintain, for todays data acquisition system provides a new program .
?
Keywords:1-wire;DS18B20;MCS-51
目 录
摘 要 I
ABSTRACT II
第一章 绪论 1
1.1 课题背景 1
1.2 课题的发展历史 1
1.3 本篇论文的内容 2
第二章 方案论证及选型 4
2.1 单片机系统方案论证 4
2.2 传感器的选择 6
2.2.1 温度传感器 6
2.3 显示器的选择 6
2.4 通信方式的选择 7
第三章 系统硬件设计 9
3.1 AT89S52单片机 9
3.1.1 AT89S52单片机的管脚排列 9
3.1.2 单片机最小系统原理图 10
3.2 PT12864M液晶显示器 10
3.2.1 模块引脚说明 11
3.2.2 接口时序 11
3.2.3 具体指令介绍 12
3.3 1-wire总线技术 12
3.3.1 单总线技术概述 12
3.3.2 单总线接口的硬件结构 13
3.3.3 单总线芯片序列号 13
3.3.4 单总线通信信号类型 14
3.3.5 单总线通信的初始化 15
3.3.6 单总线通信的ROM命令 15
3.4单总线温度传感器DS18B20 16
3.4.1概述 16
3.4.2 引脚排列图 17
3.4.3 内部结构 17
3.4.4工作原理 18
3.4.5功能命令 19
3.5 RS485通信原理 19
3.5.1 MAX1487简介: 19
3.5.2传输速率与传输距离 20
3.6电源的设计 20
第四章 系统软件设计 22
4.1主程序
文档评论(0)