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

ESP32-Controlled Soil Moisture Monitoring and Water Pump System

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Soil Moisture Monitoring and Water Pump System

Circuit Documentation

Summary of the Circuit

This circuit is designed to control a water pump based on soil moisture levels. It consists of a power source (9V Battery), a microcontroller (ESP32 Devkit V1), a relay module (Wemos D1 Mini Relay Shield) to switch the water pump, a soil moisture sensor module (Soil Moisture Module with YL-69 Sonda), and the water pump itself. The ESP32 reads the moisture level from the soil sensor and controls the relay, which in turn powers the water pump.

Component List

9V Battery

Wemos D1 Mini Relay Shield

ESP32 Devkit V1

Soil Moisture Module

YL-69 Sonda

Water Pump

Wiring Details

9V Battery

Wemos D1 Mini Relay Shield

ESP32 Devkit V1

Soil Moisture Module

YL-69 Sonda

Water Pump

Documented Code

No code was provided for the microcontrollers in the circuit. The expected behavior is that the ESP32 Devkit V1 would run a program to read the analog value from the Soil Moisture Module, process the moisture level, and control the Wemos D1 Mini Relay Shield to turn the Water Pump on or off accordingly. The code would be responsible for initializing the hardware interfaces, reading sensor data, implementing control logic, and driving the relay.