Edge Early Warning of Threshold-Defined Heat-Stress Episodes in Tomato: A Proof-of-Concept Low-Cost ESP32 Multi-Sensor Node with On-Device Machine Learning
Rithikkaa Suresh Jyothi Bai, Parinitha Mohanavelu, Rahul Sanmugam Gopi, Amirthalakshmi Thirumalai Maadapoosi
Key points
From the paper's conclusion- The results establish engineering feasibility only; validation on multiple plants, sites and seasons, linked to plant responses, is required.
Abstract
Heat stress during flowering reduces tomato fruit set, yet low-cost monitoring nodes typically report a threshold breach only after it occurs. This proof-of-concept study developed CropWhisperAI, an ESP32 node with air-temperature/humidity, soil-temperature, soil-moisture, light and reservoir-level sensors and tested whether threshold-defined heat-stress episodes (air > 35 °C or soil > 32 °C for at least 15 min) can be forecast 15–60 min ahead on the microcontroller. Over 107 days, the node logged 30,816 five-minute records beside a single field-grown tomato plant at one site, containing 42 episodes on 42 days, 29 of them in June; the models therefore forecast threshold crossings, not physiological damage. Two rules, a time-of-day baseline and four learned models were compared using day-blocked cross-validation and event-level metrics. At 30 min, LightGBM reached an area under the precision–recall curve of 0.919 (95% CI 0.862–0.961), warned before 40 episodes and raised 0.07 false alarms per day, against 0.28 for a trend-extrapolation rule. A nine-parameter logistic model for the ESP32 warned before 41 episodes with a median lead of 30 min and 0.10 false alarms per day, and its C implementation reproduced every Python alarm decision. Air and soil temperature carried nearly all predictive information. Under seasonal and leave-one-month-out hold-outs, accuracy fell and no method was consistently best. The results establish engineering feasibility only; validation on multiple plants, sites and seasons, linked to plant responses, is required. By warning growers before heat stress sets in, such low-cost nodes could help farms adapt to rising temperatures, contributing to SDG 2 (Zero Hunger), SDG 13 (Climate Action) and SDG 9 (Industry, Innovation and Infrastructure).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AgriDefend: A $205 Offline Edge Device that Detects Crop Stress Before Visible Symptoms via Multimodal AI FusionarXiv · 2026
- FPGA-Accelerated Machine Learning for Computational Environmental Information Processing in IoT-Integrated High-Density Nanosensor NetworksInformation · 2026
- Environmental–Visual Fusion for Proactive Tomato Late Blight Management in Protected HorticultureHorticulturae · 2026
- An Integrated IoT-Based Smart Farming Framework for Tomato Cultivation Using Fuzzy Logic Irrigation Control and Deep Learning ClassificationAutomation · 2026
- Low-cost IoT real-time environmental monitoring and one-hour LSTM forecasting for small-scale agricultural applications.Scientific reports · 2026
- Machine Learning-Based Estimation of Crop Water Stress Index in Eggplant Under Different Irrigation RegimesAgronomy · 2026