目录
摘要 II
ABSTRACT III
引言 I
第一章智能温度传感器DS18B20 2
2
(1-Wire Bus)技术简介 2
2
3
5
DS18B20综述 5
DS18B20工作过程及时序 8
8
b. ROM操作命令 8
c. 存储器操作命令 10
11
12
64位ROM的CRC码 13
温度数据的计算处理方法 14
第二章技术解决方案及系统的设计实现 16
16
16
18
2 .4软件设计 20
主程序 20
读出温度子程序 21
温度转换命令子程序 22
计算温度子程序 22
显示数据刷新子程序 23
传感器读写程序 23
第三章调试,性能分析 26
结论 28
致谢 29
参考文献 30
附录程序清单 31
译文 41
摘要
温度是一种最基本的环境参数,人们的生活与环境的温度息息相关,在工业生产过程中需要实时测量温度,在农业生产中也离不开温度的测量,因此研究温度的测量方法和装置具有重要的意义。测量温度的关键是温度传感器,温度传感器的发展经历了三个发展阶段:①传统的分立式温度传感器,②模拟集成温度传感器,③智能集成温度传感器。目前,国际上新型温度传感器正从模拟式向数字式,从集成化向智能化、网络化的方向飞速发展。采用理论探讨与实际开发相结合的方法,仔细研究了美国DALLAS公司开发的一线总线技术及其通信协议。本课题主要研究智能集成温度传感器DS18B20的结构特征及控制方法,并对以此传感器,89C2051单片机为控制器构成的温度采集系统。该装置适用于人们的日常生活和工、农业生产的温度测量,并具有一定的报警功能。
关键词:一线总线单片机数字温度传感器
Abstract
Temperature is a basic environmental parameters, and is important for the people's livelihood and the environment , in the process of industrial production in real time measurements of temperature needs in agricultural production is also tied to temperature measurements, the temperature measurement methods and devices research is of great signifinance. The key of temperature measurements is temperature sensors, temperature sensors developed through three stages of development : First, the traditional separation of temperature sensors, Second, analog integrated temperature sensors, Third,wisdom integrated temperature sensors. Currently, international new temperature sensors from analogue to digital , from the integrated to intelligence, and rapid development work-based direction. Explore the theory and practice of using bination of methods to examine the development of the first . companies Dallas bus technology and munication protocols. The main research topics are wisdom integrated temperature sensors DS18B20’s structural characteristic
基于单片机的论文控制毕业论文 来自淘豆网m.daumloan.com转载请标明出处.