Skip to content
#edge computing Open access

Data-driven Agriculture: Enhancing Crop Prediction with NPK Sensor Integration in Semi-arid Karnataka, India

Oct 2026 · Agricultural Science Digest - A Research Journal
Smart Agriculture and AI

Abstract

Background: Agriculture supports over 2.5 billion livelihoods worldwide, yet soil fertility management on Indian smallholder farms remains largely empirical. Tumakuru district’s red soil compound this problem with low organic matter and high spatial variability in N, P and K. Conventional lab testing, costs ₹350-450 and takes 3-7 days, putting it out of reach for most smallholders. Further, existing studies rarely validate sensors against lab references, report seasonal accuracy to actionable fertilization guidance. To address these issues, a low-cost edge-computing system integrated with soil sensors and machine learning is proposed. Methods: An NPK sensor and DHT22 sensor were interfaced with a Raspberry Pi 3B+ and deployed at 18 plots in Tumakuru district across kharif (June-October 2023) and rabi (November 2022-March 2023) seasons. Sensor readings were validated against laboratory reference methods (Kjeldahl for N; Olsen for P; ammonium acetate for K; n = 20 composite samples). A field-collected dataset of 3,600 instances was classified by Decision Tree and K-Nearest Neighbour (KNN) classifiers under 10-fold stratified cross-validation. A novel Confidence-Weighted Majority Voting (CWMV) ensemble was evaluated by McNemar’s test. Result: Sensor laboratory correlations were strong (N: r = 0.91; P: r = 0.87; K: r = 0.89; RMSE≤9.3%). Cross-validated accuracy was 96.7±0.4% (Decision Tree) and 96.5±0.5% (KNN). The CWMV ensemble achieved 97.3% test-set accuracy with statistically significant improvement. Seasonal accuracy varied by 0.4 percentage points. Hardware cost was ₹4,200 (≈US$50; ₹0.19 per prediction; 99.95% cheaper than laboratory testing) and energy consumption was 0.101 Wh per 1,000 inference cycles.

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

MIT News · Artificial Intelligence Oct 15, 2026

AI model decodes the language cells use to communicate

A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.

Microsoft Research Blog Oct 15, 2026

Proof-based general-purpose computing with Magnetar

Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.