๐ System Status Overview
Sensors Active
6/6
WiFi Connection
Strong
ESP32 Uptime
99.8%
Active Alerts
0
๐ก๏ธ Real-Time Sensor Readings
pH Level
PH-4502C Module
Analog Input: GPIO34
7.2
Safe Range: 6.5 - 8.5
Range: 0-14 pH | Accuracy: ยฑ0.1
Turbidity
SEN0189 Module
Analog Input: GPIO35
5.0 NTU
Safe Range: 0 - 10 NTU
Range: 0-3000 NTU | DFRobot
Air Quality (Gas)
MQ-135 Sensor
Analog Input: GPIO32
150 PPM
Safe Range: 0 - 300 PPM
Detects: NH3, NOx, CO2, Smoke | Heating: Required
Water Level
HC-SR04 Ultrasonic
Trig: GPIO5, Echo: GPIO18
75 %
Tank Capacity: 100L
Range: 2-400cm | Resolution: 0.3cm
Soil Moisture
Capacitive Moisture
Analog Input: GPIO33
65 %
Optimal: 60 - 80%
Type: Capacitive | Corrosion Resistant
Water Temperature
ESP32 Internal / DS18B20
OneWire: GPIO4
24 ยฐC
Safe Range: 15 - 30ยฐC
Accuracy: ยฑ0.5ยฐC | Waterproof Probe
๐๏ธ System Controls & Actuators
๐ง SG90 Servo Valve Control
GPIO Pin: 13
PWM: 50Hz
Angle: 0-180ยฐ
0ยฐ
Servo Status: CLOSED
Current Angle: 0ยฐ
Last Action: System Start
๐จ Alert System Control
LED Indicator
GPIO: 2
Type: Built-in LED
Status: OFF
Active Buzzer
GPIO: 15
Type: Active
Status: SILENT
5V Relay Module
GPIO: 27
Type: NO/NC
Status: OFF
๐ Hardware Architecture
ESP32 DevKit V1
Dual-Core 240MHz
WiFi + Bluetooth
๐ฅ Analog Inputs (ADC)
- GPIO34 โ PH-4502C (pH Sensor)
- GPIO35 โ SEN0189 (Turbidity)
- GPIO32 โ MQ-135 (Air Quality)
- GPIO33 โ Moisture Sensor
๐ Digital I/O
- GPIO5 โ HC-SR04 Trigger
- GPIO18 โ HC-SR04 Echo
- GPIO4 โ DS18B20 (OneWire)
๐ค Output Controls
- GPIO13 โ SG90 Servo (PWM)
- GPIO2 โ LED Indicator
- GPIO15 โ Active Buzzer
- GPIO27 โ 5V Relay Module
๐ Communication
- WiFi โ MQTT Broker
- HTTP โ Web Server
- Bluetooth โ Mobile App
๐ System Alerts & Event Log
2026-02-27 10:30:00 AM
2026-02-27 10:25:00 AM
โ๏ธ Complete Hardware Specifications
๐ฅ๏ธ Microcontroller
| Model | ESP32 DevKit V1 |
| Processor | Dual-core Xtensa LX6 @ 240MHz |
| RAM | 520 KB SRAM |
| Flash | 4 MB |
| WiFi | 802.11 b/g/n (2.4 GHz) |
| Bluetooth | Bluetooth 4.2 & BLE |
| GPIO Pins | 30+ (18 ADC channels) |
| Operating Voltage | 3.3V (5V via USB) |
๐ฌ Sensor Modules
| pH Sensor | PH-4502C (0-14 pH, ยฑ0.1 accuracy) |
| Turbidity | SEN0189 (0-3000 NTU, DFRobot) |
| Air Quality | MQ-135 (NH3, NOx, CO2 detection) |
| Distance | HC-SR04 (2-400cm, ยฑ3mm) |
| Moisture | Capacitive (Corrosion resistant) |
| Temperature | DS18B20 (Optional, ยฑ0.5ยฐC) |
โก Actuators & Outputs
| Servo Motor | SG90 (0-180ยฐ, 4.8-6V, 9g) |
| Relay Module | 5V Single Channel (10A/250VAC) |
| Buzzer | Active Buzzer (3-5V DC) |
| LED Indicator | Built-in + External (3mm/5mm) |
๐ป Software Stack
| IDE | Arduino IDE / PlatformIO |
| Programming | C/C++ (Arduino Framework) |
| Libraries | WiFi.h, WebServer.h, Servo.h |
| Protocol | MQTT, HTTP, WebSocket |
| Frontend | HTML5, CSS3, JavaScript |
| Backend | Node.js / Python Flask (Planned) |
| Database | MongoDB / InfluxDB (Planned) |
| Cloud Platform | AWS IoT / ThingSpeak (Planned) |
๐ Power Requirements & Circuit Design
Power Supply
- ESP32: 5V USB / 3.7V LiPo Battery
- Sensors: 3.3V-5V (ESP32 regulated)
- Servo: 5V External (500mA peak)
- Relay: 5V (70mA coil current)
- Total Current: ~1.5A (with all components)
- Recommended PSU: 5V 2A DC Adapter
Circuit Protection
- Voltage regulators for sensitive sensors
- Flyback diodes on relay coil
- Current limiting resistors for LEDs
- Separate power rail for servo motor
- Decoupling capacitors (100nF, 10ยตF)
- Reverse polarity protection