项目编号:mcuclub-dz-276
设计简介:
项目名:衣柜(实物)
项目编号:mcuclub-dz-276
单片机类型:STM32F103C8T6
具体功能:
1、通过DHT11检测衣柜内温湿度,当温度低于设置值,进行加热,当湿度高于设置值,进行加热和通风
2、通过RTC获取当前时间,并能定时进行衣柜内紫外线消毒;
3、通过霍尔传感器检柜门状态,关闭时,自动打开消毒灯,打开时,消毒灯关闭
4、通过光敏电阻检测光照值,当光照值低于设置最小值且衣柜门打开,则LED照明灯自动打开
5、通过MQ-2检测烟雾值,当烟雾值大于设置最大值,进行声光报警
6、通过按键修改时间、设置消毒灯打开和关闭时间、设置各阈值
7、通过显示屏显示测量值
8、通过蓝牙模块将测量数据发送到手机端,并可以控制加热、除湿、消毒、照明以及模式切换
9、通过两个按键可控制步进电机正反转,模拟衣架的上升和下降
总字数:20657
摘 要
秋冬换季时节,传统衣柜存在易发霉、滋生细菌、散发异味等问题,令人穿戴不适。当前已开发出的智能衣柜虽然具备烘干、除湿、防霉等基本功能,但价格昂贵,无法进行推广和普及,为了解决成本问题,本设计研究了一款智能衣柜,可以很好地服务大众。
本设计采用模块化的设计方法,采用STM32单片机作为主控芯片,通过传感器模块分别监测衣柜内的温湿度、光照强度、烟雾浓度以及门的状态;通过按键模块进行时间修改、设置消毒灯打开和关闭时间、模式切换以及设置参数阈值;通过显示模块将相关数据在显示屏上显示;与此同时,还通过蓝牙进行无线通信,可将测量数据发送到手机端进行显示,也可以通过手机端控制加热、除湿、消毒、照明以及模式切换。以上模块的相互配合,共同完成衣柜系统的搭建。
实物测试表明,该衣柜监测系统能够有效对衣柜所处环境的相关参数进行监测,并通过相关器件完成相关参数的调节,使衣柜的收纳环境处于适宜的状态,提高消费者的使用体验。
关键词: 衣柜;测控;单片机;传感器;显示屏
Abstract
During the autumn and winter season, the traditional wardrobe is prone to mold, bacteria, odor and other problems, making it uncomfortable to wear. Although the current intelligent wardrobe has been developed with drying, dehumidification, mildew and other basic functions, but the price is expensive, can not be promoted and popularized, in order to solve the cost problem, this design studies a smart wardrobe, can serve the public well.
This design adopts modular design method, using STM32 single chip microcomputer as the main control chip, through the sensor module to monitor the temperature and humidity in the wardrobe, light intensity, smoke concentration and the state of the door; Modify the time, set the on and off time of disinfection lamp, switch mode and set the parameter threshold through the button module; Display the relevant data on the display screen through the display module; At the same time, it also communicates wirelessly through Bluetooth, which can send measurement data to the mobile phone for display, and can also control heating, dehumidification, disinfection, lighting and mode switching through the mobile phone. The above modules cooperate with each other to complete the construction of the wardrobe system.
The physical test shows that the wardrobe monitoring system can effectively monitor the relevant parameters of the wardrobe environment, and adjust the relevant parameters through the relevant devices, so that the wardrobe storage environment is in a suitable state, and improve the user experience of consumers.
Keywords:wardrobe; Measurement and control; Single-chip computer; Sensor; Display screen
目 录
摘 要
Abstract
第一章 设计概述
第二章 系统设计方案
第三章 硬件设计
第四章 系统程序设计
第五章 实物测试
总结
参考文献
附录