Experimental Evaluation of Cable Length Effects on the Accuracy and Stability of Soil Moisture Sensor Measurements for ESP32-Based Monitoring Systems
Experimental Evaluation of Cable Length Effects on the Accuracy and Stability of Soil Moisture Sensor Measurements for ESP32-Based Monitoring Systems
DOI:
https://doi.org/10.29303/dielektrika.v13i2.391Keywords:
ESP32; cable length; data acquisition; soil moisture senso; measurement stabilityAbstract
The use of soil moisture sensors in ESP32-based monitoring systems requires reliable measurement stability, particularly when sensors are installed far from the data acquisition unit. This study experimentally evaluates the effect of cable length on the characteristics and stability of soil moisture sensor measurements. Three sensor channels were tested using two cable configurations, namely the original cable and a 7-meter cable, under wet and dry conditions. The 12-bit ADC output data were evaluated using mean, standard deviation, coefficient of variation (CV), bias, mean absolute error (MAE), and root mean square error (RMSE). Under wet conditions, the 7-meter cable produced mean reading changes of +6.68% for ADC 1, −1.53% for ADC 2, and −0.71% for ADC 3. ADC 2 demonstrated the highest stability, with CV values of 0.16% and 0.78% for the original and 7-meter cables, respectively. Under dry conditions, all channels reached the maximum ADC value of 4095, indicating 12-bit ADC saturation. Overall, the ADC 2 configuration using the F2PH245082A sensor provided the most stable performance. These results confirm that cable length should be considered when designing ESP32-based analog sensor acquisition systems for reliable field monitoring applications.

