上下限温度报警器的设计
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
摘要
在科技越来越发达的今天,可以通过各种各样的有效途径达到对不同的场合需要进行温度测量和温度控制。本文将介绍一种由单片机﹑传感器等组成的温度检测报警器。控制芯片采用AT89S51系列单片机,传感器采用一线数字温度传感器DS18B20,键盘采用扫描式非编码键盘,显示部分采用两位LED动态显示方式,用蜂鸣器作为发声报警器件。此电路设计的功能为测量两节点温度值,并可对任一节点的最高和最低温限进行设定;还可对两点之间的温度进行比较,得到温差;当某节点温度超过最高或最低温限时以及两点之间温差超过设定值时蜂鸣器发声报警,并把各节点温度值存入24C02。DS18B20的测温范围为-55°C~+125°C,测量精度为0.5°C。本文的测温范围设定在0°C~99°C,采用的显示精度为1°C。
关键词:单片机;DS18B20;AT24C02;温度;温差。
abstract
Nowadays, science and technology is more and more developed, we can reach and need to carry on temperature survey and temperature control to different occasions through various effective ways. This paper will introduce a kind of temperature measure annunciator that made up of single-chip microcomputer, sensor, etc. . Control-chip adopts the AT89S51 series single-chip microcomputer, the sensor adopts the one-line digital temperature sensor DS18B20, the keyboard adopts the scanning type uncoded keyboard, displayer adopts two dynamic display mode LED, uses buzzer as the sound-warning device. Function that circuit design in this paper is to measure two nodal temperature value, and set the most high and low-temperature limit for any chosen sensor ; Can also compare temperature between two nodes, get the difference in temperature; When some nodal temperature exceeds most high or low-temperature and two nodes’ difference in temperature prescribed in advance, buzzer sounds as warning, and reserves each sensor’s temperature. The temperature measure range of DS18B20 is -55 °c~+125°c, and the precision is 0.5°c. In this paper, we use the range of 0°c~99°c C°
, and the display precision of 1°c. [资料来源:http://think58.com]
Keywords: single-chip microcomputort; DS18B20; AT24C02; temperature; difference in temperature. [来源:http://think58.com]
目录
摘要 1
abstract 2
引言 4
1 电路原理及构成 5
1.1 方案一: 5
1.2 方案二: 5
1.3 两种方案的比较: 12
2 方案2中各部分单元器件简介 12
2.1 温度采集部分:DS18B20智能温度控制器 12
2.2 温度存储部分:I2C总线的应用 17
2.3 控制部分:AT89C51单片机 20
2.4 显示部分:七段LED显示器 24
2.5 键盘部分 27
3 电路的调试 28
3.1 硬件电路的检测 29
3.2 程序编写以及调试 29
4 结论 34
谢 辞 36
参考文献 37
附 录 38
附录1 电路原理图 38
附录2 PCB图 39
附录3 程序清单 40 [资料来源:www.THINK58.com]
[版权所有:http://think58.com]
[来源:http://think58.com]