设计说明书
总字数:15000+
摘要
随着生活品质的提升,人们对日常用品的卫生与存储环境要求日益提高。鞋柜作为家庭必备家具,其内部潮湿、异味及细菌滋生等问题若得不到有效解决,可能导致鞋子霉变、产生异味,甚至影响足部健康。传统鞋柜缺乏主动调节功能,难以满足智能化、健康化的存储需求,因此研发一款具备环境调控与消毒功能的智能鞋柜十分必要。
本设计提出了一种基于 STM32F103C8T6 单片机的智能鞋柜系统。系统主要功能包括:通过 DHT11 温湿度传感器实时监测鞋柜内部环境,当温度低于预设值时自动启动加热装置,当湿度高于阈值时同步开启加热与通风功能,维持干燥环境;借助 MQ-135 气体传感器检测氨气浓度,当浓度超标时触发紫外线杀菌装置,抑制细菌滋生与异味产生;通过 KY-003 霍尔传感器感知柜门状态,柜门关闭时自动开启消毒灯,柜门打开时立即关闭消毒灯,保障使用安全;用户可通过按键模块设置温湿度、氨气浓度等各项阈值参数;显示屏实时显示当前温湿度、氨气浓度及设备运行状态,便于用户直观掌握鞋柜情况。
该智能鞋柜的作用在于,通过多传感器协同监测与自动控制技术,实现了鞋柜环境的智能化调控与卫生管理。主动除湿、杀菌功能有效解决了传统鞋柜的潮湿发霉、异味残留问题,人性化的安全设计提升了使用可靠性。为家庭提供了一种便捷、高效的鞋子存储解决方案,有助于维护鞋子品质与用户足部健康,提升生活舒适度。
关键词:单片机;智能鞋柜;环境监测;自动控制;STM32F103C8T6
Design and Implementation of Intelligent Shoe Cabinet Based on STM32 Microcontroller
Abstract
With the improvement of quality of life, people’s requirements for hygiene and storage environment of daily necessities are increasingly increasing. As an essential household furniture, if the problems of moisture, odor, and bacterial growth inside the shoe cabinet are not effectively solved, it may lead to moldy shoes, odor, and even affect foot health. Traditional shoe cabinets lack active adjustment functions, making it difficult to meet the storage needs of intelligence and health. Therefore, it is necessary to develop an intelligent shoe cabinet with environmental regulation and disinfection functions.
This design proposes an intelligent shoe cabinet system based on STM32F103C8T6 microcontroller. The main functions of the system include: real-time monitoring of the internal environment of the shoe cabinet through the DHT11 temperature and humidity sensor, automatic activation of the heating device when the temperature is below the preset value, synchronous activation of heating and ventilation functions when the humidity is above the threshold, and maintenance of a dry environment; Using MQ-135 gas sensor to detect ammonia concentration, triggering ultraviolet sterilization device when the concentration exceeds the standard, inhibiting bacterial growth and odor generation; Sensing the status of the cabinet door through the KY-003 Hall sensor, the disinfection light automatically turns on when the cabinet door is closed, and immediately turns off when the cabinet door is opened to ensure safe use; Users can set various threshold parameters such as temperature, humidity, and ammonia concentration through the button module; The display screen shows real-time temperature, humidity, ammonia concentration, and equipment operation status, making it easy for users to intuitively grasp the situation of the shoe cabinet.
The function of this intelligent shoe cabinet is to achieve intelligent regulation and hygiene management of the shoe cabinet environment through multi-sensor collaborative monitoring and automatic control technology. The active dehumidification and sterilization functions effectively solve the problems of moisture, mold, and residual odors in traditional shoe cabinets, and the humanized safety design enhances the reliability of use. Provides a convenient and efficient shoe storage solution for families, helping to maintain shoe quality and user foot health, and enhance living comfort.
Keywords: microcontroller; Intelligent shoe cabinet; Environmental monitoring; Auto-Control; STM32F103C8T6
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 温湿度检测模块电路设计
3.4 氨气检测模块电路设计
3.5 柜门状态检测模块电路设计
3.6 显示模块电路设计
3.7 按键模块电路设计
3.8 执行模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 ADC模数转换子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 温湿度检测及调节功能测试
5.3 氨气检测及消毒功能测试
5.4 柜门状态检测及联动功能测试
5.5 按键设置及显示功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!