基于单片机的仓库防火报警系统设计 _大学论文
- 格式:doc
- 大小:332.50 KB
- 文档页数:25
1
2015届本科毕业设计
基于单片机的仓库火灾报警系统设计
院 (系) 名 称 物理与电子信息学院
专 业 名 称 电子信息科学与技术
学 生 姓 名 刘艳艳
学 号 110524068
指 导 教 师 马海燕讲师
完 成 时 间 2015年5月8日
1 基于单片机的仓库火灾报警系统设计
刘艳艳
物理与电子信息学院 电子信息科学与技术专业 学号:110524068
指导老师:马海燕
摘要:早期的火灾报警系统是通过人的观察,例如巡逻,当有人发现了火灾时,就通过喊话或鸣铜锣通知其他的人来灭火。随着社会的进步,经济的快速发展,仓库的物资越来越多,火灾报警迫在眉睫。本设计采用智能化的火灾报警系统,以AT89C51单片机作为系统的控制核心,结合外围的烟雾传感器、温度传感器,声、光报警器、数码管显示器等电路,通过C语言编程,实现了对仓库火情的监测与自动报警。基于单片机的仓库火灾报警系统安全可靠,误报率较低,操作较方便,成本较低。
关键词:AT89C51;火灾;报警
The Design of Warehouse Fire Alarm System Based on SCM
Liu Yan-yan
College of Physics and Electronic Information Electronic Information Science and Technology
No: 110524068
Tutor: Ma Hai-yan
Abstract:Early fire alarm system is observed by people, such as patrol, when someone discovered fire, the
other people on notice to the fire by shouting or beat gong. Along with social progress, rapid economic
development, more and more warehouse supplies, fire alarm imminent. This design uses intelligent fire
alarm system to AT89C51 SCM as the control system, combined with the periphery of the smoke sensors,
temperature sensors, sound, light alarm, digital display and other circuit, through C language programming,
a warehouse fire monitoring the situation with alarm. Microcontroller-based warehouse fire alarm system is
safe and reliable, low false alarm rate, the operation more convenient and low cost.
Key words: AT89C51; fire; alarm
2 目 录
摘要 ............................................................................................................................... 1
1 引言 ........................................................................................................................... 3
2 系统总体设计方案 ................................................................................................... 3
2.1 系统的设计目标 .................................................................................................... 4
2.2 系统的总体设计方案 ............................................................................................ 4
3 主要元器件介绍 ....................................................................................................... 4
3.1 AT89C51单片机 .................................................................................................... 5
3.2 传感器介绍 ............................................................................................................ 6
3.2.1 MQ-2烟雾传感器 ............................................................................................... 6
3.2.2 DS18B20温度传感器 ......................................................................................... 8
3.3 ADC0832模数转换器 ............................................................................................ 8
4 系统硬件设计 ........................................................................................................... 9
4.1 单片机最小系统 .................................................................................................... 9
4.2 烟雾检测电路 ...................................................................................................... 10
4.3 温度检测电路 ...................................................................................................... 11
4.4 烟雾浓度显示电路 .............................................................................................. 11
4.5 光报警电路 .......................................................................................................... 12
4.6 声音报警电路 ...................................................................................................... 12
4.7 系统总电路图 ...................................................................................................... 13
5 系统软件设计 ......................................................................................................... 15
5.1 系统主流程图 ...................................................................................................... 15
5.2 烟雾浓度处理流程图 .......................................................................................... 15
5.3 温度采集流程图 .................................................................................................. 16
5.4 火灾判断与报警 .................................................................................................. 17
6 PCB板图设计 .......................................................................................................... 18
7 总结 ......................................................................................................................... 19
参考文献 ..................................................................................................................... 20
附录 ............................................................................................................................. 21