没有合适的资源?快使用搜索试试~ 我知道了~
1066.基于单片机的温度报警系统.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 171 浏览量
2023-05-20
23:30:20
上传
评论
收藏 1.36MB DOC 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/87804100/0001-c969453adc2e1b0a152a9bf4e42d0b03_thumbnail-wide.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
56页
1066.基于单片机的温度报警系统.doc
资源推荐
资源详情
资源评论
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/release/download_crawler_static/87804100/bg1.jpg)
I
基于 18B20 温度报警系统毕业设计
摘要
温度的检测与控制是工业生产过程中比较典型的应用之一,随着传感器在生
产和生活中的更加广泛的应用,利用新型单总线式数字温度传感器实现对温度的
测试与控制得到更快的开发,本文设计了一种基于 AT89C51 的温度检测及报警系
统。该系统将多个单总线温度传感器 DS18B20 并接在控制器的一个端口上,对各
个传感器温度进行循环采集,将采集到的温度值与设定值进行比较,当超出设定
的上限温度时,通过 ISD1420 语音电路给出语音提示及报警信号。文中给出了单
根数据线上扩展多个温度传感器的设计方法,并给出了系统实现的硬件原理图及
软件流程图。经实验测试表明,该系统测量精度高、抗干扰能力强、报警及时准
确,具有一定的参考价值。该系统设计和布线简单,结构紧凑,体积小,重量轻,
抗干扰能力强,性价比高,扩展方便,在大型仓库,工厂,智能化建筑等领域的
多点温度检测中有广阔的应用前景。
关键词:数字温度传感器;单总线;通信协议;DS18B20;AT89C2051;LED 显示
器;报警信号。
![](https://csdnimg.cn/release/download_crawler_static/87804100/bg2.jpg)
II
Based on the 18B20 temperature alarm system design
Abstract
Temperature detection and control of industrial production process, one of
the more typical applications, with sensors in production and life is more widely used,
using a new single-bus digital temperature sensor to achieve the test and control the
temperature more rapidly development, this paper is designed based on AT89C51
temperature detection and alarm systems. The system will be more than a single-bus
temperature sensor DS18B20 and connected to a port on the controller, the
temperature sensors on each loop collection, the temperature will be collected to
compare with the set value, when the temperature exceeds the upper limit set ,
through the ISD1420 voice circuit gives voice prompts and alarm signal. In this paper,
a single data lines extend multiple temperature sensor design methods and gives the
system implementation of hardware and software flow diagram. The experimental
tests show that this high accuracy, strong anti-interference ability, alarm timely and
accurate, with a certain reference value. The system design and layout simple and
compact structure, small size, light weight, anti-jamming capability, cost-effective to
expand convenience, in large warehouses, factories, construction and other areas of
intelligent multi-point temperature measurement in a wide range of applications
prospects.
Key words: digital temperature sensor; single bus; communication protocols;
DS18B20; AT89C2051; LED display; alarm signal.
![](https://csdnimg.cn/release/download_crawler_static/87804100/bg3.jpg)
III
目录
摘要 ...............................................................................................................................I
ABSTRACT ..................................................................................................................II
第一章:绪论..............................................................................................................1
1.1:课题背景 .........................................................................................................1
1.2:温度检测与及报警系统的国内外状况 .........................................................1
1.3:温度参数、温度检测和语音报警 .................................................................3
1.3.1 温度参数.................................................................................................3
1.3.2 温度检测...................................................................................................3
1.3.3 语音报警...................................................................................................3
第二章:系统总体设计方案................................................................................4
2.1 单片机语音温度报警系统的总体设计 .........................................................4
2.2 系统的基本工作过程........................................................................................4
第三章:单片机温度控制和语音报警系统硬件设计 .................................5
3.1 温度控制和报警主机........................................................................................5
3.1.1 主控制单片机............................................................................................5
3.1.2 AT89S52 特点 ...........................................................................................5
3.1.3 AT89S52 主要功能特性: ....................................................................6
3.1.4 温度检测和报警主机硬件电路设计.......................................................9
3.1.5 单片机及复位键控制模块......................................................................10
3.2 语音电路..........................................................................................................11
3.2.1 ISD1420 芯片简述 ..................................................................................11
3.2.2 芯片引脚介绍.........................................................................................12
3.2.3 芯片工作原理.........................................................................................13
3.2.4 芯片工作模式.........................................................................................13
3.2.5 语音电路设计..........................................................................................14
![](https://csdnimg.cn/release/download_crawler_static/87804100/bg4.jpg)
IV
3.3 DS18B20 芯片简介..........................................................................................14
3.3.1 温度传感器的历史及简介......................................................................14
3.3.2 DS18B20 性能特点与内部结构 .............................................................15
3.3.3 DS18B20 工作时序 .................................................................................20
3.3.4 DS18B20 的操作协议 .............................................................................22
3.3.5 DS18B20 序列号编码 .............................................................................24
3.3.6 DS18B20 的测温原理 .............................................................................24
3.3.7 DS18B20 的测温流程 .............................................................................26
3.3.8 DS18B20 数据校验与纠错 .....................................................................26
3.3.9 DS18B20 在测温系统中的应用 ..........................................................28
3.3.10 测温系统的硬件工作原理....................................................................28
3.3.11 注意事项.............................................................................................28
第四章软件设计 .....................................................................................................29
4.1 设计思路 .......................................................................................................29
4.2 程序设计 ........................................................................................................31
4.2.1 主程序.....................................................................................................31
4.2.2 读出温度子程序.....................................................................................31
4.2.3 温度转化命令子程序..............................................................................32
4.2.4 计算温度子程序......................................................................................32
4.2.5 显示数据刷新子程序..............................................................................33
4.2.6 LED 显示程序模块 .................................................................................33
第五章:系统调试.................................................................................................34
5.1 硬件调试 .......................................................................................................34
5.1.1 硬件静态的调试...................................................................................34
5.1.2 系统硬件调试.......................................................................................35
5.2 软件调试 .......................................................................................................35
5.3 软硬联调 ........................................................................................................35
![](https://csdnimg.cn/release/download_crawler_static/87804100/bg5.jpg)
V
结 论 ...................................................................................................................36
致 谢 ...................................................................................................................37
参考文献 ...................................................................................................................38
附 录 ...................................................................................................................39
剩余55页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/0f6678fd621d49d7980fa0d943a3871c_qq_63964231.jpg!1)
白茶丫
- 粉丝: 4w+
- 资源: 1859
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)