Move the sliders below to match your farm's soil test values. This engine models how Nitrogen, Phosphorus and Potassium each act on the plant's actual photosynthetic machinery — not a generic "fertility score" — so the recommendation you get is traceable to a real mechanism.
Most farm advisory tools give a fertility number with no explanation. This shows the actual biological pathway — light capture, energy transfer, gas exchange — so agronomy students and field officers can see cause and effect, not just a score.
Digital farming isn't just IoT hardware — it's models like this one, connecting sensor data to plant physiology. This page is a working example of the kind of tool you'd build and maintain in a digital-farming career.
Right now this runs on manually entered values. The data schema below is built so real IoT/edge sensor feeds can plug in directly once field hardware is deployed — same engine, live data.
Set your farm's soil values to generate a recommendation.
/api/telemetry/npk as { farmId, lat, lng, n_kg_ha, p_kg_ha, k_kg_ha, soil_moisture_pct, timestamp } — the calculation engine below (computeEfficiency()) is written to accept that same shape, so wiring in IoT/edge devices later requires no redesign of this page.