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

ESP32-Based Environmental Monitoring System with DS18B20, TDS, PH, and DO Sensors

View and Edit Project In Cirkit DesignerImage of ESP32-Based Environmental Monitoring System with DS18B20, TDS, PH, and DO Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, a relay, a pilot lamp, an LCD display, and an ESP32 microcontroller. The circuit is designed to interface multiple sensors with the ESP32, which processes the data and controls the relay and the pilot lamp. The LCD display is used to show the sensor readings.

Component List

  1. DS18B20: Digital temperature sensor.
  2. TDS Sensor: Measures the total dissolved solids in water.
  3. Pilot Lamp Red: Indicates the status of the relay.
  4. ESP32 38 PINS: Microcontroller with Wi-Fi and Bluetooth capabilities.
  5. Do Sensor: Measures dissolved oxygen in water.
  6. DC Power Source: Provides power to the circuit.
  7. PH Meter: Measures the pH level of a solution.
  8. 5v Relay: Controls the switching of high-power devices.
  9. Lcd 20x4 i2c: Displays information in a 20x4 character format.

Wiring Details

DS18B20

TDS Sensor

Pilot Lamp Red

ESP32 38 PINS

Do Sensor

DC Power Source

PH Meter

5v Relay

Lcd 20x4 i2c

Documented Code

Do Sensor Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

5v Relay Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This documentation provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the microcontrollers.