设计简介:

项目名:防火防盗(实物)
项目编号:mcuclub-dz-185
单片机类型:STM32F103C8T6
具体功能:
1、通过DS18B20检测温度值,通过MQ-2检测烟雾值,当温度值大于设置最大值或烟雾值大于设置最大值,进行声光报警,并发送消息“发生火灾”,同时开启水泵进行灭火
2、通过人体热释电感应模块检测是否有人闯入,如果在布防的时候有人闯入,则声光报警,并发送消息“有人闯入”
3、当撤防时,室内没有人,检测到门没有上锁,则自动上锁(继电器控制门磁锁)
4、通过4*4矩阵键盘,进行密码开锁功能,可修改密码
5、通过指纹模块可进行指纹开锁功能,可添加删除指纹
6、通过OLED显示数据
7、通过WIFI模块,可将数据发送到手机端,手机端可远程开关锁,撤防布防

总字数:16671

实物链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

基于STM32的宿舍防火防盗控制系统设计

摘  要

为降低宿舍火灾和偷盗事件发生的概率,保障人类生命财产安全。本文采用软硬件结合方式,设计一款操作简单、经济适用的宿舍防火防盗报警系统。硬件采用AD进行设计,选用是STM32为主控芯片;选用烟雾、红外人体、温度等传感器件,进行数据采集模块的设计;选用蜂鸣器和LED灯,进行报警模块的设计;选用按键和OLED显示模块相互配合,进行预设值、实时监测值的设置和显示。软件采用KeiluVision4进行设计,设计好主程序和子程序,用主程序调用子程序,完成程序的修改和调试。实物测试表明,在烟雾浓度、温度不低于预设值和有人入侵的情况发生时,都会发出声光报警,并控制继电器启动水泵进行灭火,当检测到需要进行指纹开锁时,通过继电器控制门锁打开,本设计基本实现了系统预设的功能。该系统及时有效的了解火灾的特点及报警措施,为预防火灾和偷盗事件、降低经济财产损失,具有重大意义。

关键词STM32;传感器;WiFi;防火防盗


Design and implementation of fire prevention and theft prevention based on STM32

ABSTRACT

In order to reduce the probability of dormitory fire and theft, to ensure the safety of human life and property. In this paper, hardware and software are combined to design a simple and economical dormitory fire alarm system. The hardware is designed with AD, and STM32 is selected as the main control chip. Smoke, infrared body, temperature and other sensors are used to design the data acquisition module. Buzzer and LED lights are selected to design the alarm module. Buttons and OLED display module are selected to cooperate with each other to set and display preset values and real-time monitoring values. KeiluVision4 was used to design the software. The main program and subprogram were designed, and the subprogram was called by the main program to complete the modification and debugging of the program. The physical test shows that, when the smoke concentration and temperature are not lower than the preset value and someone invade the situation, the sound and light alarm will be issued, and the relay will be controlled to start the water pump to extinguish the fire. When fingerprint unlocking is detected, the door lock will be opened through the relay control. This design basically realizes the preset function of the system. The system timely and effectively understand the characteristics of fire and alarm measures, in order to prevent fire and theft events, reduce economic property losses, has great significance.

Key wordsSTM32; Sensor; WiFi; Fire prevention and theft prevention

目录

第1章 绪论 1

1.1 课题背景和意义 1

1.2 国内外研究现状 2

1.3 项目的设计任务 3

第2章 总体方案设计 4

2.1 系统主要模块方案选择 4

2.1.1 主控芯片方案选择 4

2.1.2 显示模块方案选择 4

2.1.3 MQ-2气体检测模块方案选择 5

2.1.4 温度检测模块方案选择 5

2.2 系统总体设计思路 5

3 系统硬件设计 7

3.1系统硬件总体设计 7

3.2 主控模块电路设计 7

3.3 DS18B20湿度检测模块电路设计 9

3.4 人体热释电红外感应电路模块设计 10

3.5 OLED显示模块电路设计 10

3.6 MQ-2 气体检测模块电路 11

3.7 声光报警检测模块电路 12

3.8 矩阵按键模块电路 12

3.9 指纹模块电路 13

3.10 WIFI模块电路设计 13

4 系统软件设计 15

4.1 编程软件介绍 15

4.2 系统主流程设计 15

4.3 矩阵键盘子流程 17

4.4 温度检测模块子流程 18

4.5 OLED显示流程设计 18

4.6 WiFi模块子流程设计 19

4.7云平台产品及设备接入简介 20

5 实物制作与调试过程 22

5.1 整体实物测试图 22

5.2 温度监测模块测试 22

5.3 MQ-2监测实物测试 24

5.4 人体热释电红外感应模块实物测试 25

5.5 指纹模块实物测试 26

5.6 WiFi通信实物测试 27

结    论 28

致   谢 29

参  考  文  献 30

附录A: 原理图 31

附录B:PCB 32

附录C:程序 33

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源