摘要:随着时代的进步和发展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术。本文主要介绍了一个基于AT89c51单片机的温度报警系统,详细描述了利用温度传感器DS18B20开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,对各部分的电路也一一进行了介绍。该系统可以方便的实现温度采集和显示,并可根据需要任意设定报警温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工、农业生产中的温度控制,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。DS18B20与AT89c51结合实现最简温度控制系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度的控制,有广泛的应用前景。91913
毕业论文关键词:单片机;温度控制;AT89c51;DS18B20
Abstract:Along with the progress and development of The Times, microcontroller technology has spread to our life, work, scientific research, each domain, has become a more mature technology。This paper mainly introduces a temperature alarm system based on AT89c51, describes in detail by using temperature sensor DS18B20 temperature measurement and control system in the development process, the key of sensor under the single chip microcomputer hardware connection, software programming and the flow diagram of each module system are analyzed in detail, on the part of the circuit are introduced one by one。The system can easily realize temperature acquisition and display, and can according to need any set alarm temperature, it is quite convenient to use and has high precision, wide range, high sensitivity, small volume, low power consumption, suitable for our daily life and industrial and agricultural production in the temperature control, also can be treated as a temperature module embedded in other systems, as an aid in the extension of other main system。 DS18B20 with AT89c51 achieve the minimalist temperature control system, the system structure is simple, strong anti-jamming capability, suitable for harsh environments for site control of temperature, have broad application prospects。源G于J优L尔V论N文M网WwW.youeRw.com 原文+QQ75201`8766
Key words: Single chip microcomputer; Temperature control; AT89c51; DS18B20
目 录
1引言 3
1。1课题背景 3
1。2课题意义 3
1。3课题内容 4
2系统硬件组成 4
2。1系统概述 4
2。2主控芯片介绍 5
2。2。1AT89C51单片机简介与特点 5
2。2。2AT89C51各引脚功能说明 6
2。2。3AT89C51单片机主要性能参数 7
2。3温度采集模块 7
2。3。1DS18B20基本介绍 7
2。3。2DS18B20内部结构 8
2。3。3DS18B20控制方法 9
2。3。4DS18B20供电方式 10
2。3。5温度传感器DS18B20的测温原理 10
2。4晶振电路 11
2。5复位电路 12
2。6显示模块 51单片机的温控恒温箱设计+电路图:http://www.youerw.com/zidonghua/lunwen_199491.html