设计说明书
总字数:17000+
本论文设计了一种基于STC89C52单片机的多功能安防系统,该系统通过集成火焰传感器、烟雾传感器、可燃气体传感器、震动传感器和分离式红外对射管等多种传感器,实现对环境中火灾、烟雾、可燃气体泄露、撬门和翻墙等异常情况的及时监测与报警。系统在检测到异常情况时,通过继电器控制水泵灭火、风扇通风,并通过声光报警向用户发出警示。此外,用户可以通过按键设置不同的阈值,同时,系统还通过显示屏显示相关数据和异常情况的提示信息。另外,系统具备无线功能,通过GSM模块实现在异常情况下向用户发送及时的短信通知。论文详细介绍了系统的硬件设计与软件编程,并通过实验验证了系统的可靠性和稳定性,该安防系统适用于各种需要安全保障的场所,具有广泛的应用前景。
关键词:STC89C52单片机;智能安防;传感器;继电器控制;GSM通信
This paper presents the design of a multi-functional security system based on the STC89C52 microcontroller. The system integrates various sensors including flame sensor, smoke sensor, combustible gas sensor, vibration sensor, and separate infrared photoelectric beam detector to achieve real-time monitoring and alarm for fire, smoke, gas leakage, door tampering, and wall climbing in the environment. When abnormal conditions are detected, the system controls the water pump for fire extinguishing and fan for ventilation through relays while issuing audio-visual alarms to alert users. Additionally, users can set different thresholds using buttons. The system also displays relevant data and alerts on a screen. Moreover, the system incorporates wireless functionality with a GSM module to send timely SMS notifications to users during abnormal situations. This paper provides detailed descriptions of hardware design and software programming along with experimental validation of the system’s reliability and stability. The proposed security system is applicable to various locations requiring safety measures and holds promising prospects for widespread applications.
Keywords: STC89C52 microcontroller; intelligent security; sensors; relay control; GSM communication.
目 录
基于STC89C52单片机的多功能安防系统设计与实现
摘 要
ABSTRACT
1 绪论
1.1 选题背景及实际意义
1.2 国内外发展历程
1.3 课题研究的主要内容
2 系统设计方案
2.1整体方案设计
2.2 主要元器件选择
2.2.1 主控芯片的选择
2.2.2 烟雾传感器的选择
2.2.3 可燃气传感器模块的选择
2.2.4 显示模块的选择
3 硬件设计
3.1 主控电路设计
3.2火焰检测模块电路设计
3.3 烟雾检测模块电路设计
3.4 可燃气检测模块电路设计
3.5震动模块电路设计
3.6分离式开关模块电路设计
3.7 显示模块电路设计
3.8 独立按键模块电路设计
3.9 继电器模块电路设计
3.10 GSM发送短信模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 A/D模数转换子流程
4.5 LCD1602液晶显示子流程
4.6 GSM流程设计
5 实物制作与调试过程
5.1 火焰检测功能实物测试
5.2 烟雾检测功能实物测试
5.3 可燃气体检测功能实物测试
5.4 检测是否有人撬门实物测试
5.5 检测是否有人翻墙实物测试
总结与展望
致谢
参考文献
附录
附录一: 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!