设计说明书
总字数:12000+
本论文设计了一款基于单片机(STC89C52)的智能鞋柜。该鞋柜具有多项智能功能,能够监测鞋柜内的温湿度、氨气浓度和重量,并根据设定的阈值进行相应的控制操作。首先,通过DHT11传感器检测鞋柜内的温湿度,当湿度超过最大值或温度低于最小值时,鞋柜会启动加热片进行加热;当温度超过最大值时,鞋柜会进行通风降温。其次,通过MQ-135气体传感器检测鞋柜内的氨气浓度,当氨气值超过最大值时,鞋柜会打开紫外线消毒灯进行杀菌,并在此之后启动喷洒花露水来消除异味。接着,通过HX711传感器检测鞋柜内的重量,当重量不为0时,鞋柜会开启照明灯。最后,用户可以通过按键设置各项阈值,并通过LCD1602显示屏显示测量值。通过这些功能,智能鞋柜能够提供舒适、安全和便利的使用体验,满足用户对鞋柜的多种需求。该设计具有一定的实用性和推广价值。
关键词:单片机;智能鞋柜;温湿度检测;氨气浓度检测;重量检测;LCD显示屏
This paper presents the design of an intelligent shoe cabinet based on a microcontroller (STC89C52). The shoe cabinet is equipped with multiple intelligent functions that can monitor the temperature, humidity, ammonia concentration, and weight inside the cabinet, and perform corresponding control operations based on preset thresholds. Firstly, the DHT11 sensor is used to detect the temperature and humidity inside the shoe cabinet. When the humidity exceeds the maximum value or the temperature falls below the minimum value, the cabinet activates the heating element for heating. If the temperature exceeds the maximum value, the cabinet initiates ventilation for cooling. Secondly, the MQ-135 gas sensor is employed to detect the ammonia concentration inside the shoe cabinet. When the ammonia value exceeds the maximum threshold, the cabinet activates a UV disinfection lamp for sterilization, followed by spraying air freshener to eliminate odor. Furthermore, the HX711 sensor is utilized to measure the weight inside the cabinet, and when the weight is not zero, the cabinet turns on the lighting system. Finally, users can set various thresholds using buttons and monitor the measurement values through the LCD1602 display screen. With these functions, the intelligent shoe cabinet provides a comfortable, safe, and convenient user experience, meeting various user needs for a shoe cabinet. This design possesses practicality and promotional value.
Keywords: microcontroller; intelligent shoe cabinet; temperature and humidity detection; ammonia concentration detection; weight detection; LCD display screen
目 录
摘要
Abstract
第1章绪论
1.1研究背景及意义
1.2国内外研究现状
1.3论文的主要内容
第2章 系统总体设计方案
2.1系统总体设计
2.2主要模块方案选择
2.2.1主控模块方案选择
2.2.2称重监测模块方案选择
2.2.3 显示模块方案选择
第3章硬件设计
3.1主控模块电路设计
3.2 温湿度监测模块电路设计
3.3 空气质量检测模块电路设计
3.4 称重模块电路设计
3.5 显示模块电路设计
3.6 继电器模块电路设计
3.7 独立按键模块电路设计
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3称重模块HX711模块子流程
4.4独立按键
4.5 LCD1602液晶显示子流程
4.6 温湿度检测模块子流程
第5章 实物测试
5.1 整体实物焊接图
5.2鞋柜温度监测实物测试
5.2鞋柜湿度监测实物测试
5.2鞋柜氨气监测实物测试
5.3 鞋柜重量检测实物测试
第6章 总结展望
参考文献
附录
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!