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

ESP32-Based Environmental Monitoring System with Multiple Sensors

Image of ESP32-Based Environmental Monitoring System with Multiple Sensors

Circuit Documentation

Summary of the Circuit

This circuit integrates a variety of sensors with an ESP32 microcontroller to measure environmental parameters such as temperature, pH level, dissolved oxygen, and turbidity. Additionally, it includes a GPS module (ATGM336H) for location tracking. The ESP32 serves as the central processing unit, interfacing with each sensor and potentially transmitting sensor data for further analysis or display.

Component List

Temperature Sensor

  • Description: A sensor used to measure ambient temperature.
  • Pins:
    • Temp GND Black (Ground)
    • Temp VDD Red (Power Supply)
    • Temp DQ Data Yellow (Data)

PH Meter

  • Description: A sensor used to measure the acidity or alkalinity of a solution.
  • Pins:
    • Signal (Analog signal output)
    • VCC (Power Supply)
    • GND (Ground)

Dissolved Oxygen Sensor

  • Description: A sensor used to measure the amount of oxygen dissolved in a liquid.
  • Pins:
    • ground (Ground)
    • vcc (Power Supply)
    • a (Analog signal output)

ESP32 (30 pin)

  • 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, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3

DFRobot Gravity Analoge Troebelheidssensor (Turbidity Sensor)

  • Description: A sensor used to measure the turbidity of a liquid, which is an indicator of the number of suspended particles.
  • Pins:
    • VCC (Power Supply)
    • GND (Ground)
    • SIG (Analog signal output)

ATGM336H (GPS Module)

  • Description: A GPS receiver module for obtaining geographical location data.
  • Pins:
    • VCC (Power Supply)
    • GND (Ground)
    • TX (Transmit)
    • RX (Receive)
    • PPS (Pulse Per Second, timing signal)

Wiring Details

Temperature Sensor

  • Ground: Connected to the ESP32 GND.
  • Power Supply: Connected to the ESP32 Vin.
  • Data: Connected to the ESP32 VP.

PH Meter

  • Ground: Connected to the ESP32 GND.
  • Power Supply: Connected to the ESP32 Vin.
  • Signal: Connected to the ESP32 D21.

Dissolved Oxygen Sensor

  • Ground: Connected to the ESP32 GND.
  • Power Supply: Connected to the ESP32 Vin.
  • Analog Signal Output: Connected to the ESP32 VN.

DFRobot Gravity Analoge Troebelheidssensor (Turbidity Sensor)

  • Ground: Connected to the ESP32 GND.
  • Power Supply: Connected to the ESP32 Vin.
  • Signal: Shared connection with the Dissolved Oxygen Sensor's Analog Signal Output to the ESP32 VN.

ATGM336H (GPS Module)

  • Ground: Connected to the ESP32 GND.
  • Power Supply: Connected to the ESP32 Vin.
  • TX: Connected to the ESP32 D23.
  • RX: Connected to the ESP32 D22.

ESP32 (30 pin)

  • GND: Common ground for all components.
  • Vin: Common power supply for all components.
  • VP: Connected to the Temperature Sensor Data.
  • VN: Connected to the Dissolved Oxygen Sensor and Turbidity Sensor Signal.
  • D21: Connected to the PH Meter Signal.
  • D23: Connected to the GPS Module TX.
  • D22: Connected to the GPS Module RX.

Documented Code

There is no code provided for the microcontroller. The documentation of the code would typically include information on how the microcontroller is programmed to interface with each sensor, how it processes the data, and how it communicates with other devices or services. Without the code, we cannot provide further details on the software aspect of this circuit.