摘要:本设计以传感器和单片机作为烟雾报警器设计的核心器件,配合其它器件即可实现烟雾、温度报警功能。设计中单片机选用STC89C52作为控制器件,传感器选用MQ-2型半导体可燃气体敏感元件烟雾传感器实现烟雾的检测。烟雾报警器主要由烟雾信号采集及前置放大电路、模数转换电路、单片机控制电路、显示电路、声光报警电路和安全保护电路构成。论文介绍了烟雾报警系统中的各个组成部分及功能,并对其主控电路和外围设备电路之间的接口连接方式,以及系统软件设计进行了详细说明。基于单片机在烟雾报警系统设计合理、功能全面、价格低廉,具有一定的实用价值。56460
毕业论文关键字:烟雾报警器,单片机,传感器
Abstract:The design of the sensor and single-chip microcomputer as the core device smoke alarm design, with other devices can achieve sound and light alarm, automatic exhaust ventilation and fire extinguishing function.Design of single chip STC89C52 is selected as the control device, the selection of sensor for detection of MQ-2 type semiconductor gas sensitive element smoke sensor smoke.The smoke alarm is mainly composed of smoke signal acquisition and the preamplifier circuit, analog-digital conversion circuit, single-chip microcomputer control circuit, display circuit, alarm circuit and protection circuit, reasonable design, simple, low price, make full use of MCU alarm system in the control of the smoke, and has a certain practical value.This paper introduces the smoke alarm system for the various components and the function,and connection between the control circuit interface,as well as the system software design in detail.SCM in the smoke alarm system design is reasonable,comprehensive functions,low price based,and has a certain practical value.
Key words:The smoke alarm,MCU,sensor
目录
1 绪论 5
1.1 课题背景 5
1.2 设计概述 6
1.4 烟雾报警器的发展趋势 7
1.5 设计任务分析 8
2 总体方案设计 8
2.1提出设计方案 8
2.2 烟雾检测传感器选型 9
2.3 单片机选型 10
3 系统的硬件电路 10
3.1 单片机的最小系统 10
3.2 烟雾检测AD采集电路 11
3.3 温度传感器(DS18B20)电路 11
3.4 温度采集模块 17
3.5 单片机的时钟电路与复位电路设计 18
3.6 显示模块 18
3.7 声音报警电路 20
3.8 按键控制电路 20
3.9 电源模块 21
4 系统软件的设计 21
4.1 系统烟雾子程序设计及流程图 21
4.2 系统烟雾子程序设计及流程图 23
5 硬件调试及分析 23
5.1 硬件调试 24
5.1 温度传感电路调试及烟雾传感电路调试 STC89C52单片机的家庭火灾自动报警器设计+电路图+程序:http://www.751com.cn/zidonghua/lunwen_60980.html