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

ESP32-Based Smart Irrigation and Environmental Monitoring System

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Irrigation and Environmental Monitoring System

Circuit Documentation

Summary

This circuit integrates various components to perform multiple functions. It is centered around the ESP32 microcontroller, which is responsible for controlling a DC motor via the L298N motor driver, reading temperature and humidity data from a DHT11 sensor, interfacing with an RS485 module for serial communication, and displaying information on an LCD display with I2C interface. The circuit also includes a humidity sensor (YL-69), a buzzer for audio feedback, and a soil NPK sensor for measuring soil nutrients. Power management is handled by 18650 Li-Ion batteries and a rocker switch. The circuit is designed for applications that require environmental monitoring and actuation based on sensor inputs.

Component List

ESP32 - 38 pins Expansion Board

L298N DC Motor Driver

5V Mini Water Pump

KY-015 DHT11 Temperature and Humidity Sensor

18650 Li-Ion Battery

Buzzer

Humidity YL-69 Sensor

Rocker Switch (SPST)

NPK Soil Sensor

RS485 Module

LCD Display 16x4 I2C

Wiring Details

ESP32 - 38 pins Expansion Board

L298N DC Motor Driver

5V Mini Water Pump

KY-015 DHT11 Temperature and Humidity Sensor

18650 Li-Ion Battery

Buzzer

Humidity YL-69 Sensor

Rocker Switch (SPST)

NPK Soil Sensor

RS485 Module

LCD Display 16x4 I2C

Documented Code

No code was provided for the microcontrollers in the circuit. The documentation of the code would typically include descriptions of the functions, initialization procedures, main loop, and any interrupt service routines. It would also detail how the code interacts with the connected sensors and actuators, as well as any communication protocols used. Since no code is available, this section cannot be completed.