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

ESP32-Based Automated Plant Watering System with Environmental Monitoring

View and Edit Project In Cirkit DesignerImage of ESP32-Based Automated Plant Watering System with Environmental Monitoring

Circuit Documentation

Summary

This circuit is designed to monitor soil moisture levels and control a water pump and a fan based on the sensor readings. It uses an ESP32 microcontroller to read data from a SparkFun Soil Moisture Sensor and a DHT11 Humidity and Temperature Sensor. The ESP32 also controls a 2-channel relay to power a 5V mini water pump and a 40mm 12V fan. The system status is displayed on a 1.3" OLED display module. The circuit is powered by a 12V battery, and the ESP32 is interfaced with various components through its GPIO pins.

Component List

Wiring Details

Battery 12V

SparkFun Soil Moisture Sensor

ESP32 (30 pin)

5V Mini Water Pump

2-Channel Relay

1.3" OLED Display Module

40mm Fan 12V

DHT11 Humidity and Temperature Sensor

Documented Code

ESP32 Microcontroller Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

2-Channel Relay Microcontroller Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code for the microcontrollers is a template and does not contain any functional code. It needs to be implemented according to the circuit's requirements.