设计简介:
项目名:防火防盗(实物)
项目编号: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 words:STM32; Sensor; WiFi; Fire prevention and theft prevention
目录
第1章 绪论 1
第2章 总体方案设计 4
3 系统硬件设计 7
4 系统软件设计 15
5 实物制作与调试过程 22
结 论 28
致 谢 29
参 考 文 献 30