Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Based Smart Irrigation and Environmental Monitoring System

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Irrigation and Environmental Monitoring System

Circuit Documentation

Summary

This circuit is designed to interface various sensors and actuators with an ESP32 Devkit V1 microcontroller. The sensors include a DHT22 temperature and humidity sensor, a YL-69 soil moisture sensor, and two PH meters. Actuators in the circuit are two plastic solenoid valves controlled via a 2-channel relay module. The ESP32 Devkit V1 serves as the central processing unit, reading sensor data and controlling the solenoid valves based on predefined conditions. The circuit is powered by the 3V3 output from the ESP32, which also provides ground connections to the various components.

Component List

DHT22

Plastic Solenoid Valve

ESP32 Devkit V1

Resistor

YL-69 Sonda

Kabel

PH Meter

Soil Moisture Module

Relay Module 2 Channel

Wiring Details

DHT22

Plastic Solenoid Valve (1st instance)

Plastic Solenoid Valve (2nd instance)

ESP32 Devkit V1

YL-69 Sonda (1st instance)

YL-69 Sonda (2nd instance)

PH Meter (1st instance)

PH Meter (2nd instance)

Soil Moisture Module (1st instance)

Soil Moisture Module (2nd instance)

Relay Module 2 Channel

Documented Code

No code was provided for the microcontroller. The expected functionality would include reading sensor data from the DHT22, PH Meters, and Soil Moisture Modules, and controlling the solenoid valves via the relay module based on sensor inputs and programmed logic. The code would likely involve initializing the sensors, reading their outputs, and using digital outputs to control the relay module.