摘 要
随着无线技术的不断发展,人们生活水平的不断提高,国内市场“室外环境检测”领域多种多样,而环境问题显得尤为重要。无论是在舒适的环境下工作、娱乐,亦或是在农场、林场、花苑、生态植被等环境下试验、评估,大多数还是通过人工来监测环境各项参数,也有部分是通过智能化检测和控制。但实际应用并不理想,由于受到无线传输距离的限制,对于空气温湿度、气体浓度、土壤温湿度、光照等参数,大多数都是在较小的范围内进行测量,并且在数据采集时效性、稳定性上表现较差,无法通过便捷的操作来观测、调控各类敏感参数。
本文开发并实现基于STM32的户外环境检测系统,结合室外环境检测新型概念,实现用户通过网络对环境的实时监控。该系统可以使用户能够对想要知道的情况进行实时的掌握以及控制。通过各种传感器获取户外环境信息(温湿度信息、光照信息、PM2.5),用户在Android界面上可以对这些信息进行掌控。主要实现环境监控和远程监控等功能,其中涉及到多方面的研究,如对 STM32 进行深刻的了解和学习才能进行下一步的硬件和软件设计,实际情况设计出相应的应用软件。
关键词:室外环境;环境监测;STM32;单片机;物联网
Abstract
With the continuous development of wireless technology and the continuous improvement of people's living standards, there are many fields of "outdoor environmental detection" in the domestic market, and environmental problems are particularly important. Whether it is working in a comfortable environment, entertainment, or testing and evaluation in a farm, forest farm, garden, ecological vegetation and other environments, most of them are manually monitored for environmental parameters, and some are detected and controlled intelligently. but the practical application is not ideal, due to the limitation of wireless transmission distance, for air temperature and humidity, gas concentration, soil temperature and humidity, light and other parameters, most of them are measured in a small range, and in the data acquisition timeliness, stability performance is poor, can not be easily operated to observe, regulate all kinds of sensitive parameters.
A STM32- based outdoor environment detection system is developed and implemented in this paper. The system enables users to grasp and control the situation they want to know in real time. Through various sensors to obtain outdoor environment information (temperature and humidity information, illumination information, PM2.5), users can control this information on the Android interface. Environmental monitoring and remote monitoring are mainly realized, which involves many aspects of research, such as deep understanding and learning of STM32 to carry out the next step of hardware and software design, the actual situation of the design of the corresponding application software.
Keywords: Outdoor environment; environmental monitoring; STM32; MCU; Internet of things