Automated Smart Environmental Protection - Agricultural Irrigation and Data System
ASEP AIDS is an intelligent automated irrigation system designed to optimize agricultural water usage through smart monitoring and control. The system leverages ESP32 microcontroller technology, precision moisture sensors, and automated pump control to maintain ideal soil conditions for plant growth.
- 📊 Real-time soil moisture monitoring
- 🚰 Automated irrigation control based on moisture thresholds
- 🌐 Web-based dashboard for remote monitoring and control
- 📈 Historical data tracking and visualization
- ⚡ Energy-efficient operation
- 📱 Mobile-responsive interface
⚠️ Alert system for critical conditions
graph TD
A[ESP32 Development Board] --> B[Capacitive Soil Moisture Sensor]
A --> C[5V Relay Module]
C --> D[Submersible Water Pump]
E[12V Power Supply] --> A
E --> D
F[Jumper Wires and Connectors] -.-> A
graph LR
A[ESP32 Firmware] --> B[Arduino]
C[Backend Server] --> D[Node.js]
E[Web Dashboard] --> F[HTML/CSS/JavaScript]
G[Database] --> H[SQLite]
Connect components according to the following pin configuration:
ESP32 GPIO Configuration
├── GPIO34 (ADC) → Soil Moisture Sensor
├── GPIO26 → Relay Module
└── Power → As per specifications
-
Install Arduino IDE
-
Add ESP32 board support:
File → Preferences → Additional Board Manager URLsAdd:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json -
Required Libraries:
#include <WiFi.h> #include <HTTPClient.h> #include <ArduinoJson.h> -
Update WiFi credentials in
config.h:#define WIFI_SSID "your_ssid" #define WIFI_PASSWORD "your_password"
-
Flash the firmware
Prerequisites:
- Node.js (v14 or higher)
- npm (v6 or higher)
Installation:
# Clone the repository
git clone https://github.com/notcaliper/asep-aids.git
# Navigate to project directory
cd asep-aids
# Install dependencies
npm install
# Setup configuration
npm run setup
# Start the server
npm startAccess the dashboard at:
http://[server-ip]:3000
Features available:
- 📊 Real-time moisture readings
- 💧 Pump status monitoring
- 🎮 Manual override controls
- 📈 Historical data graphs
- ⚙️ System settings configuration
| Task | Frequency | Description |
|---|---|---|
| Sensor Calibration | Monthly | Check and adjust sensor accuracy |
| Probe Inspection | Monthly | Physical check of moisture probes |
| Filter Cleaning | As needed | Clean water filtration system |
| Firmware Updates | As available | Update system firmware |
System Unresponsive
- Check power connections
- Verify proper voltage levels
- Inspect for loose wires
WiFi Connectivity Issues
- Check WiFi signal strength
- Verify network credentials
- Restart ESP32 module
Incorrect Sensor Readings
- Calibrate sensors
- Clean sensor probes
- Check wiring connections
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For technical support or queries:
- 🐛 Create an issue in the GitHub repository
Last Updated: February 9, 2025
Made with ❤️ by the AIDS E (Group 10) & NotCaliper