设计简介:
项目名:环境监测(实物)
项目编号:mcuclub-dz-186
单片机类型:STM32F103C8T6
具体功能:
1、通过DHT1检测温湿度,当温度大于设置最大值或湿度大于设置最大值,进行通风,并发送提示信息“温度异常”或“湿度异常”
2、通过MQ-2检测烟雾值,当烟雾值大于设置最大值,进行声光报警,并发送提示信息“烟雾异常”
3、通过人体热释电感应模块感应是否有人,如果在布防的情况下检测到有人,则声光报警,并发送提示信息“有人闯入”
4、通过按键可设置各阈值、布防撤防、控制风扇
5、通过OLED显示测量数据
6、通过WIFI模块,可将数据发送到手机端,手机端可远程控制风扇开关
总字数:15557
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
基于物联网技术家电控制及家居环境监测系统设计
摘 要
随着物联网技术的不断发展,智能家居控制和环境监测系统在家庭生活中扮演着越来越重要的角色。本毕业论文以物联网技术为基础,设计了一款家电控制及家居环境监测系统,旨在为用户提供便捷的家居控制和智能环境监测功能。所选单片机类型为STM32F103C8T6,通过其强大的性能和丰富的接口,实现了以下主要功能:首先,系统通过DHT11传感器检测室内温度和湿度,当温度或湿度超过设定的最大值时,自动触发通风装置,同时发送警报信息“温度异常”或“湿度异常”以提醒用户。其次,采用MQ-2传感器检测室内烟雾浓度,当烟雾浓度超过设定的最大值时,系统将启动声光报警装置,同时发送警报信息“烟雾异常”,确保室内环境的安全。第三,借助人体热释电感应模块,系统能够感知室内是否有人活动。在布防状态下,如果检测到有人闯入,则会自动触发声光报警装置,并发送提示信息“有人闯入”,提高家庭的安全性。此外,通过按键操作,用户可以灵活设置各项阈值、进行布防和撤防操作,还可控制风扇的开关,从而实现对家居环境的智能化控制。为了直观地展示测量数据,系统配备了OLED显示屏,实时显示室内温湿度、烟雾浓度和安防状态,提供了直观的信息展示。通过集成WIFI模块,系统可以将测量数据发送到用户的手机端,用户可以通过手机远程控制风扇的开关,同时实现了对家居环境的远程监测和控制。综上所述,本设计基于STM32F103C8T6单片机,通过物联网技术,成功开发了一款家电控制及家居环境监测系统。该系统不仅实现了对家居环境的智能化控制,还提供了实时的环境监测功能,为用户创造了更加舒适、安全的居家环境。未来,可以进一步完善系统的稳定性、功能性和用户界面,以适应家庭智能化的发展趋势。
关键词:物联网技术;家电控制;家居环境监测;智能化控制;远程监控
ABSTRACT
With the continuous development of Internet of Things (IoT) technology, smart home control and environmental monitoring systems have played an increasingly important role in household life. This graduation thesis is based on IoT technology and designs a home appliance control and household environment monitoring system, aiming to provide users with convenient home control and intelligent environmental monitoring functions. The selected microcontroller type is STM32F103C8T6, which utilizes its powerful performance and abundant interfaces to achieve the following main functions:Firstly, the system detects indoor temperature and humidity through the DHT11 sensor. When the temperature or humidity exceeds the set maximum value, the ventilation system is automatically triggered, and an alert message “Temperature Abnormal” or “Humidity Abnormal” is sent to remind the user.Secondly, the MQ-2 sensor is used to detect indoor smoke concentration. When the smoke concentration exceeds the set maximum value, the system activates the sound and light alarm device, simultaneously sending an alert message “Smoke Abnormal”, ensuring the safety of the indoor environment.Thirdly, with the aid of a human body pyroelectric sensor, the system can perceive whether there is human activity indoors. In the arming state, if someone is detected entering, the sound and light alarm device will be triggered automatically, and a prompt message “Intruder Detected” is sent to enhance home security.Moreover, through button operations, users can flexibly set various thresholds, arm or disarm the system, and control the fan’s on/off status, achieving intelligent control of the home environment.To intuitively display measurement data, the system is equipped with an OLED display screen, which shows real-time indoor temperature, humidity, smoke concentration, and security status, providing users with visualized information display.By integrating a WiFi module, the system can transmit measurement data to users’ smartphones. Users can remotely control the fan’s on/off status via a mobile app, achieving remote monitoring and control of the home environment.In conclusion, this design is based on the STM32F103C8T6 microcontroller and IoT technology, successfully developing a home appliance control and household environment monitoring system. This system not only achieves intelligent control of the home environment but also offers real-time environmental monitoring, creating a more comfortable and safe living environment for users. In the future, further improvements can be made in system stability, functionality, and user interface to adapt to the development trend of home intelligence.
Keywords: Internet of Things (IoT); home appliance control; household environment monitoring; intelligent control; remote monitoring
目录
基于物联网技术家电控制及家居环境监测系统设计 I
摘 要 I
ABSTRACT II
第1章 绪论 1
第2章 总体方案设计 3
3 系统硬件设计 7
第四章 系统程序设计 15
5 实物制作与调试过程 23
总结与展望 28
致 谢 29
参 考 文 献 30