Intelligent counter-season irrigation system — Togo
# 🌱 Smart Agri-Togo
**Intelligent Counter-Season Irrigation System for Smallholder Farming in Togo**
> A research and deployment project combining Optimal Control, Machine Learning, and IoT
> technology to make profitable dry-season agriculture accessible to young Togolese farmers.
---
## đź“‹ Project Overview
Smart Agri-Togo is a **research-first, deploy-second** agritech project targeting the
counter-season vegetable market in Togo (onion, carrot, lettuce, maize). The system uses:
- **Model Predictive Control (MPC)** for optimal irrigation scheduling
- **LSTM neural networks** for 48-hour ETâ‚€ and rainfall forecasting
- **IoT sensor network** (25 soil moisture probes on a 5Ă—5 grid)
- **Remote smartphone control** via Firebase + Flutter mobile app
- **100% organic fertilization** via composting, biogas digestate, and human biosolids
- **Off-grid solar power** (1.1 kWp PV + 200 Ah LiFePO4 battery bank)
**Pilot field**: 25 m × 25 m (625 m²), Lomé area, Togo
**Target season**: October–April (dry counter-season)
**Primary crops**: Onion 🧅 · Carrot 🥕 · Lettuce 🥬 · Maize 🌽
---
## 🗂️ Repository Structure
```
smart-agri-togo/
│
├── docs/ # Project documentation
│ ├── report/ # Full feasibility & strategic report (PDF + LaTeX)
│ ├── course/ # Technical course: Math, Irrigation, Fertilization, Energy
│ ├── images/ # Diagrams, simulation screenshots
│ └── hardware_diagrams/ # Wiring schematics, PCB layouts
│
├── data/ # All project data (raw + processed)
│ ├── weather/
│ │ ├── raw/ # Raw Open-Meteo API responses (JSON)
│ │ └── processed/ # Cleaned CSV: timestamp, T, RH, Rs, u2, ET0
│ ├── soil/ # Lab soil analysis results
│ ├── sensors/ # Real-time field sensor readings
│ └── harvest/ # Season yield records per cell
│
├── hardware/ # Physical system sp …