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

ESP32-Controlled Automated Watering System with Soil Moisture Sensing

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Automated Watering System with Soil Moisture Sensing

Circuit Documentation

Summary of the Circuit

This circuit is designed to monitor soil moisture levels and control a water pump based on the moisture data. It uses an ESP32 microcontroller to read data from a capacitive soil moisture sensor and control a relay, which in turn switches a 5V mini water pump on or off. The ESP32 is powered by a 3.3V supply, and the relay and water pump are powered by a separate 5V adapter.

Component List

ESP32 - 38 pins

Capacitive Soil Moisture Sensor V1.2

KF-301 Relay

5V Mini Water Pump

5V Adapter

Wiring Details

ESP32 - 38 pins

Capacitive Soil Moisture Sensor V1.2

KF-301 Relay

5V Mini Water Pump

5V Adapter

Documented Code

Since no code was provided, this section is left blank. The expected code would typically initialize the GPIO pins on the ESP32, read the analog value from the soil moisture sensor, and control the relay based on the moisture level.


Please note that the actual implementation of the code would be necessary to provide a complete documentation of the circuit's functionality. The code would include setup routines, the main loop, and possibly interrupt service routines or other modular functions for reading the sensor and controlling the relay.