Precision agriculture · India

Know the soil before you spend a rupee on water or fertilizer.

Dharti-Rakshak is a field probe and cloud agronomist. It reads moisture, temperature, pH, and NPK every few seconds — then tells a farmer what to do next.

See live readings
6 parameters Moisture, temp, pH, N, P, K from one Modbus probe
5 seconds ESP32 writes live + history to Firebase Realtime Database
3 AI layers Diagnosis, Hindi/English agronomist, leaf scan
1 card Printable Soil Health Card aligned to lab-style reporting

Live field console

What the probe is reading now

No mock gauges. These numbers update when the ESP32 publishes to Firebase.

Awaiting stream

Soil moisture

Root-zone water

0.0%

Healthy band: 25–45%.

Soil temperature

Biological activity

0.0°C

Comfort band: 18–30°C.

Soil pH

Nutrient availability

0.00

Neutral band: 6.0–7.5.

Nitrogen (N)

Leaf growth

0mg/kg

Target: above 20 mg/kg.

Phosphorus (P)

Roots and grain

0mg/kg

Target: above 15 mg/kg.

Potassium (K)

Stress immunity

0mg/kg

Target: above 120 mg/kg.

Agronomist layer

AI that is tied to this field, not the internet.

Every answer is grounded in the latest probe packet: N, P, K, moisture, temperature, and pH.

Prescription

Fertilizer plan per acre from live NPK

Split during tillering

Basal at sowing

Only if K is low

2–3 t

Organic carbon per acre

Run diagnosis after the probe comes online.

Ask the agronomist

Hindi, Hinglish, or English. Voice or text.

Ask about wheat, rice, irrigation, or fertilizer. I will use the live soil numbers.

Leaf scan

Upload a leaf. The model correlates disease risk with this soil packet — not a generic photo app.

Drop a leaf photo or click to upload

No scan yet

Soil correlation appears after a photo is analysed.

Remedy:

Crop fit

Match score uses this field’s pH, moisture, and nitrogen — plus indicative mandi bands for discussion.

Mustard

Waiting for diagnosis
₹5,650 / Q

Wheat

MSP crop
₹2,275 / Q

Maize

High biomass
₹2,150 / Q

AI verdict appears with the diagnosis.

Architecture

From probe to prescription.

Judges can follow the chain on the bench: sensor → ESP32 → Firebase → this site → AI.

01

7-in-1 RS485 probe

Modbus holding registers for moisture, temperature, pH, nitrogen, phosphorus, potassium.

02

ESP32 edge node

MAX485 on UART2, sanity checks, 16×2 LCD, 5-second cloud sync.

03

Firebase live node

PUT live_readings, POST historical_logs. Browser listens over WebSockets.

04

Cloud agronomist

Cloudflare Pages functions for diagnosis, chat, leaf vision, and CSV export from D1.

Built for competitions that become products

A soil lab that fits in a field kit.

Designed so a farmer gets an action, a judge sees a working system, and a lab can print a card.

Lead

Hammad Uddin

Hardware, firmware, and field integration.

Lead

Yuvraj Singh

Cloud, product surface, and agronomic software.