基于51单片机的温度报警系统设计论文.doc
文本预览下载声明
毕业设计
PAGE \* MERGEFORMAT 1
毕 业 设 计
学生姓名
学 号
系 (部)
机电工程系
专 业
机电一体化
题 目
基于51单片机的温度报警系统设计
指导教师
)
2011
年
6
月
摘 要:温度测量与控制在工业、农业、国防等行业有着广泛的应用。利用单片机技术的温度测控系统以其体积小,可靠性高而被广泛采用。本文对该测控系统进行了分析设计。
本设计采用支持ISP在线编程的AT89S52单片机作为主控芯片;温度采集器件采用单总线式的DS18B20数字温度传感器,读出的温度值为数字信号,电路简单,价格低廉;显示器件采用四位一体数码来适时显示采集到的温度值。
通过按键可以设置温度的上下限报警值,当温度超出设的范围时蜂鸣器鸣笛同时红色LED发光报警以提示温度超过极限设定值。
关键字:温度报警,单片机,DS18B20
Abstract:The temperature survey and the control in profession and so on industry, agriculture, national defense has the widespread application. Using monolithic integrated circuit technology temperature observation and control system by its volume small, the reliability is high but is widely used. This article has carried on the analysis design to this observation and control system.
The paper is proposed to use the online programming AT89S52 SCM as the main control chip. It’s very important in the system as the head to control the whole system. Monobus DS18B20 is used as the Temperature gathering devices to read the temperature, then the value as the digital signal to put in. This circuit has the followed advances such as the circuit is simple, lowcost, and display devices is quaternity digital LED to have better visual result. Through the buttons can set the boundary value of the temperature. What’s more, when the temperature exceeds the scope of set temperature, the buzzer and the LED would work to give an alarm.
Keywords: temperature alarm,SCM, DS18B20
目 录
TOC \o 1-3 \f \h \z \u HYPERLINK \l _Toc 1 引言 PAGEREF _Toc \h 4
HYPERLINK \l _Toc 2 概述 PAGEREF _Toc \h 4
HYPERLINK \l _Toc 2.1 课题研究的目的及意义 PAGEREF _Toc \h 4
HYPERLINK \l _Toc 2.2 课题研究现状分析 PAGEREF _Toc \h 5
HYPERLINK \l _Toc 2.3 技术指标 PAGEREF _Toc \h 5
HYPERLINK \l _Toc 3 总体设计 PAGEREF _Toc \h 5
HYPERLINK \l _Toc 3.1 系统设计方案论证 PAGEREF _Toc \h 5
HYPERLINK \l _Toc 3.2 系统结构框图 PAGEREF _Toc \h 6
HYPERLINK \l _Toc 4 系统硬件组成 PAGEREF _Toc \h 6
HYPERLINK \l _Toc 4.1 系统结构框图 PAGEREF _Toc \h 7
HYPERLINK \l _Toc 4.2
显示全部