摘要据统计,火灾的发生率正在逐年上升。其中,化工企业如果发生火灾,危害将非常大。因此,设计一个可以对这些火灾进行预警的报警器非常重要。
本次设计以LabVIEW、单片机、传感器为核心。采用MQ-2半导体烟雾传感器对气体进行检测,经过A/D转换将模拟信号转换成数字信号,而DS18B20输出的就是数字信号,可以直接被单片机接收并通过串口通信在上位机LabVIEW中显示烟雾浓度和温度,超过设定的阈值就会发出声光报警。46223
本次设计的烟雾报警器成功实现了如下功能:烟雾和温度的检测功能、LabVIEW上数据的显示功能、声光报警的功能,达到了设计的要求。此次设计的报警器经济实用、使用方便、结构简单,软硬件结合,可以在人们的生活中广泛应用。
毕业论文关键词:单片机;传感器;LabVIEW;报警
ABSTRACT
According to statistics, the incidence of fires is increasing year by year. Among them, if a fire occurs in chemical industry,hards will be very large. Therefore, the design of an economical and practical, easy to use, simple structure, these fire warning alarm can be very important.
This design with LabVIEW, microcontroller, sensors at its core.Using MQ-2 semiconductor smoke sensor detect the gas, after A / D converter to convert analog signals into digital signals, and DS18B20 output is a digital signal, can be directly received by microcontroller, and through the serial communication show smoke concentrations in the PC in LabVIEW . If exceeds a set threshold will send out sound and light alarm.
Smoke alarm in the success of this design realizes the following functions: detection of smoke and temperature function, function, the data is displayed on the LabVIEW sound and light alarm function, meet the design requirements. The design of alarm is economical and practical, easy to use, simple structure, hardware and software,  it can be widely used in people's lives.
Key words:SCM; sensor; LabVIEW; alarm
目  录
第一章  绪论    1
1.1论文研究背景、目的和意义    1
1.1.1论文研究背景    1
1.1.2论文研究目的    1
1.1.3论文研究的意义    1
1.2国内外烟雾报警器发展现状和趋势    2
1.2.1国内外烟雾报警器现状    2
1.2.2烟雾报警器发展趋势    2
1.3论文研究的主要内容    3
第二章  烟雾报警器设计方案    4
2.1系统整体设计思路    4
2.2烟雾传感器    4
2.2.1烟雾传感器的选型    4
2.2.2 MQ-2型烟雾传感器工作原理及特性参数    5
2.3 DS18B20温度传感器    7
2.3.1 DS18B20温度传感器简介    7
2.3.2 DS18B20温度传感器工作原理    7
2.4 STC89C52单片机介绍    8
第三章  系统硬件电路    9
3.1 STC89C52RC单片机最小系统电路    9
3.2信号采集及模数转换电路    9
3.3声光报警及接口通信电路    11
第四章  软件程序设计    13
4.1LABVIEW前面板设计    13
4.2LABVIEW程序框图设计    14
4.2.1VISA函数的使用和连接    14
4.2.2烟雾浓度和温度值的算法    16
4.3单片机串口通信程序    17
4.4 I2C总线通信协议驱动程序    18
4.5传感器数据读取和写入    19
结束语    22
致  谢    23
参考文献    24
上一篇:基于X86CPU串行存储器的仿真与实现+电路图+程序
下一篇:android蓝牙app设计与实现

LABVIEW虚拟FIR数字滤波器的设计

基于LabVIEW的虚拟信号发生器设计

基于LABVIEW的线阵阵列信号处理+源代码

基于LabVIEW的MUSIC频率估计方法设计

Labview+ZigBee工厂污水排放监控系统的设计

LabVIEW+71M6534H电动汽车交流充电桩的研制

Labview声卡的虚拟函数发生器的设计

国内外无刷直流电动机研究现状

辩护律师的作证义务和保...

《醉青春》导演作品阐述

中国古代秘书擅权的发展和恶变

浅谈新形势下妇产科护理...

浅谈传统人文精神茬大學...

拉力采集上位机软件开发任务书

谷度酒庄消费者回访调查问卷表

高校网球场馆运营管理初探【1805字】

多元化刑事简易程序构建探讨【9365字】