
🌾 Agriculture · Sequence
How a farmer checks crop prices across nearby mandis and books a sale: live prices, transport cost, best net price and booking.
Drawing diagram…
Mandi app sequence: the farmer selects the crop (onion) and quantity, the price service fetches today's modal prices from nearby mandis (e-NAM feed), calculates net price after transport cost from the farmer's village, shows the best three options, the farmer books a selling slot at the chosen mandi, the commission agent confirms, after weighing and auction the payment is sent to the farmer's bank account and an SMS receipt is sent.
sequenceDiagram actor F as Farmer participant App as Mandi App participant P as Price Service participant EN as e-NAM Feed participant M as Mandi Agent participant B as Bank F->>App: Onion, 20 quintals App->>P: Best prices nearby P->>EN: Today's modal prices EN-->>P: 5 mandis P->>P: Subtract transport cost per mandi P-->>App: Top 3 net prices F->>App: Book slot at Lasalgaon, 10 am App->>M: Slot booking M-->>F: Confirmed M->>M: Weighing and auction M->>B: Pay Rs 46,000 B-->>F: Credited, SMS receipt
Where each part of a precision farming system runs: soil and weather sensors in the field, a solar-powered LoRaWAN gateway, and cloud services for irrigation and advice.
How produce moves from the farm to the buyer: harvest, grading, collection centre, mandi or online market, and payment to the farmer.
How satellite and drone imagery plus field sensors become crop health alerts and advice for farmers.
The states of an automated drip irrigation controller: idle, scheduled watering, moisture-based watering, rain delay and fault handling.
A schema for a farm management app: farmers, plots, crop cycles, inputs applied, activities and harvests.
A platform farmers use to plan crops, record field work and inputs, and get advisory and market prices.