ESP32-Based Smart Agriculture System with Wi-Fi Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various sensors and a relay module connected to an ESP32 microcontroller. The circuit is designed to monitor environmental parameters such as temperature, humidity, soil moisture, light intensity, and pH levels. Additionally, it includes a relay module for controlling external devices.
Component List
DHT11
- Description: Temperature and Humidity Sensor
- Pins: GND, DATA, VCC
ESP32
- Description: Microcontroller with Wi-Fi and Bluetooth capabilities
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
Soil Moisture Module
- Description: Module for measuring soil moisture levels
- Pins: An, Di, Gnd, VCC, +, -
LDR Sensor
- Description: Light Dependent Resistor for measuring light intensity
- Pins: Ana, Digi, Gnd, VCC
PH Meter
- Description: Sensor for measuring pH levels
- Pins: Signal, VCC, GND
Relay 4 Channel 5V
- Description: Relay module for controlling external devices
- Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
Soil Moisture Sensor
- Description: Sensor for measuring soil moisture
- Pins: +, -
Wiring Details
DHT11
- GND connected to ESP32 GND
- DATA connected to ESP32 D25
- VCC connected to ESP32 3V3
ESP32
- GND connected to DHT11 GND, Soil Moisture Module Gnd, LDR Sensor Gnd, PH Meter GND, Relay 4 Channel 5V GND
- D25 connected to DHT11 DATA
- 3V3 connected to DHT11 VCC, Soil Moisture Module VCC, LDR Sensor VCC, PH Meter VCC, Relay 4 Channel 5V VCC
- D34 connected to Soil Moisture Module An
- D35 connected to PH Meter Signal
- D32 connected to LDR Sensor Ana
- D19 connected to Relay 4 Channel 5V IN4
- D21 connected to Relay 4 Channel 5V IN3
- D22 connected to Relay 4 Channel 5V IN2
- D23 connected to Relay 4 Channel 5V IN1
Soil Moisture Module
- Gnd connected to ESP32 GND
- VCC connected to ESP32 3V3
- An connected to ESP32 D34
- + connected to Soil Moisture Sensor +
- - connected to Soil Moisture Sensor -
LDR Sensor
- Gnd connected to ESP32 GND
- VCC connected to ESP32 3V3
- Ana connected to ESP32 D32
PH Meter
- GND connected to ESP32 GND
- VCC connected to ESP32 3V3
- Signal connected to ESP32 D35
Relay 4 Channel 5V
- GND connected to ESP32 GND
- VCC connected to ESP32 3V3
- IN4 connected to ESP32 D19
- IN3 connected to ESP32 D21
- IN2 connected to ESP32 D22
- IN1 connected to ESP32 D23
Soil Moisture Sensor
- + connected to Soil Moisture Module +
- - connected to Soil Moisture Module -
Code
No code provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code section. Each component is described, and the wiring details are provided to ensure proper connections.