项目简介
项目名:大棚环境监测(实物)
项目编号:mcuclub-dz-270
单片机类型:STM32F103C8T6
具体功能:
1、通过DHT11测量环境温湿度值,当温湿度值不在设置的上下限值内,则启动加热、制冷、加湿、除湿
2、通过土壤湿度传感器测量土壤湿度值,当湿度值小于设置最小值,则启动水泵加水
3、通过光敏电阻检测光照值,当光照值过低,则进行补光
4、通过SGP30检测CO2值,当CO2值大于设置最大值,则启动通风换气
5、通过按键可设置各阈值
6、通过OLED显示测量值
7、通过WIFI模块,可将数据远程发送到手机端,手机端可调整各阈值、远程控制各继电器、切换模式
总字数:18080
摘 要
在农业生产和发展过程中,温室大棚占据着重要地位,物联网技术与农业生产技术相结合,使农业的生产效率得到了大幅提升。
本设计针对大棚封闭空间的环境监测管理系统,基于STM32 单片机,融合多传感器构成无线传感器终端节点,组成传感网络,最值实现对大棚环境相关参教的实时监测。与此同时,该系统还可将监测到的环境数据进行上传,包括环境温湿度、土壤湿度、光照强度和CO2浓度等数据,WiFi模块将监测到的实时数据上传至服务器,并进行相应的存储与处理操作,系统根据实时参数状况,对大棚内的环境参数进行相应的调度与处理,使大棚内的环境参数处于最适宜植物生长的范围之内。本设计还可以通过按键进行相关阈值的设置和模式的切换,并通过显示屏和手机端进行数据的实时显示。
测试表明,该系统运行稳定、监测准确、功耗低且布线方便。为大棚环境参数的调节提供了理论依据和技术支持。
关键词:大棚环境;环境温度;土壤湿度;WiFi;单片机
Abstract
In the process of agricultural production and development, greenhouses occupy an important position, and the combination of Internet of Things technology and agricultural production technology has greatly improved the production efficiency of agriculture.
This design is aimed at the environmental monitoring management system of the closed space of the greenhouse. Based on STM32 single chip microcomputer, it integrates multiple sensors to form a wireless sensor terminal node and a sensor network to realize the real-time monitoring of the greenhouses environment. At the same time, the system can also upload the monitored environmental data, including environmental temperature and humidity, soil moisture, light intensity and CO2 concentration data, WiFi module will upload the monitored real-time data to the server, and carry out the corresponding storage and processing operations, the system according to the real-time parameters, the environmental parameters in the greenhouse for corresponding scheduling and processing. The environmental parameters in the greenhouse are in the most suitable range for plant growth. The design can also set the relevant threshold and switch the mode by pressing the button, and display the data in real time through the display screen and the mobile phone.
The test results show that the system has stable operation, accurate monitoring, low power consumption and convenient wiring. It provides theoretical basis and technical support for the adjustment of greenhouse environmental parameters.
Key words:greenhouse environment; Ambient temperature; Soil moisture; WiFi; Single chip microcomputer
目 录
摘 要
Abstract