To solve the long detection time in traditional soil nutrient testing, the shortcomings of transmission distance limitation in currently available portable equipment, and the susceptibility to detection precision degradation caused by temperature interference, a cloud-based portable sensor for the detection of basic soil nutrients is introduced in this paper. The sensor uses STM32F407 as the main control chip and employs a 485 type, five-pin, four-parameter soil sensor, which can measure the temperature, moisture, pH value and NPK at the same time, and realizes the data acquisition of the four parameters through the Modbus RTU protocol. The FS-MCore-F800 series highly integrated 4G Cat.1 module is adopted to implement real-time remote transmission of detection data and remote monitoring functions. Through testing, the device offers extensive signal coverage and stable communication under weak signal conditions. It supports integrated detection of multiple sensors via RS-485, while reducing moisture measurement errors through a random forest-based temperature compensation model. The cloud platform enables multi-terminal access, and the device features excellent operability, presenting broad promotion prospects in smart agriculture.
Key words
STM32F407 /
RS-485 /
soil monitoring /
online monitoring /
multi-sensor
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 杜娟娟,魏秋娟,武月莲,等.基于物联网的智慧农业数据采集与管理系统设计[J].现代农业装备,2024,45(3):50-53.
[2] 章玮. 土壤检测的传感器技术发展现状与展望[J].安徽农学通报,2018,24(22):142-145.
[3] 贾珺,李静宇,董芳娟.物联网技术在智慧农业大棚监测系统设计中的应用探讨[J].智慧农业导刊,2023,3(13):9-12.
[4] 邓辉,李烨.基于STM32F407的智能温室大棚系统[J].中国新技术新产品,2023(14):37-39.
[5] 刘勇,杨娟,王运圣,等.国内外土壤湿度传感器通信协议对比研究[J].上海农业学报,2022,38(3):121-127.
[6] 吕世霞. 基于Modbus总线控制的机器人自动分装码垛系统设计[J].机床与液压,2018,46(3):87-89.