摘 要:在科技的不断进步发展中,单片机已经广泛应用到我们的生活当中去,对其来说,这无疑是一种相对成熟的技术。本文主要介绍了一个基于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管单刀双掷开关设计

单片机数字红外测距系统设计+电路图+程序

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

AT89S52单片机车内空气检测系统设计+源代码

拉力采集上位机软件开发任务书

高校网球场馆运营管理初探【1805字】

多元化刑事简易程序构建探讨【9365字】

《醉青春》导演作品阐述

谷度酒庄消费者回访调查问卷表

辩护律师的作证义务和保...

中国古代秘书擅权的发展和恶变

国内外无刷直流电动机研究现状

浅谈传统人文精神茬大學...

浅谈新形势下妇产科护理...