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

ESP32-Based Smart Irrigation System with Soil Moisture Sensors and Relay-Controlled Water Pumps

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Irrigation System with Soil Moisture Sensors and Relay-Controlled Water Pumps

Circuit Documentation

Summary

This circuit is designed to control multiple water pumps using relay modules, an ESP32 microcontroller, and various sensors including soil moisture sensors and a DHT11 humidity and temperature sensor. The ESP32 microcontroller reads data from the sensors and controls the relay modules to activate the water pumps based on the sensor readings.

Component List

  1. Relay module 5v-30v

    • Description: A relay module used to control high voltage devices like water pumps.
    • Pins: common contact, normally open, normally closed, trigger, V-, V+
  2. ESP32

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

    • Description: A power source for the circuit.
    • Pins: -, +
  4. Soil Moisture Sensor

    • Description: A sensor used to measure the moisture level in the soil.
    • Pins: gnd, vcc, aout
  5. Water Pump

    • Description: A pump used to water plants.
    • Pins: positive, negative
  6. DHT11 Humidity and Temperature Sensor

    • Description: A sensor used to measure humidity and temperature.
    • Pins: VDD, DATA, NULL, GND

Wiring Details

Relay module 5v-30v

ESP32

9V Battery

Soil Moisture Sensor

Water Pump

DHT11 Humidity and Temperature Sensor

Code

No code is provided for this circuit.