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

ESP32-Based Smart Irrigation System with I2C LCD Display and Soil Moisture Sensor

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Irrigation System with I2C LCD Display and Soil Moisture Sensor

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to monitor soil moisture levels and control a water pump based on the moisture readings. The circuit includes an ESP32 microcontroller, an I2C LCD screen for display, a soil moisture sensor and module, a 5V relay, and a 5V mini water pump. The circuit is powered by a 3xAAA battery pack with a switch.

Component List

  1. I2C LCD 16x2 Screen

    • Description: A 16x2 character LCD screen with I2C interface.
    • Pins: SCL, SDA, VCC (5V), GND, VDD, VO, RS, RW, E, D0, D1, D2, D3, D4, D5, D6, D7, BLA, BLK
  2. Soil Moisture Module

    • Description: A module to interface with the soil moisture sensor.
    • Pins: positive, negative, Analog, Digital, Ground, VCC
  3. ESP32 (30 pin)

    • Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  4. Soil Moisture Sensor

    • Description: A sensor to measure the moisture level in the soil.
    • Pins: VCC, GND, SIG
  5. 5V Relay

    • Description: A relay module to control high-power devices.
    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
  6. 5V Mini Water Pump

    • Description: A small water pump powered by 5V.
    • Pins: positive pin, negative pin
  7. 3xAAA Battery with Switch (bare wire)

    • Description: A battery pack with a switch to power the circuit.
    • Pins: POS, NEG

Wiring Details

I2C LCD 16x2 Screen

Soil Moisture Module

ESP32 (30 pin)

Soil Moisture Sensor

5V Relay

5V Mini Water Pump

3xAAA Battery with Switch (bare wire)

Code

No code is provided for this circuit.