目录
摘要 I
Abstract II
1 绪论 1
国内外测温状况 1
温度检测技术介绍 2
课题研究的主要内容 3
2 设计方案 4
方案1 4
方案2 5
方案比较与选择 5
3 设计原理及结构 6
DS18B20结构及工作原理 6
10
LED显示器简介 11
LED显示器工作原理 11
LED显示电路 12
系统结构及工作原理 13
系统硬件原理图及相关说明 13
系统软件算法说明 14
系统程序的设计 15
程序模块设计 15
温度数据的计算处理方法 19
4 结束语 20
致谢 21
参考文献 22
附录 23
摘要
温度作为一个重要的物理量,是工业生产过程中最普遍、最重要的工艺参数之一,所以温度测量技术和测量仪器的研究是一个重要的课题。随着时代的进步和发展,单片机技术已经伸入到各个领域,基于单片机数字温度计与传统的温度计相比,具有读数方便,测温范围广,其输出温度采用数字显示,本文将介绍一种基于单片机控制的数字温度计。
笔者仔细研究了美国Dallas公司开发的一线总线技术及其通信协议。本文首先详细介绍了一线总线智能温度传感器DS18B20及单片机工作原理,在此基础上,设计了相应的硬件原理图及软件程序,实现了温度检测与显示环节。文章最后对整个设计过程中所涉及的问题及所学到的知识进行了总结。
关键词:一线总线,单片机,数字温度传感器,DS18B20
Abstract
As an important physics quantity, temperature is one of the most widespread and important parameters in industry production. It is a very important subject to research the technology and instrument of measure temperature. Along with the time progressed, the SCMC technology has been already popularized in many fields. Compared with the traditional thermometer, The digital thermometer is more convenient in reading and has lager range in measuring temperature. Its output of temperature uses the numeral to display. This article introduces a kind of digital thermometer based on SCMC.
The author studied the 1-wire bus technology and munication protocol developed by the Dallas pany in USA. This article describes the working principles of DS18B20 and SCMC, base on which, the author designed the corresponding software and hardware to realize a digital thermometer. At the end of this article, the paper makes a summary of the problems involved in this design and the knowledge acquired from it.
Keywords:1–wire bus, SCMC, Digital Temperature sensor, DS18B20
1 绪论
“工欲善其事,必先利其器”,这是中国的一句古话,人们早就知道工具的重要性。随着以知识经济为特征的信息时代的到来,人们对仪器仪表作用的认识愈加深入。作为工业自动化技术工具的自动化仪表与控制装置,在高新技术的推动下,正跨入真正的数字化、智能化、网络化的时代。而温度作为一个重要的物理量,是工业生产过程中最普遍、最重要的工艺参数之一。随着工业的不断发展,对温度测量的要求越来越高,而且测量的范围也越来越广,对温度的检测技术的要求也越来越
基于单片机的数字式温度计的设计 来自淘豆网m.daumloan.com转载请标明出处.