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

ESP32-Based Automated Plant Watering System with Soil Moisture Monitoring and LCD Feedback

View and Edit Project In Cirkit DesignerImage of ESP32-Based Automated Plant Watering System with Soil Moisture Monitoring and LCD Feedback

Circuit Documentation

Summary

This circuit integrates various components controlled by an ESP32 microcontroller to perform a range of functions. The ESP32 is connected to input devices, output devices, and sensors, including a pushbutton, an I2C LCD screen, a relay module, an ultrasonic sensor, a soil moisture sensor module, a mini water pump, and multiple LEDs. The circuit is powered by a 5V battery and a 2x 18650 battery pack. The ESP32 reads inputs from the pushbutton and sensors to control the relay, which in turn controls the water pump, and to display information on the LCD screen. LEDs are used as status indicators.

Component List

Wiring Details

ESP32 (30 pin)

5V Relay

I2C LCD 16x2 Screen

YL-69 Sonda and YL-83 Module LM393

Mini Water Pump

Pushbutton

HC-SR04 Ultrasonic Sensor

2x 18650 Battery Pack

5V Battery

LEDs (Red, Green, Yellow)

Documented Code

sketch.ino

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

}

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

}

documentation.txt

The code for the ESP32 microcontroller is currently a template with empty setup() and loop() functions. The setup() function is intended to initialize the pins and peripherals, while the loop() function will contain the main logic for reading sensors, controlling the relay, updating the LCD display, and managing LED states. The actual implementation will depend on the specific requirements of the circuit's operation.