应用电子技术毕业设计论文基于单片机的数字式热敏电阻温度计设计.doc
文本预览下载声明
电子工程学院
毕业论文(设计)
课 题 数字式热敏电阻温度计
教 研 室 电子教研室
专 业 应用电子技术
班 级 08级应用电子班
学生姓名 学号
导师姓名 职称 助 教
2011年 1月 9 日
摘 要
温度作为一个重要的物理量,是工业生产过程中最普遍、最重要的工艺参数之一,所以温度测量技术和测量仪器的研究是一个重要的课题。随着时代的进步和发展,单片机技术已经伸入到各个领域,基于单片机数字温度计与传统的温度计相比,具有读数方便,测温范围广,其输出温度采用数字显示。
该论文仔细研究了美国Dallas公司开发的一线总线技术及其通信协议。论文首先详细介绍了一线总线智能温度传感器DS18B20及单片机工作原理,在此基础上,设计了相应的硬件原理图及软件程序,实现了温度检测与显示环节。
关键词:单片机,数字温度传感器,DS18B20
Abstract
Temperature as an important physics, industrial production process in the most general, one of the most important parameters, so the temperature measurement technology and measurement instrument research is an important topic. With the progress of The Times and development, microcontroller technology has dipped into various areas, based on single-chip digital thermometer and traditional thermometer readings, compared with convenient, temperature measurement range, its output temperature using digital display.
This paper studied the American Dallas company development 1-wire bus technology and communication protocols. It firstly introduces in detail 1-wire bus intelligent temperature sensor DS18B20 and single-chip microcomputer principle, on this basis, the corresponding hardware design principle diagram and software program, realized the temperature detection and display link.
Keywords: Microcontroller, digital temperature, sensor DS18B20
目 录
第一章 绪 论 1
1.1 课题背景 1
1.2国内外测温状况 1
1.3温度检测技术介绍 3
第二章 数字式热敏电阻温度计的设计方案 5
2.1 方案一 5
2.2 方案二 6
2.3方案比较与选择 7
第三章 设计原理与结构 7
3.1 DS18B20结构及工作原理 7
3.2单片机介绍 13
3.3 LED显示器简介 15
3.4 LED显示器工作原理 16
第四章 系统结构及工作原理 18
4.1系统硬件原理图及相关说明 18
4.2系统软件算法说明 19
第五章 系统程序的设计 21
5.1程序模块设计 21
5.2温度数据的计算处理方法 26
总 结 28
参 考 文 献 30
致 谢 31
附 录 32
第一章 绪 论
1.1 课题背景?
“工欲善其事,必先利其器”,这是中国的一句古话,人们早就知道工具的重要性。随着以知识经济为特征的信息时代的到来,人们对仪器仪表作用的认识愈加深入。作为工业自动化技术工具的自动化仪表与控制装置,在高新技术的推动下,正跨入真正的数字化、智能化、网络化的时代。而温度作为一个重要的物理量,是工业生产过程中最普遍、最重要的工艺参数之一。随着工业的不断发展,对温度测量的要求越来越高,而且测量的
显示全部