设计说明书
总字数:15000+
摘要
在地下室安全防护领域,及时发现漏水情况、精准掌握环境温湿度变化及可靠传递异常信息,对保护地下室设施与财产安全意义重大。传统的地下室防漏水方式多依赖人工巡检,存在响应滞后、环境监测不精准、异常信息传递不及时等问题,难以满足高效防漏水的需求。
基于 STM32F103C8T6 单片机的地下室防漏水系统,整合了雨量监测模块、DHT11 温湿度传感器、显示模块、按键及 4G 模块,实现了对地下室漏水情况的实时监测、环境温湿度的精准把控与异常信息的及时传递。系统核心功能包括:通过雨量监测模块监测是否漏水,一旦监测到漏水,立即进行声光报警,并通过 4G 模块发送短信;借助 DHT11 监测当前环境的温湿度,当温度或湿度大于设定最大值时,触发声光报警,同时通过 4G 模块发送短信;利用显示模块显示是否漏水及实时温湿度;通过按键设置温湿度阈值。
该系统的实现,有效提升了地下室防漏水的智能化与及时性,通过实时监测、自动报警、信息远程传递及便捷的参数设置,为地下室防漏水提供了可靠保障,同时为地下室安全防护领域的智能化发展提供了参考,具有较高的实用价值与推广意义。
关键词:地下室防漏水系统;STM32;实时监测;自动报警;远程信息传递
ABSTRACT
In the field of basement safety protection, timely detection of water leakage, accurate grasp of environmental temperature and humidity changes, and reliable transmission of abnormal information are of great significance for protecting basement facilities and property safety. Traditional basement waterproofing methods rely heavily on manual inspection, which has problems such as delayed response, inaccurate environmental monitoring, and untimely transmission of abnormal information, making it difficult to meet the needs of efficient waterproofing.
The basement waterproofing system based on STM32F103C8T6 microcontroller integrates a rain monitoring module, DHT11 temperature and humidity sensor, display module, buttons, and 4G module, realizing real-time monitoring of basement water leakage, accurate control of environmental temperature and humidity, and timely transmission of abnormal information. The core functions of the system include: monitoring whether there is water leakage through the rain monitoring module, and once water leakage is detected, an acousto-optic alarm is immediately activated, and a short message is sent through the 4G module; monitoring the current environmental temperature and humidity with the help of DHT11, and when the temperature or humidity exceeds the set maximum value, an acousto-optic alarm is triggered, and a short message is sent through the 4G module at the same time; displaying whether there is water leakage and real-time temperature and humidity through the display module; setting temperature and humidity thresholds through buttons.
The implementation of this system has effectively improved the intelligence and timeliness of basement waterproofing. Through real-time monitoring, automatic alarm, remote information transmission, and convenient parameter setting, it provides a reliable guarantee for basement waterproofing. At the same time, it provides a reference for the intelligent development of the basement safety protection field, and has high practical value and promotion significance.
Keywords:Basement waterproofing system; STM32; Real-time monitoring; Automatic alarm; Remote information transmission
目录
第1章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.2.1 国外研究现状
1.2.2 国内研究现状
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 雨量监测模块选择
2.1.3 温湿度传感器选择
2.1.4 4G 模块选择
2.1.5 显示模块选择
2.1.6 按键模块选择
2.1.7 声光报警模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 雨量监测模块电路
3.3 DHT11 温湿度传感器模块电路
3.4 显示模块电路
3.5 按键模块电路
3.6 声光报警模块电路
3.7 4G 模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 温湿度检测模块子流程设计
4.6 发送短信子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 漏水监测与报警功能测试
5.3 温湿度检测与超限报警功能测试
5.4 显示功能测试
5.5 按键设置功能测试
5.6 系统综合运行测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!