基于单片机的智能温控系统设计.docx
文本预览下载声明
------WORD格式-----可编辑-------
---
编 号: ____________
审定成绩:
重庆邮电大学
毕业设计(论文)
设计(论文)题目: 基于单片机的智能温控系统设计
学院名称:
自动化学院
学生姓名:
专业:
自动化
班级:
0811203
学号:
指导教师:
易纲
王大军
答辩组负责人:
耿道渠
填表时间: 二〇一六 年 六 月
重庆邮电大学教务处制
诚信承诺书
本人慎重承诺和声明:
本人在毕业设计(论文)过程中遵守学校有关规定,恪守学术规范,
在指导教师的指导下独立完成,没有剽窃和抄袭他人的学术观点、思想和
成果,未篡改研究数据,若有违规行为的发生,我愿接受学校处理,并承
担一切法律责任。
论文作者签名:
年 月 日
摘 要
单片机由于其功能的丰富和成本的低廉, 自开发以来短短几十年就融入了到了社会的各个领域。 温度作为生产过程中不可忽视的重要一环, 一直都是控制环节着重部分。本系统就是实现单片机对温度的控制和调节。
本系统设计以 STC89C51单片机为核心部件,采用 DS18B20集成温度传感器对环境温度进行实时采样测量。用数码管显示实时温度。为了适应各种变化场景,
设置了通过按键调整温度上下阈值 。如超过阈值系统将启动蜂鸣器报警, 同时开启风扇为发动机降温,使其工作在合适的温度范围内。
通过硬件电路的设计和软件程序的调试, 整个控制系统实现对环境温度的实时显示,控制和调节, 比较完整地真实的模拟了现实环境下的工作情况, 恰到好处地仿真了现实环境调节系统的工作情况。 DS18B20作为温度传感器与 AT89C51 结合实现温度检测系统,由于 18B20的测温范围为 - 55℃到 125℃,符合环境温度正常的工作温度范围, DS18B20的测量精度为 0.5 ℃,对于一些微小的温度变动也能测量,由于正常的温度上下限警戒值都在 DS18B20的测量范围内,软件设计好,蜂鸣器和小风扇安装好后, 即可实现超越警戒值的报警功能和温度调节功能。 同时该系统结构简单,具有一定的普及性。
【关键词】 温度电控系统 STC89C51单片机 DS18B20测温 数码管显示警戒报警
I
ABSTRACT
Microcontroller technology has spreaded to our lives, work, scientific research, each domain has become a relatively mature technology, this paper introduces a kind of based on MCU control of the digital temperature sensor, thermometer belongs to a multi-functional thermometer, you can set upper and lower temperature alarm, when the temperature is not in the set range, can call the police.
The system is designed to STC89C51 microcontroller as its core component, use DS18B20 integrated temperature gather temperature measure the real-time sampling, led LCD display with a higher and a lower limit on the value of real-time alert temperature, In order to adapt to changes in the scene, We set up the upper and lower buttons to adjust the temperature threshold. If the temperature is over the threshold value, the system will start the buzzer alarm, and turn on the fan for the engine to cool, make it work in a temperature range suitable.
The system hardware and software systems to achieve a real-time monitoring of the water temperature, real-time control, r
显示全部