基于STM32的家居安全防盗报警系统的设计
基于STM32的家居安全防盗报警系统的设计(程序,电路图)(论文10000字,程序,电路图)
摘 要
家居安全防盗报警系统属于智能家居的重要应用,智能家居系统是以家庭为单位,实现智能化传感技术、计算机网络技术、物联网技术、自动化控制理论、现代化信息通信技术等技术的综合应用。本文将结合单片机技术,探讨基于STM32的家居安全防盗报警系统,本设计采用STM32F103单片机作为主控制器,并结合SIM800 GSM通信模块,红外传感器,按键,蜂鸣器等构成整个系统,在功能上,用户可以通过按键打开或者关闭系统的防护,在开启状态下,如果红外传感器检测到异常人员则通过蜂鸣器进行报警提示,并通过GSM模块发送信息到用户的手机上。
本系统从原理图绘制,C语言编写入手,完成了基于STM32的家居安全防盗报警系统实物模型的制作,并对其核心功能进行测试,通过测试本系统实现了预期效果,具有一定的应用价值。
关键词:单片机;防盗;报警;红外;GSM
Abstract
The home security alarm system is an important application of smart home, which is a comprehensive application of intelligent sensing technology, computer network technology, Internet of Things technology, automation control theory, modern information communication technology, and other technologies based on the family. This article will explore a home security alarm system based on STM32 using single-chip microcomputer technology. This design uses STM32F103 single-chip microcomputer as the main controller, and combines SIM800 GSM communication module, infrared sensor, buttons, buzzer, etc. to constitute the entire system. Functionally, users can turn on or off the protection of the system by pressing buttons. In the open state, If the infrared sensor detects an abnormal person, it will give an alarm through a buzzer and send information to the user's mobile phone through the GSM module. [资料来源:www.doc163.com]
Starting with schematic drawing and C language writing, this system has completed the production of a physical model of a home security alarm system based on STM32, and tested its core functions. Through testing, the system has achieved the expected effect, with certain application value.
Keywords: Single chip microcomputer; Anti theft; call the police; infra-red; GSM
目录
1 绪论 6
1.1课题研究的目的及意义 6
1.2国内外研究现状 6
1.3本文要工作内容 8
2 总体设计 9
2.1系统的功能及方案设计 9
2.2主控制器方案设计 9
2.3通信方案选择 10
3 硬件电路设计 12
3.1 单片机最小系统 12
3.2按键模块 14
3.3 LED模块 14
3.4GSM报警电路设计 15
3.5人体检测电路 15
3.6报警电路 16
4 软件设计 17
4.1主程序设计 17
4.2主程序设计 17
4.3 GSM通信程序设计 18
5 系统测试 20
5.1 硬件调试 20
5.2 软件调试 20
总结 22
参考文献 23
致 谢 24
[资料来源:http://doc163.com]