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

ESP32-Based Automated Plant Watering System with Soil Moisture Sensing and RTC Scheduling

View and Edit Project In Cirkit DesignerImage of ESP32-Based Automated Plant Watering System with Soil Moisture Sensing and RTC Scheduling

Circuit Documentation

Summary

The circuit in question is designed to interface an ESP32 microcontroller with a DS1307 Real-Time Clock (RTC), a 1-Channel 5V Relay Module, and a Soil Moisture Sensor. The ESP32 serves as the central processing unit, controlling the relay based on the time from the RTC or the data from the Soil Moisture Sensor. The relay can be used to control an external device, such as a water pump or an electric valve for irrigation purposes. The Soil Moisture Sensor provides feedback on the moisture level of the soil, which can be used to make decisions about watering plants.

Component List

ESP32 38 PINS

1 Channel 5V Relay Module

DS1307 RTC (Wokwi Compatible)

Soil Moisture Sensor

Wiring Details

ESP32 38 PINS

1 Channel 5V Relay Module

DS1307 RTC (Wokwi Compatible)

Soil Moisture Sensor

Documented Code

No code was provided for the microcontroller. To fully utilize this circuit, embedded code for the ESP32 is required to initialize and manage I2C communication with the DS1307 RTC, read the moisture level from the Soil Moisture Sensor, and control the Relay Module based on the logic defined by the user. The code would typically include setup routines, a main loop, and possibly interrupt service routines if real-time clock alarms or other asynchronous events are used.