设计说明书
总字数:14000+
基于单片机的智能衣柜设计
摘 要
在现代智能家居领域,智能衣柜作为一种新型的家居产品,能够通过自动控制温湿度、消毒和柜门状态监测等功能,为用户提供更加便捷和舒适的衣物存储解决方案。本设计基于STM32F103C8T6单片机,旨在实现一个高度集成的智能衣柜系统,以满足用户对衣物存储环境的高标准要求。
该智能衣柜系统集成了多种传感器和模块,具备以下功能:通过DHT11温湿度检测模块实时监测衣柜内的温湿度,并在湿度超过预设值时自动控制加热片和通风系统;利用DS1302时钟模块获取当前时间,并允许用户通过按键设置消毒时间;霍尔传感器用于检测柜门的开闭状态,当门打开时自动点亮照明灯,并根据温度变化提供语音提示;当门关闭且在设定的消毒时间内,系统会自动启动消毒功能;用户还可以通过按键设置湿度的最大值和消毒时间;系统通过OLED显示屏实时显示温湿度、柜门状态以及温度的最大值和最小值。
该智能衣柜系统通过智能化的控制和管理,不仅提高了衣物的存储质量,还增强了用户的使用体验。它能够自动调节衣柜内的温湿度,保护衣物免受潮湿和霉菌的侵害,同时定时消毒功能确保了衣物的清洁卫生,使得衣柜管理更加智能化和人性化。
关键词:单片机;衣柜;传感器;自动调节
Abstract
In the field of modern smart homes, smart wardrobes, as a new type of home product, can provide users with more convenient and comfortable clothing storage solutions through automatic control of temperature and humidity, disinfection, and cabinet door status monitoring. This design is based on the STM32F103C8T6 microcontroller and aims to implement a highly integrated intelligent wardrobe system to meet the high standard requirements of users for clothing storage environments.
The intelligent wardrobe system integrates multiple sensors and modules, with the following functions: real-time monitoring of temperature and humidity inside the wardrobe through the DHT11 temperature and humidity detection module, and automatic control of heating elements and ventilation system when the humidity exceeds the preset value; Use DS1302 clock module to obtain the current time and allow users to set the disinfection time through buttons; Hall sensors are used to detect the opening and closing status of cabinet doors. When the door is opened, the lighting automatically lights up and provides voice prompts based on temperature changes; When the door is closed and within the set disinfection time, the system will automatically activate the disinfection function; Users can also set the maximum humidity and disinfection time through buttons; The system displays real-time temperature and humidity, cabinet door status, as well as the maximum and minimum temperature values through an OLED display screen.
The intelligent wardrobe system not only improves the storage quality of clothes through intelligent control and management, but also enhances the user experience. It can automatically adjust the temperature and humidity inside the wardrobe, protecting clothes from moisture and mold. At the same time, the timed disinfection function ensures the cleanliness and hygiene of clothes, making wardrobe management more intelligent and humane.
Key words:Microcontroller; wardrobe; sensor; automatic adjustment
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.2.1国内研究现状
1.2.2国外研究现状
1.3 系统功能
2 系统总体设计
2.1 系统概述
2.2 系统总体方案设计
2.3 方案论证
2.4 主要模块方案选择
2.4.1主控模块方案选择
2.4.2显示模块方案选择
2.4.3按键模块方案选择
3 硬件设计
3.1 主控模块设计
3.1.1STM32F103C8T6单片机
3.1.2单片机最小系统
3.2 温湿度监测模块电路
3.3 霍尔传感器检测模块电路设计
3.4 显示模块电路
3.5 继电器模块电路
3.6 按键模块电路
3.7 时钟模块电路设计
3.8 语音播报模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键模块子流程
4.4 温湿度检测模块子流程
4.5 OLED显示流程设计
5 实物的制作与调试
5.1 实物制作
5.2 湿度测控功能测试
5.3 温度测控功能测试
5.4 柜门状态测控功能测试
5.5 消毒功能测试
6 总结与展望
参考文献
致 谢
附录
购买后可查看具体内容!