The Rainwater Monitoring and Management System is an advanced IoT-based solution designed to provide comprehensive, real-time insights into rainfall patterns and water collection processes. By integrating sophisticated sensors, a powerful ESP32 microcontroller, and an intuitive web interface, the system offers precise tracking and analysis of rainwater harvesting parameters.
-
ESP32 Microcontroller
- Dual-core processor (240MHz)
- Built-in Wi-Fi and Bluetooth capabilities
- I2C communication support
- GPIO pins for sensor interfacing
-
Sensors
-
Tipping Bucket Rainfall Sensor (SKU: SEN0575)
- Measurement Range: 0-9999mm
- Resolution: 0.28mm per tip
- Communication: I2C and UART
- Operating Temperature: -40°C to 85°C
- Features: Automatic drainage, high platform compatibility
-
YFS-201 Water Flow Sensor
- Measurement Method: Hall effect sensor
- Output: Pulse signals proportional to water flow
- Flow Rate Range: 1–30 L/min
- Working Voltage: 5–24V
-
-
Auxiliary Components
- Gravity I2C Communication Module
- Type-B USB Cable
- 5V Adapter
- Real-time data acquisition
- Data processing and calculation
- Web server hosting
- User interface for data visualization
-
Rainfall Sensor: Measures rainfall through a tipping bucket mechanism
- Each sensor tip represents 0.28mm of rainfall
- Transmits data via I2C communication
-
Water Flow Sensor: Tracks water flow rate
- Generates pulses proportional to flow volume
- Calculates flow rate and total water volume
The system processes raw sensor data to compute:
- Cumulative rainfall
- Hourly rainfall intensity
- Total water collected
- Instantaneous flow rate
- Hosted on ESP32 microcontroller
- Accessible via Wi-Fi network
- Real-time metrics display
- Features:
- Current rainfall information
- Hourly rainfall trends
- Total water volume
- Flow rate visualization
- Data reset functionality
- SSID:
RainfallMonitor
- Access Point IP:
192.168.4.1:8080
- Connect sensors to ESP32 using specified GPIO pins
- Ensure proper power supply using 5v adapter and a Type-B USB Cable
- Mount sensors in appropriate outdoor locations
- Flash ESP32 with MicroPython firmware
- Install required libraries
- Upload
main.py
script - It's ready and visit the IP Address
190.168.4.1:8080
for the webpage.
- Preset resolution: 0.28mm per tip
- Manual calibration support through software configuration
- Configurable calibration factor
- Default: 7.5 pulses per liter
-
Cloud Integration
- Remote data access
- Trend analysis using platforms like AWS or Google Cloud
-
Advanced Analytics
- Machine learning for rainfall prediction
- Water usage trend analysis
-
Mobile Application
- Real-time monitoring
- Push notifications
- Comprehensive data visualization
-
Power Optimization
- Solar power integration
- No sensor data
- Web interface not loading
- Inaccurate readings
- Verify physical connections
- Check power supply
- Recalibrate sensors
- Confirm network settings
- Microcontroller: ESP32 (Dual-core, 240MHz)
- Communication: Wi-Fi, I2C
- Data Storage: Temporary in-memory logging
- Update Frequency: 5-second intervals
- Maximum Logged Readings: 10