基于STM32的智能晾衣架系统设计
基于STM32的智能晾衣架系统设计(任务书,开题报告,论文13000字)
摘要
由于人工智能的快速发展,人们都将目光聚焦于家居智能化。如今,智能化已经逐步成为人类生活的主流。日常生活中,经常会碰到由于天气的多变,导致衣物无法充分晾晒的问题,一旦碰到阴天,衣服要多天才会晾干,在突然下雨的天气,更会发生即将晾干的衣服被淋湿的令人为难的状况。在此状况下,为了提高晾晒效率,可以将智能化应用于晾衣架系统,达到省时省力的目的。
根据人们日常生活的需求,本文设计了智能晾衣架系统,采用STM32单片机作为控制芯片,各模块传感器采集光照、温湿度、压力等数据,将其传送至单片机,单片机对其进行处理和分析,判断其是否符合晾晒条件,同时将判断结果的信号传送至外围电路,实现晾衣架的智能晾晒。本设计分为自动控制模块与手动控制模块,可以根据人们需要,灵活方便的实现晾晒功能。手动模式为按键实现晾衣架的手动晾晒;自动模式为各个传感器电路通过采集信息实现晾衣架的自动晾晒,电机驱动电路用于带动晾衣架伸缩,实现晾衣架自动晾晒。
经过软硬件设计与联合调试,本设计最终实现了系统自动采集温湿度、光照、压力数据,智能判断外面天气状况,控制晾衣架的伸出与收回的功能;并且,能够检测晾衣架是否超重;同时,也可以人工控制晾衣架,有效的达到了智能收取的目的。
[资料来源:http://Doc163.com]
关键词:晾衣架 温湿度传感器 雨滴传感器
The design of intelligent drying rack based on STM32
Abstract
Due to the advance of artificial intelligence, people are focusing on home intelligence. Today, intelligence has gradually became the mainstream of human life. In daily life, it often encounters the problem that the clothes cannot be fully aired due to the changing weather. Once it hits the cloudy weather, the clothes will take more days to dry. In the case of sudden rain, the clothes which are dry can easily get wet. Under this circumstance, in order to improve the drying efficiency, intelligent application can be applied to the drying rack system, which saves time and labor.
According to the needs of people's daily life, this paper describe a smart drying rack system, using STM32 single-chip microcomputer as the control chip. Each module sensor collects data such as illumination, temperature, humidity and pressure, and transmits it to the single-chip microcomputer. The single-chip microcomputer processes and analyzes it to determine whether it meets the drying conditions.At the same time,it transmits the signal of the judgment result to the peripheral circuit to realize the intelligent drying of the drying rack. The design is divided into an automatic control module and a manual control module, which can realize the function of drying flexibly and conveniently according to people's needs. The manual mode is using a button to realize the manual drying of the drying rack. The automatic mode is that the sensor circuit realizes the automatic drying of the drying rack by collecting information.Motor drive circuit is used to drive the drying rack to expand and contract.Finally, the drying rack is automatically aired. [资料来源:https://www.doc163.com]
After the debugging of software and hardware, the design finally realizes that the system automatically collects temperature, humidity, light and pressure data, intelligently judges the weather conditions outside and can detect whether it is overweight; at the same time, it can also manually control the drying rack, effectively achieving the purpose of intelligent collection.
Keywords:drying rack;temperature and humidity sensor ;raindrop sensor
[版权所有:http://DOC163.com]
目录
摘要 I
Abstract II
第一章 绪论 1
1.1 课题研究的背景 1
1.2 课题研究的主要内容 2
1.3 本章小结 2
第二章 智能晾衣架的主要功能和设计方案 4
2.1设计思想及基本功能 4
2.2 智能晾衣架的整体方案 4
2.3 不同模块的方案设计 5
2.4本章小结 7
第三章 智能晾衣架的硬件电路设计 8
3.1 STM32单片机最小系统 8
3.1.1时钟电路 8
3.1.2 复位电路 8
3.2按键模块电路设计 9
3.3温度湿度模块电路设计 10
3.4 光敏模块电路设计 10
3.5 LED模块电路设计 11
3.6 电机正反转模块电路设计 11
3.7 雨滴传感器模块电路设计 12
3.8 压力传感器与AD转换模块电路设计 13
3.9 本章小结 14
第四章 智能晾衣架的软件设计 15
4.1 软件设计思路 15
4.2主函数流程图 15
4.3压力传感器与A/D转换模块 17
4.4雨滴传感器模块 18
4.5自动控制模块 18
4.5.1 温湿度传感器模块 18
4.5.2 光敏电阻模块 19
4.6手动控制模块 20
4.7电机控制模块 20
4.8 本章小结 21
[资料来源:http://www.doc163.com]
第五章 调试与结果 22
5.1软件调试 22
5.1.1调试步骤 22
5.1.2调试结果 23
5.2硬件调试 27
5.2.1调试步骤 27
5.2.2光敏模块测试 27
5.2.3雨滴模块测试 28
5.2.4电机转动模块测试 30
5.3 软硬件联合调试 31
5.3.1调试步骤 31
5.3.2调试结果 31
5.3实验结果 32
5.4问题反思 32
5.5本章小结 33
参考文献 34
致谢 36
附录 37
[版权所有:http://DOC163.com]