设计简介:
项目编号:mcuclub-dz-033
单片机类型:STM32F103C8T6
功能简介:
1、通过按键切换室内室外模式
2、室内模式下,通过人体热释电感应模块检测周围是否有人,没人时对衣物进行紫外线消毒,有人时自动关闭;室外模式也自动关闭。
3、室内模式下,通过DHT11检测室内湿度值,若湿度大于设置最大值,则启动烘干功能;室外模式自动关闭。
4、室外模式下,通过两个光敏电阻检测太阳光最强的方位,根据光强自动调整晾衣架角度(控制舵机角度);室内模式不启动。
5、室外模式下,通过触发式雨滴检测模块检测是否下雨,如果下雨,则每间隔1分钟,声光报警10s,直到按键切换成室内模式;室内模式不启动。
6、通过按键可设置湿度最大值
7、通过OLED显示测量数据
总字数:14196
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
本论文设计了一种基于STM32F103C8T6单片机的智能室内外晾衣架控制系统。该系统通过多种传感器和功能模块实现了对室内外环境的智能监测和控制。主要功能包括按键切换室内室外模式、人体热释电感应消毒、湿度检测与烘干控制、晾衣架角度自动调整以及雨滴检测与报警。系统还提供了按键设置湿度最大值和OLED显示测量数据的功能。在室内模式下,通过人体热释电感应模块检测周围是否有人。当没有人时,系统自动启动紫外线消毒功能,对衣物进行消毒;当有人进入时,系统自动关闭消毒功能。在室外模式下,消毒功能也自动关闭。此外,系统通过DHT11传感器检测室内湿度值,若湿度超过设定的最大值,系统启动烘干功能。在室外模式下,通过两个光敏电阻检测太阳光最强的方位,并根据光强自动调整晾衣架的角度,通过控制舵机实现。同时,系统配备触发式雨滴检测模块,检测是否下雨。如果下雨,系统每隔1分钟进行声光报警,直到按键切换成室内模式。用户可以通过按键设置湿度最大值,以满足不同需求。系统使用OLED显示各项测量数据,方便用户实时监测环境参数。
通过实验验证,本设计的智能室内外控制系统具有稳定可靠的性能,能够智能化地控制室内外环境,并提供方便的操作界面和数据显示。未来的工作可以进一步优化系统的功能和性能,扩展更多的智能化控制选项,以满足不断变化的用户需求。。
关键词:智能控制系统;室内外模式切换;人体热释电感应;湿度检测与控制;晾衣架
ABSTRACT
This paper presents the design of an intelligent indoor-outdoor control system based on the STM32F103C8T6 microcontroller. The system employs various sensors and functional modules to enable intelligent monitoring and control of indoor and outdoor environments. The key functionalities include mode switching between indoor and outdoor, human body pyroelectric sensing for disinfection, humidity detection and drying control, automatic adjustment of clothesline angle, and raindrop detection with alarm. The system also incorporates features such as setting maximum humidity value through buttons and displaying measurement data on an OLED screen.In the indoor mode, the system utilizes a human body pyroelectric sensor to detect the presence of individuals. When no one is detected, the system automatically activates the ultraviolet disinfection function for clothes. Conversely, when someone enters, the disinfection function is automatically disabled. In the outdoor mode, the disinfection function remains inactive. Additionally, the system employs a DHT11 sensor to monitor indoor humidity. If the humidity exceeds the set maximum value, the system initiates the drying function. In the outdoor mode, two photosensitive resistors are used to detect the strongest sunlight direction, and the clothesline angle is adjusted accordingly using a servo motor. Moreover, the system is equipped with a raindrop detection module to determine rainfall. If rain is detected, the system triggers an audio-visual alarm every minute until the mode is switched to indoor.Users can conveniently set the maximum humidity value using buttons to cater to their specific requirements. The system provides real-time monitoring of environmental parameters by displaying measurement data on an OLED screen.
Experimental results demonstrate that the designed intelligent indoor-outdoor control system exhibits stable and reliable performance, enabling intelligent control of indoor and outdoor environments. Future work involves further optimizing the system’s functionalities and performance while expanding the range of intelligent control options to meet evolving user demands.
Keywords: intelligent control system, indoor-outdoor mode switching, human body pyroelectric sensing, humidity detection and control, clothesline angle adjustment
目 录
第1章 引 言
第2章 系统设计方案
第3章 系统硬件电路设计
第4章 系统软件程序设计
第五章 实物制作与调试
结 论
参考文献
致 谢
附录