Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based Smart Soil and Water Quality Monitoring System with Buzzer Alert

Image of ESP32-Based Smart Soil and Water Quality Monitoring System with Buzzer Alert

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a temperature sensor, a buzzer, a TDS sensor, a SparkFun soil moisture sensor, and a soil moisture interceptor. The circuit is designed to monitor environmental parameters such as temperature, soil moisture, and water quality, and it can provide alerts using a buzzer.

Component List

ESP32 (30 pin)

  • Description: A versatile 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

Temperature Sensor

  • Description: A sensor used to measure temperature.
  • Pins: Temp GND Black, Temp VDD Red, Temp DQ Data Yellow

Buzzer

  • Description: An audio signaling device.
  • Pins: PIN, GND

TDS Sensor

  • Description: A sensor used to measure the total dissolved solids in water.
  • Pins: AI, GND, 5V

SparkFun Soil Moisture Sensor

  • Description: A sensor used to measure the moisture content in the soil.
  • Pins: VCC, GND, SIG

Soil Moisture Interceptor

  • Description: A device used to interface with the soil moisture sensor.
  • Pins: AO, DO, GND, VCC

Wiring Details

ESP32 (30 pin)

  • Vin is connected to:

    • Temp VDD Red (Temperature Sensor)
    • 5V (TDS Sensor)
    • VCC (Soil Moisture Interceptor)
  • GND is connected to:

    • Temp GND Black (Temperature Sensor)
    • GND (TDS Sensor)
    • GND (Soil Moisture Interceptor)
    • GND (Buzzer)
  • D27 is connected to:

    • PIN (Buzzer)
  • EN is connected to:

    • AO (Soil Moisture Interceptor)
  • VP is connected to:

    • AI (TDS Sensor)
  • D26 is connected to:

    • Temp DQ Data Yellow (Temperature Sensor)
  • D13 is connected to:

    • DO (Soil Moisture Interceptor)

Temperature Sensor

  • Temp VDD Red is connected to:

    • Vin (ESP32)
  • Temp GND Black is connected to:

    • GND (ESP32)
  • Temp DQ Data Yellow is connected to:

    • D26 (ESP32)

Buzzer

  • PIN is connected to:

    • D27 (ESP32)
  • GND is connected to:

    • GND (ESP32)

TDS Sensor

  • 5V is connected to:

    • Vin (ESP32)
  • GND is connected to:

    • GND (ESP32)
  • AI is connected to:

    • VP (ESP32)

SparkFun Soil Moisture Sensor

  • VCC is connected to:

    • VCC (Soil Moisture Interceptor)
  • GND is connected to:

    • GND (Soil Moisture Interceptor)

Soil Moisture Interceptor

  • VCC is connected to:

    • Vin (ESP32)
  • GND is connected to:

    • GND (ESP32)
  • AO is connected to:

    • EN (ESP32)
  • DO is connected to:

    • D13 (ESP32)

Code

No code is provided for this circuit.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. Each component is described, and the wiring connections are detailed to ensure proper assembly and functionality of the circuit.