OC
OceanRemote
Low-code IoT platform
← Back to Course

Yield Prediction from Sensor Data

Yield Prediction from Sensor Data

📈 Yield Prediction Model

📊 What You'll Learn:

  • 📈 Use soil moisture data to predict crop yields
  • 🧮 Apply the yield prediction formula to your farm
  • 💰 Forecast revenue before harvest
  • 🌱 Optimize watering for maximum yield

📊 The Yield Prediction Formula

Yield = Base + (Sensitivity × Moisture%)

  • 📌 Base Yield: Minimum yield when soil is too dry
  • 📌 Sensitivity: How much yield increases per 1% moisture
  • 📌 Moisture%: Your actual soil moisture reading (0-100%)

🍅 Example: Tomatoes

Tomato Yield Formula:

Yield (kg/plant) = 2.5 + (0.08 × Moisture%)

  • 🌱 At 45% moisture:
    2.5 + (0.08 × 45) = 2.5 + 3.6 = 6.1 kg/plant
  • 🌿 At 65% moisture (optimal):
    2.5 + (0.08 × 65) = 2.5 + 5.2 = 7.7 kg/plant
  • ⚠️ At 25% moisture (dry):
    2.5 + (0.08 × 25) = 2.5 + 2.0 = 4.5 kg/plant (41% lower yield!)
💡 Understanding the Numbers:

Each 10% increase in soil moisture adds 0.8 kg per tomato plant. With 10,000 plants, that's 8,000 kg more tomatoes!

📈 Farm-Level Forecast

🌾 10,000 Tomato Plants at 65% Moisture:

  • Per plant yield: 7.7 kg
  • Total yield: 7.7 kg × 10,000 = 77,000 kg
  • Expected revenue (at $0.50/kg): $38,500
📊 Case Study — Yield Prediction Saves Farm, Nigeria:

A tomato farmer used the yield prediction model to make irrigation decisions:

  • 📊 Predicted yield at current moisture (45%): 6.1 kg/plant → 61,000 kg total
  • 💧 Increased watering to optimal (65%): 7.7 kg/plant → 77,000 kg total
  • 📈 Extra yield: 16,000 kg more tomatoes
  • 💰 Extra revenue: $8,000 at market prices
  • 💧 Extra water cost: Only $200
  • Net profit increase: $7,800!

"The prediction model showed me exactly how much more money I was losing by underwatering. I invested in better irrigation and doubled my profit!" — Farmer, Kaduna State

🌽 Yield Formulas for Common African Crops

  • 🍅 Tomatoes
    Yield (kg/plant) = 2.5 + (0.08 × Moisture%)
    Optimal: 60-70% moisture
  • 🌽 Maize (Corn)
    Yield (kg/plant) = 0.15 + (0.005 × Moisture%)
    Optimal: 50-65% moisture
  • 🥬 Cabbage / Leafy Greens
    Yield (kg/plant) = 0.8 + (0.03 × Moisture%)
    Optimal: 65-75% moisture
  • 🌶️ Bell Peppers
    Yield (kg/plant) = 0.8 + (0.025 × Moisture%)
    Optimal: 55-70% moisture
💡 How to Find Your Farm's Formula:
  • Step 1: Track moisture % for 2-3 months
  • Step 2: Record final yield per plant
  • Step 3: Use Excel to find the relationship
  • Step 4: Create YOUR personalized formula!
⚠️ Important Limitations:
  • Formula assumes all other factors are optimal (fertilizer, sunlight, pest control)
  • Too much water (>80%) reduces yield due to root rot
  • Different soil types (sandy vs clay) need different formulas
  • Always validate predictions with actual harvest weights
📊 Excel/Google Sheets Formula:
// For tomatoes: Yield = 2.5 + (0.08 * Moisture%)
// In Excel cell: =2.5+(0.08*A1)  where A1 = moisture%

Example spreadsheet:
A1 = 65 (moisture %)
B1 = =2.5+(0.08*A1)  → 7.7 kg/plant
C1 = B1 * 10000      → 77,000 kg total
D1 = C1 * 0.5        → $38,500 revenue
🎯 Key Takeaways:
  • Yield = Base + (Sensitivity × Moisture%) — simple formula for prediction
  • ✅ Tomatoes: Each 10% moisture adds 0.8 kg/plant → 8,000 kg more per 10,000 plants
  • ✅ At 65% moisture, 10,000 tomato plants produce 77,000 kg → $38,500 revenue
  • ✅ Increasing from 45% to 65% moisture added $7,800 profit in Nigerian case study
  • ✅ Use the formulas above for common crops, or create YOUR OWN by tracking data
  • ✅ Always validate — formulas are tools, not guarantees
💡 Key Takeaways:
  • Apply these concepts directly to your farm or project.
  • Take notes on important details for the quiz.
  • Use the button below to track your progress.