题目:基于STM32无线环境检测系统设计
摘 要
我国在“十三五规划中”把电子技术作为重要一门基础技术,使得电子技术进入快车道发展时期,在这一阶段诞生了很多新进控制技术,如智能控制到智慧控制、万物互联技术到5G技术,在无人驾驶技术、隔空医疗技术、智能家居等行业得到推广运用。尤其是互联网技术融入5G技术使得系统运行速度更快、数据传输更加稳定与安全。在当前“十四五规划中”把电子技术又提高一个台阶,未来电子技术运用更加广泛。现实工艺与生活中,普通的物理控制方案逐渐不能满足科技需求,逐一被淘汰,若采用现阶段发展成熟的智能控制方案可以技术发展需要。在产品的可靠性、安全性、便捷性和维护简易来看目前的无线环境检测系统是不能满足要求,因此运用智能控制器开发无线环境检测系统可以解决目前产品所在的问题,本设计系统运用ST公司MCU平台进行研究。
本设计系统采用中央处理器集中控制,其中中央处理器(MCU)以ST公司多核单片机为系统控制中枢开发的无线环境检测系统,MCU由最小外围电路和电源转换电路组成。本设计系统设备分为硬件架构与软件机构组成,其中硬件包括输入输出电源变换模块、INPUT信号采集处理模块、输出/执行机构模块以及信号中转模块等组成;软件架构包括软件开发环境、模块运行流程等组成。系统把外部采集的数据送入MCU经过相应处理,处理后的数据送入到执行模块,最后执行模块输出需要得到的结果。
本设计系统主要实现无线环境检测功能,当把硬件模块搭建好后,把开发的软件烧写到MCU中,在调试平台逐一验证设计系统是否满足功能需求,进行问题和故障不断迭代,最终设计系统满足本论文需要。
关键词:MCU;硬件设计;无线环境检测;软件流程
Design of STM32 Wireless Environment Detection System
Summary
China takes electronic technology as an important basic technology in the 13th Five-Year Plan, which makes electronic technology enter the fast track development period. At this stage, many new control technologies, such as intelligent control to intelligent control, interconnection technology of all things to 5 G technology, have been popularized and applied in driverless technology, air separation medical technology, smart home and other industries. Especially, the integration of Internet technology into 5 G technology makes the system run faster, data transmission more stable and secure. In the 14th Five-Year Plan, electronic technology is raised to a higher level, and electronic technology will be used more widely in the future. In the real process and life, the ordinary physical control scheme can not meet the needs of science and technology, and is eliminated one by one. If the mature intelligent control scheme is adopted at the present stage, the technology development needs can be developed. The current wireless environment detection system can not meet the requirements in terms of reliability, security, convenience and easy maintenance of the product. Therefore, the use of intelligent controller to develop wireless environment detection system can solve the current problems of the product. This design system uses ST company MCU platform to study.
The design system adopts centralized control of central processor, in which central processor (MCU) develops wireless environment detection system with multi-core single chip microcomputer of ST company as the control center of the system, MCU consists of minimum peripheral circuit and power conversion circuit. Hardware includes input and output power conversion module, INPUT signal acquisition and processing module, output / execution mechanism module and signal transfer module. Software architecture includes software development environment, module running process and so on. After processing the external collected data into the MCU, the processed data is sent to the execution module, and finally the execution module outputs the required results.
After the hardware module is built, the developed software is burned into the MCU, and the debugging platform verifies whether the design system meets the functional requirements one by one. The final design system meets the needs of this paper.
Keywords: MCU; hardware design; wireless environment detection; software flow
目 录
第1章 绪论 1
1.1智能无线环境检测系统研究意义 1
1.2智能无线环境检测控制系统发展趋势 2
1.3本系统主要研究方向 4
第2章 控制系统总体方案设计 5
2.1系统实现 5
2.2系统架构设计 5
2.3控制系统所用到关键技术 5
2.3.1单片机技术 5
2.3.2现代信号采集传感器网络技术 6
2.4本章总结 7
第3章 系统的硬件平台设计 8
3.1硬件系统组成框图设计 8
3.2控制中枢模块与外围辅助介绍 9
3.3信号采集与处理电路设计 11
3.3.1环境参数测电路设计 11
3.3.2无线WIFI模块通讯电路设计 12
3.3.3 LCD1602液晶屏显示电路设计 12
3.3.4温湿度采集电路设计 13
3.3.5无线WIFI模块通讯电路设计 14
3.3.6人体信号采集电路设计 15
3.4系统硬件原理图设计 15
3.5本章总结 15
第4章 系统软件平台设计 17
4.1控制中心开发流程 17
4.2控制系统工作流程 17
4.3系统信号采集与处理程序设计 18
4.3.1烟雾、甲醛和CO浓度传感器程序设计 18
4.3.2 WIFI模块驱动软件设计 19
4.4本章小结 19
第5章 系统调试与性能验证 21
5.1系统调试环境搭建 21
5.1.1系统环境搭建 21
5.1.2搭建测试环境注意事项 21
5.2系统整体测试结果分析 22
5.3本章小结 22
第6章 总结 24
致 谢 25
参考文献 26