设计简介:
项目编号:mcuclub-dz-043
项目名:基于单片机的衣柜的设计
单片机:STM32F103C8T6
功能简介:
1、通过DHT11检测衣柜内温湿度,当温度低于设置值,进行加热,当湿度高于设置值,进行加热和通风
2、通过内部RTC时钟获取当前时间,并能定时进行衣柜内紫外线消毒;
3、通过霍尔传感器检柜门状态,关闭时,自动打开消毒灯,打开时,消毒灯关闭
4、通过光敏电阻检测光照值,当光照值低于设置最小值且衣柜门打开,则LED照明灯自动打开
5、通过两对红外计数管分别记录衣柜内上衣和裤子数量
6、通过按键修改时间、设置消毒灯打开和关闭时间、设置各阈值
7、通过OLED显示屏显示测量值
8、通过WIFI模块将测量数据发送到手机端,并可以控制加热、通风、消毒、照明以及模式切换
总字数:18076
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘要
本设计旨在实现基于单片机的智能衣柜系统,通过STM32F103C8T6单片机和多种传感器、功能模块的组合,实现以下功能:温湿度控制:通过DHT11传感器检测衣柜内的温度和湿度,当温度低于设定值时,启动加热设备;当湿度高于设定值时,同时启动加热和通风设备。定时紫外线消毒:利用内部RTC时钟获取当前时间,可定时进行衣柜内的紫外线消毒操作,提高衣物的卫生和清洁度。门状态检测:通过霍尔传感器检测衣柜门的状态,当门关闭时,自动打开消毒灯以进行消毒;当门打开时,消毒灯自动关闭。光照控制:通过光敏电阻检测衣柜内的光照强度,当光照值低于设定的最小值且衣柜门打开时,自动打开LED照明灯提供光线。红外计数管:通过两对红外计数管分别记录衣柜内上衣和裤子的数量,实现衣物的智能管理和统计。按键操作:通过按键进行时间修改、设置消毒灯的打开和关闭时间、设置各项阈值,实现用户对系统的定制化设置。数据显示:通过OLED显示屏实时显示衣柜内的温湿度、光照强度等测量值,方便用户观察和监测。远程控制:通过WIFI模块将测量数据发送到手机端,用户可以远程控制加热、通风、消毒、照明等功能,并进行模式切换。
通过以上功能的实现,本衣柜系统可以智能地管理衣物的环境条件和卫生状况,提供便捷的用户操作和远程控制方式,提升用户的使用体验和衣物的保护质量。
Abstract
This design aims to develop an intelligent wardrobe system based on the STM32F103C8T6 microcontroller and a combination of various sensors and functional modules. The system incorporates the following features: temperature and humidity control, timed ultraviolet (UV) sterilization, door status detection, light intensity control, infrared garment counting, keypad operation, data display on an OLED screen, and remote control via a Wi-Fi module.The temperature and humidity control is achieved by using a DHT11 sensor to monitor the temperature and humidity inside the wardrobe. When the temperature falls below a set value, the heating device is activated. Similarly, if the humidity exceeds a set threshold, both the heating and ventilation devices are activated. The internal real-time clock (RTC) is utilized to schedule UV sterilization, ensuring regular disinfection of the wardrobe contents. The door status is monitored using a Hall sensor, automatically turning on the UV light when the door is closed and turning it off when the door is opened.Light intensity within the wardrobe is detected using a photosensitive resistor. When the light intensity falls below the predefined minimum value and the wardrobe door is open, an LED light is automatically turned on to provide illumination. Infrared counting sensors are employed to keep track of the number of garments stored in the wardrobe, enabling smart garment management and statistics.The system incorporates a keypad for user interaction, allowing for time adjustments, setting the opening and closing times for the UV light, and configuring various threshold values. The measured values, including temperature, humidity, and light intensity, are displayed in real-time on an OLED screen, providing users with convenient observation and monitoring.
Furthermore, the system supports remote control functionality through a Wi-Fi module, enabling users to remotely control heating, ventilation, UV sterilization, lighting, and mode switching. This design provides intelligent management of garment environmental conditions and hygiene, offering user-friendly operation and remote control capabilities to enhance user experience and garment protection quality.
Keywords:microcontroller; wardrobe; temperature and humidity control; UV sterilization; light intensity control;remote control
目 录
摘要
Abstract
第1章 绪论
第2章 系统总体设计方案
第3章 硬件设计
第4章 系统程序设计
第5章 实物测试
第6章 总结展望
参考文献
附录