《本科毕业论文-基于AT89S52单片机的温度检测系统设计》由会员分享,可在线阅读,更多相关《本科毕业论文-基于AT89S52单片机的温度检测系统设计(60页珍藏版)》请在金锄头文库上搜索。
1、I基于 AT89S52单片机的温度检测系统设计摘要:当今时代,单片机技术已经普及到我们的生活、工作等方方面面,已经成为了一种比较成熟的技术。温度是生产过程和日常生活中普遍而且很重要的影响因素,经常要进行温度的检测和控制,而利用单片机去进行温度检测与控制则给我们提供了方便。温度测量是温度控制系统中的基础。本文介绍了一个基于 AT89S52 单片机的温度检测系统,该系统是以 AT89S52 单片机为核心元件,外加温度采集电路、显示电路和报警电路等。温度采集电路采用单总线型数字式的温度传感器 DS18B20,DS18B20 与AT89S52 单片机结合实现最简单的温度检测与报警系统。该系统可以方便的
2、实现温度采集、温度显示、报警,并可根据需要任意设定上下限报警温度。该系统使用起来相当方便,尤其是它的抗干扰能力强,适合于恶劣环境下进行现场温度测量,有着广泛的应用前景。关键词:AT89S52 单片机;温度采集;DS18B20;报警IIDesign of Temperature Detection System Based on MicrocontrollerAbstract:Nowadays,microcontroller technology has be popular in our lives,works and so on,which has become a relatively m
3、ature technology.Temperature is a very common and important element during the production process and peoples daily lives,so we often need to check temperature and control it,but it is more convenient for us that using microcontroller to check and control temperature. Temperature measurement is the
4、basis of temperature-controlling. This paper describes a microcontroller AT89S52 which based on temperature detection system.The system is based on AT89S52 microcontroller which is a core component,and including temperature collect circuit,display circuit and alarm circuit.The temperature collect ci
5、rcuit uses a single-bus digital temperature sensor DS18B20.DS18B20 and AT89S52 combined to achieve the most simple temperature detection and alarm system.The system can easily achieve to collect temperature ,disply temperature,alarm,and also can arbitrarily set upper and lower alarm temperature. The
6、 system is very convenient to use,especially its anti-interference ability is very strong so that it suit to measure temperature in very hard environments,which has a wide range of applications. Key words:AT89S52 microcontroller; Temperature collect; DS18B20; AlarmIII目 录第 1 章 绪论 .11.1 课题背景及意义 .11.2
7、国内外研究的现状 .11.3 研究设计的主要内容 .2第 2 章 系统方案论证与比较 .42.1 温度传感器的选择 .42.2 显示器的选择 .42.3 单片机的选择 .52.3.1 凌阳单片机 .52.3.2 AT89S52 单片机 .5第 3 章 温度测量的基本原理 .63.1 温度测量的几种方法 .63.2 数字温度传感器 DS18B20 的测温原理 .6第 4 章 主要芯片及技术介绍 .94.1 AT89S52 单片机介绍 .94.1.1 主要功能特性 .94.1.2 各引脚功能及管脚电压 .94.2 1-WIRE 总线技术 .134.2.1 单总线技术概述 .134.2.2 单总线接口的硬件结构 .134.2.3 单总线芯片序列号 .144.3 DS18B20 介绍 .144.3.1 DS18B20 的特性 .144.3.2 DS18B20 的外形和内部结构 .154.3.3 DS18B20 的使用方法 .