摘要
针对目前市场上晾衣架结构复杂、功能简单、智能化落后等问题,文章设计了一款基于STM32的晾衣架系统。该系统由光敏检测模块、雨滴检测模块、风干模块、温湿度传感器模块、紫外杀菌模块、电机驱动模块组成。其采用STM32单片机进行总控制,通过检测环境光强,在天明时将晾衣架转移至屋外晾晒衣物,在天黑时将晾衣架转移至屋内完成衣物的收回。当下雨时,在通过雨滴检测模块检测到雨滴后,系统会自动将衣物转移至室内。此外,该系统还可实现紫外杀菌和风干等功能。测试结果表明,该系统所有功能均能正常实现,可适用于商业生产。相较于传统晾衣架,基于STM32的晾衣架系统具有结构精简、操作简单、结实耐用、性价比高等优点。
Aiming at the problems of complex structure,simple function and backward intelligence of drying racks on the market,this paper designs a drying rack system based on STM32.The system consists of a photosensitive detection module,a raindrop detection module,an air drying module,a temperature and humidity sensor module,an ultraviolet sterilization module,and a motor drive module.It uses STM32 single-chip microcomputer for overall control.By detecting the ambient light intensity,the drying rack is transferred to the outside of the house to dry clothes at dawn,and the drying rack is transferred to the house to complete the collection of clothes when it is dark.When it rains,after raindrops are detected through the raindrop detection module,the system will automatically transfer the clothes to the room.In addition,the system can also realize functions such as UV sterilization and air drying.The test results show that all functions of the system can be realized normally and can be applied to commercial production.Compared with traditional clothes drying racks,the clothes drying rack system based on STM32 has the advantages of simplified structure,simple operation,strong and durable,and high cost performance.
作者
栗俊涵
SU Junhan(Hunan City University,Yiyang,Hunan 413000,China)
出处
《计算机应用文摘》
2023年第15期63-65,共3页
Chinese Journal of Computer Application
关键词
晾衣架
单片机
光照
雨滴
laundry rack
singlechip
illumination
raindro