摘 要:在科技的不断进步发展中,单片机已经广泛应用到我们的生活当中去,对其来说,这无疑是一种相对成熟的技术。本文主要介绍了一个基于STC89C52单片机的温度检测系统,介绍了温度传感器DS18B20的功能作用,并且详细的给出了其读写数据的过程,同时给出了温度的转化计算方法。软硬件设计实现温度采集和显示,它使用起来相当便利,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适用于我们日常生活的温度检测。78909

毕业论文关键词:单片机,温度显示,STC89C52,DS18B20

Abstract:With the progress of science and technology and development, microcontroller technology has been widely applied to various fields, for them, it has become a relatively mature technology。 This paper mainly introduces a temperature detection system based on STC89C52 MCU, a detailed description of the temperature sensor DS18B20 function, and gives a detailed process of the read and write data, also will be the temperature conversion calculation one by one and the detailed report。 The system can be the realization of temperature acquisition and display, very convenient, has the advantages of high precision, wide range, high sensitivity, small size, low power consumption advantages for in our daily Temperature measurement of life。

Keywords:Single chip microcomputer,temperature display,STC89C52 DS18B20 

目  录

1 绪论 5

1。1 选题的背景 5

1。2 数字温度计简介 5

1。2。1 数字温度计的特征 5

1。2。2 设计实现的目标 5

2 数字温度计的方案设计 6

2。1 设计方案论证 6

2。1。1 显示电路方案 6

2。1。2 测温电路方案 6

2。2  系统总体方案 6

3 硬件电路设计 6

3。1 主控制器STC89C52 6

3。1。1 STC89C52的简介 6

3。1。2 STC89C52的功能及特性 7

3。1。3 管脚功能说明 8

3。2  温度传感器DS18B20 9

3。2。1 DS18B20的外形 9

3。2。2 内部结构 10

3。3  复位时钟电路 11

3。4 数码管显示电路 12

4  系统软件设计 12

4。1  程序结构分析 12

4。1。1 系统程序流程图 12

4。1。2  DS18B20初始化程序流程图 13

4。1。3  读温度子程序流程图 13

4。2 温度数据转换 14

参考文献 20

附录1  整体电路原理图 22

附录2   部分源程序 23

1 绪论

1。1 选题的背景

随着科技的高速发展,现如今能够自主运行的温度测试系统开始在各种领域中使用。

上一篇:AT89C51单片机的防盗报警系统设计+程序+电路图
下一篇:ADS4-8GPIN管单刀双掷开关设计

STC89C52单片机的温度控制系统设计+电路图

STM32单片机数字回转库控制系统设计+PCB电路图

AT89C51单片机电力电缆温度...

STM32单片机的电力系统数字频率计设计+流程图

STC90C51RD+单片机的纺织机械...

单片机的纺织机械电机保护系统设计任务书

MATLAB12000HP油服船轴系温度监测与仿真开发

安康汉江网讯

老年2型糖尿病患者运动疗...

张洁小说《无字》中的女性意识

ASP.net+sqlserver企业设备管理系统设计与开发

我国风险投资的发展现状问题及对策分析

新課改下小學语文洧效阅...

互联网教育”变革路径研究进展【7972字】

麦秸秆还田和沼液灌溉对...

网络语言“XX体”研究

LiMn1-xFexPO4正极材料合成及充放电性能研究