设计说明书
总字数:17000+
本论文旨在介绍一种名为”智能衣柜”的智能家居装置,其基于单片机STC89C52进行控制与监测。该智能衣柜具备多项功能,旨在提升用户对衣柜内环境和衣物安全的监控和控制能力。首先,智能衣柜利用DHT11传感器监测衣柜内的温度和湿度。当温度或湿度超过设定的上限值时,系统会自动启动风扇,以调节衣柜内的温湿度环境,保护衣物免受损坏。其次,智能衣柜通过MQ-2传感器检测衣柜内的烟雾浓度。一旦检测到烟雾浓度超过预设的最大值,系统将触发蜂鸣器报警,并通过GSM模块发送短信通知用户“衣柜着火,请速速查看”,以提醒用户及时采取应对措施。第三,智能衣柜利用DS1302时钟芯片获取实时时间,并通过按键操作,用户可以设置紫外线消毒灯的工作时间,以确保衣物的卫生和清洁。第四,通过按键操作,用户可以控制衣架的升降,实现衣物的便捷存取。衣架的升降采用步进电机模拟控制,具备良好的稳定性和可靠性。第五,用户可以通过按键进行时间修正,以确保智能衣柜的时间准确无误。同时,用户还可以设置各项阈值,以满足个性化需求和适应不同的使用场景。最后,智能衣柜配备显示屏,能够实时显示衣柜内环境的测量值,方便用户随时监测和了解衣柜的状态。通过上述功能的实现,智能衣柜提供了全方位的衣柜管理和保护,为用户提供了更加智能、便捷和安全的使用体验。本研究为智能家居领域的发展提供了有益的探索和应用示范。
关键字:智能衣柜、单片机、温湿度检测、烟雾检测、时间管理、衣架控制、显示屏
This paper presents a smart home device called “Smart Wardrobe” that is controlled and monitored using the STC89C52 microcontroller. The Smart Wardrobe is designed to enhance the monitoring and control capabilities of users over the wardrobe’s internal environment and clothing safety.The Smart Wardrobe utilizes a DHT11 sensor to monitor the temperature and humidity inside the wardrobe. When the temperature or humidity exceeds the set upper limit, the system automatically activates a fan to regulate the temperature and humidity, thus protecting the clothes from damage.Furthermore, the Smart Wardrobe employs an MQ-2 sensor to detect the concentration of smoke inside the wardrobe. In case the smoke concentration exceeds the predefined maximum value, the system triggers a buzzer alarm and sends an SMS message through the GSM module to notify the user with the message “Wardrobe on fire, please check immediately,” prompting the user to take necessary actions promptly.Moreover, the Smart Wardrobe incorporates a DS1302 real-time clock chip to obtain the current time. Through user interaction with buttons, the system allows setting the working time for a UV disinfection lamp, ensuring the hygiene and cleanliness of the clothing.The wardrobe’s clothing rack can be controlled for easy access through button operation. The rack’s movement is simulated using a stepper motor, providing stability and reliability.Users can also adjust the time and set various thresholds through button inputs, ensuring accurate timekeeping and customization to meet individual needs and different usage scenarios.Lastly, the Smart Wardrobe is equipped with a display screen that shows real-time measurement values of the wardrobe’s internal environment, allowing users to monitor and understand the wardrobe’s status at any time.By implementing the aforementioned functionalities, the Smart Wardrobe offers comprehensive wardrobe management and protection, providing users with a more intelligent, convenient, and secure user experience. This research contributes valuable exploration and application demonstrations to the field of smart homes.
Keywords: Smart Wardrobe, Microcontroller, Temperature and Humidity Monitoring, Smoke Detection, Time Management, Clothing Rack Control, Display Screen..
目录
摘 要
Abstract
第1章 引 言
1.1 选题背景及实际意义
1.2 国内外研究现状
1.3 本论文研究目标
第2章 系统设计方案
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 温湿度监测模块方案选择
2.1.3 烟雾监测模块方案选择
2.1.4 显示模块方案选择
2.2 整体设计方案
第3章 硬件设计
3.1 主控电路模块
3.2 温湿度监测模块电路
3.3 烟雾监测模块电路
3.4 时钟模块电路
3.5 显示模块电路
3.6 按键模块电路
3.7 步进电机模块电路
3.8 GSM模块电路
3.9 继电器模块电路
3.10 蜂鸣器模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 LCD1602液晶显示子流程
4.5时钟模块子流程
第5章 实物测试
5.1 整体实物测试图
5.2 温度监测实物测试
5.2 湿度监测实物测试
5.3 烟雾监测实物测试
5.4 定时消毒实物测试
总结与展望
参考文献
致 谢
附录一: 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!