项目编号:mcuclub-dz-296
设计简介:
项目名:晾衣架(实物)
项目编号:mcuclub-dz-296
单片机类型:STM32F103C8T6
具体功能:
1、通过DHT11获取温湿度,当温度小于设置最小值或湿度大于设置最大值,则自动收回晾衣架
2、通过光敏电阻获取光照值,当光照值低于设置最小值或高于设置最大值,则自动收回晾衣架
3、通过雨水检测模块检测是否下雨,如果下雨,则自动收回晾衣架
4、通过风速检测模块检测风速值,当风速值大于设置最大值,则自动收回晾衣架
5、通过步进电机正转与反转控制晾衣架的伸出和收回
6、通过按键设置各上下限、手动控制晾衣架的伸出和收回、切换模式
7、通过显示屏显示测量值
8、通过WIFI模块将测量数据发送到手机端,并可以设置阈值、控制晾衣架的伸出和收回、切换模式
9、通过超声波测量晾衣架伸出或收回是否碰到障碍物,如果障碍物距离小于设置最小值,则停止伸出或收回
总字数:17079
摘 要
晾衣架作为家居必备产品,被广泛应用于日常生活中,目前市面上常见的晾衣架都是安装在阳台上,但是室内阳台相对封闭,在在通风效果差、采光不足等问题,为了避免这些问题,研究设计了一种新型智能伸缩晾衣装置,可以实时感知环境信息,遇天气突变可及时将衣物自动收回。
本设计采用STM32作为主控芯片。通过五种不同种类的传感器对晾衣环境的温湿度、光照强度、风速、雨滴、障碍物等参数进行监测,并将监测到的实时参数发送到单片机进行分析处理,从高控制晾衣架的自动伸出和收回,并将监测到的相关实时数据在显示屏和手机端进行实时显示,方便管理人员对晾衣架系统进行手动控制,保证衣物晾晒的安全性和可靠性。实物测试表明,该系统是一种能依据天气变化智能控制晾晒衣物的户外智能晾衣架,该衣架实用性强,具有一定的推广前景。
关键词:晾衣架;单片机;光敏传感器;风速传感器;温湿度传感器
Abstract
As a household essential product, drying clothes rack is widely used in daily life, the common drying clothes rack on the market are installed on the balcony, but the indoor balcony is relatively closed, in the ventilation effect is poor, insufficient lighting and other problems, in order to avoid these problems, research and design of a new intelligent retractable drying device, can sense the environment information in real time. In case of sudden change of weather, the clothes can be automatically recovered in time.
This design uses STM32 as the main control chip. Five different kinds of sensors are used to monitor the temperature and humidity, light intensity, wind speed, raindrops, obstacles and other parameters of the drying environment, and the real-time parameters are sent to the single chip computer for analysis and processing, and the relevant real-time data is automatically extended and withdrawn from the high control drying rack. It is convenient for managers to manually control the drying rack system to ensure the safety and reliability of clothes drying. The actual test shows that the system is an outdoor intelligent drying rack which can control the drying clothes intelligently according to the weather change. The rack is practical and has a certain popularization prospect.
关键词:智能晾衣架;光敏传感器;雨滴传感器;温湿度传感器;STC89C52单片机
Keywords: drying rack; Single-chip computer; Photosensor; Wind speed sensor; Temperature and humidity sensor
目 录
第1章 绪 论
第2章 系统设计要求及方案设计
第3章 系统硬件电路设计
第四章 系统程序设计
第五章 系统测试与结果分析
结论与展望
参考文献
致谢
附录