设计说明书
总字数:25000+
目 录
摘 要
Abstract
前 言
第一章 绪论
1.1 课题背景及意义
1.2 国内外研究现状
1.3 课题任务与目标
1.4 本文所作的工作
第二章 系统总体设计
2.1 系统框图
2.2 单片机的选择
2.3 温湿度检测的选择
2.4 烟雾检测的选择
2.5 可燃气体检测的选择
2.6 光照检测模块的选择
2.7 显示模块的选择
2.8 无线通信的选择
第三章 系统硬件电路设计
3.1 系统硬件原理图
3.2 模块电路设计
3.3 模块之间的协调
第四章 系统软件设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 按键处理
4.4 OLED显示流程设计
4.5 温湿度检测模块子流程
4.6 步进电机子流程设计
4.7 舵机子流程设计
4.8 WiFi模块子流程设计
4.9 阿里云配置
第五章 实物展示与测试
5.1 实物展示
5.2 实物测试
第六章 总结与展望
6.1 课题总结
6.2 进一步开发的展望
参考文献
致 谢
附录1:原理图
附录2:PCB图
附录3:程序
随着物联网技术的快速发展和智能家居概念的普及,基于云平台的环境监测和安全报警系统设计渐成为现代生活的重要组成部分。传统的监测与报警系统大多功能单一且操作不便,难以满足用户对智能化、便捷化和安全性的需求。本系统基于STM32F103C8T6单片机,通过DHT11检测环境温湿度并自动控制加湿器和除湿器;利用MQ-2和MQ-5检测烟雾和可燃气体浓度,超出阈值时自动打开窗户通风;通过光照检测模块根据光照强度自动控制窗帘开关;用户可通过按键设置阈值和设备开关,并通过OLED显示屏查看实时数据。此外,系统通过WiFi模块将数据传输至手机端,用户可远程控制设备。
该系统能够实时监测环境参数并自动调整设备状态,有效预防安全隐患,同时通过云平台实现远程监控与操作,提升了系统的便捷性和用户体验。适用于家庭、办公室等场所,具有重要的推广价值。
关键词:云平台;单片机;WiFi;实时监测
With the rapid development of the Internet of Things technology and the popularization of the concept of smart home, the intelligent monitoring and security alarm system based on the cloud platform has gradually become an important part of modern life. The traditional monitoring and alarm system is simple and inconvenient in operation, which is difficult to meet the users’ needs for intelligence, convenience and security..
Based on STM32F103C8T6 MCU, the system detects ambient temperature and humidity through DHT 11 and automatically control the humidifier and dehumidifier; detect the concentration of smoke and combustible gas with MQ-2 and MQ-5, automatically open the window ventilation when exceeding the threshold; pass the illumination and automatically control the curtain switch according to the illumination detection module; the user can set the threshold and the equipment switch through the key, and view the real-time data through the OLED display. In addition, the system transmits the data to the mobile phone through the WiFi module, and the user can remotely control the device.
The system can monitor environmental parameters in real time and automatically adjust the status of the equipment, effectively prevent security risks. At the same time, it realizes remote monitoring and operation through the cloud platform, which improves the convenience and user experience of the system. It is suitable for family, office and other places, and has an important promotion value.
Keywords: Cloud platform; Single microcomputer; WiFi; Real-time monitoring
Written by Zhou Jun Tin
Supervised by Hu Qin Quan
购买后可查看具体内容!