基于单片机的ds18b20的温度控制系统毕业论文

上传人:aa****6 文档编号:38148561 上传时间:2018-04-27 格式:DOC 页数:46 大小:944.50KB
返回 下载 相关 举报
基于单片机的ds18b20的温度控制系统毕业论文_第1页
第1页 / 共46页
基于单片机的ds18b20的温度控制系统毕业论文_第2页
第2页 / 共46页
基于单片机的ds18b20的温度控制系统毕业论文_第3页
第3页 / 共46页
基于单片机的ds18b20的温度控制系统毕业论文_第4页
第4页 / 共46页
基于单片机的ds18b20的温度控制系统毕业论文_第5页
第5页 / 共46页
点击查看更多>>
资源描述

《基于单片机的ds18b20的温度控制系统毕业论文》由会员分享,可在线阅读,更多相关《基于单片机的ds18b20的温度控制系统毕业论文(46页珍藏版)》请在金锄头文库上搜索。

1、河北大学 2012 届本科生毕业论文(设计)基于单片机的 DS18B20 的温度控制系统摘 要随着社会的发展,自动控制越来越受人们的关注,温度的控制系统也成为人们备受关注的焦点之一。无论是在日常生活中各种家用电器或是工业生产中的生产设备都需要在一定的温度范围内才能正常工作,如果长期工作在温度不合适的环境中,设备的工作寿命将大大受损,甚至会引发更严重的后果。因此设计一个以监控、控制正在工作的电气设备周围环境温度为目的的温度控制系统具有非常大的实际意义。本系统利用 AT89C51 单片机作为主控制器分别实现对电气设备工作温度的实时采集、温度值的显示、报警及停止电气设备工作等功能。系统采用数字温度传

2、感器 DS18B20 采集温度数据,LCD 液晶显示屏显示设定的温度范围的上下限值和当前测量值,可通过按键以 1的步进增加或降低温度范围的上、下限值。当系统测得的温度高于设定的温度上限值或者低于温度设定的下限值时,单片机控制报警电路报警同时驱动继电器器关闭电气设备,从而实现了对于电气设备工作温度的测量及控制的目的。关键词:单片机;DS18B20;温度测量;实时控制河北大学 2012 届本科生毕业论文(设计)Design of DS18B20 Temperature Control System Based on MicrocontrollerABSTRACTWith the developme

3、nt of the society, the autocontrol becomes more and more important. The control of temperature is also becomes one of the focus of attention. Both the house appliances and the industrial production equipment must work in proper temperature range. The equipment will be broke down if it works in the i

4、nappropriate environment for a long time. Therefore the temperature control system aimed at monitoring and controlling of the electrical equipments ambient temperature has a very large practical significance.This control system bases on AT89C51 single chip and DS18B20 digital temperature sensor. Ado

5、pting the AT89C51 microcontroller in the system to collected temperature from the environment positions realizes the temperature display and alarm function. Applying AT89C51 microcontroller based as main control chip, it realizes the multi-temperature testing by using of digital temperature sensor D

6、S18B20, and the temperature settings can be change by the key-presses with 1 step. At the time the system use a LCD display module to show the measured temperature. When the system measured temperature is higher than the set temperature upper limit or below the temperature lower limit the system wil

7、l alarm and turn off the electrical equipment.Key words: microcontroller;DS18B20;temperature measurement;real-time control河北大学 2012 届本科生毕业论文(设计)目 录1 概述.11.1 设计任务.11.2 设计要求.11.3 系统设计基础 .11.3.1 AT89C51 单片机的介绍.11.3.2 数字传感器 DS18B20 的介绍 .32 系统的硬件设计.62.1 系统硬件整体设计.62.2 主控模块电路设计.62.3 温度采集模块电路设计.72.4 液晶显示模块设

8、计.82.5 控制模块电路设计.82.6 报警模块电路设计.92.7 按键模块电路设计.93 系统的软件设计.113. 系统软件设计的整体思想.113.2 系统主程序的设计.12河北大学 2012 届本科生毕业论文(设计)3.3 数字传感器 DS18B20 的程序设计.133.31 数字传感器 DS18B20 的测温流程.133.3.2 数字传感器 DS18B20 程序设计.143.4 LCD 液晶显示模块程序设计.153.5 按键模块程序设计.173.6 温度比较子程序的设计.174 系统仿真.1841 仿真软件 PROTEUS 简介.184.1.1 PROTEUS 软件功能特点.184.1.2 PROTEUS 提供的资源.184.2 系统仿真结果.194.2.1 设定温度上、下限值.194.2.2 查看设定温度范围上的、下限值.194.2.3 改变设定温度范围上的上、下限值.204.2.4 模拟系统报警控制高压电路.205 结论.22参考文献.23致 谢.24附 录.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号