About the project
# Croppeak_ng
### Automated Precision Irrigation & Nutrient Management System
---
## What I Built
A full-stack IoT system that automates farm irrigation and fertilizer delivery using real sensor data so farmers stop guessing and start growing smarter.
The system reads soil moisture, temperature, humidity, and water levels from field sensors, makes intelligent decisions, and controls pumps and valves automatically, all manageable from a mobile app or web dashboard in real time.
**Stack at a glance:**
- **Hardware** : STM32 microcontroller + ESP832 WiFi module + soil, TDS, rain, flow sensors, relays and others
- **Backend** : Appwrite (database, auth, realtime) + Next.js API
- **Mobile** : Flutter app with BLoC state management
- **Web** : Next.js dashboard with Mantine UI
---
## How It Works
```
Soil Sensor → STM32 reads data → ESP832 sends to cloud
↓
Appwrite stores + broadcasts in real time
↓
Automation engine checks rules (moisture low? rain detected?)
↓
Command sent → relay fires → pump or valve activates
↓
Farmer sees everything live on Flutter app or web dashboard
```
---
## Results
- **~38% reduction** in water usage vs. manual scheduling
- **Zero manual fertigation** — NPK dosing handled automatically by TDS readings
- Fault detection catches dry-runs and pump failures in **under 3 seconds**
- Works **offline** - RTC keeps automation running even without internet
---
*Croppeak_ng - Precision farming, built for the Nigerian field.*