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

ESP32-Based Environmental Monitoring System with Multiple Sensors

View and Edit Project In Cirkit DesignerImage of ESP32-Based Environmental Monitoring System with Multiple Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a sensor-based circuit utilizing an ESP32 microcontroller. The circuit includes various sensors such as a gas sensor (MQ-5), rain sensor, temperature and humidity sensor (DHT22), water sensor, and flame sensor (KY-026). The ESP32 microcontroller is the central unit that reads data from these sensors and processes it accordingly. The circuit is powered by a battery.

Component List

  1. MQ-5 Gas Sensor

    • Pins: VCC, GND, Digi Out, Analog out
    • Description: A gas sensor used to detect the presence of gases such as LPG, methane, and hydrogen.
    • Purpose in Circuit: To monitor gas levels and provide an analog output to the ESP32.
  2. Rain Sensor

    • Pins: AO, DO, GRD, VCC
    • Description: A sensor used to detect the presence of rain.
    • Purpose in Circuit: To detect rain and provide a digital output to the ESP32.
  3. DHT22 (Wokwi Compatible)

    • Pins: VCC, SDA, NC, GND
    • Description: A temperature and humidity sensor.
    • Purpose in Circuit: To measure temperature and humidity levels and provide data to the ESP32.
  4. Water Sensor

    • Pins: Signal, VCC, GND
    • Description: A sensor used to detect the presence of water.
    • Purpose in Circuit: To detect water levels and provide a signal to the ESP32.
  5. ESP32

    • 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
    • Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
    • Purpose in Circuit: To read data from various sensors and process it.
  6. Battery

    • Pins: -, +
    • Description: A power source for the circuit.
    • Purpose in Circuit: To provide power to the ESP32 and other components.
  7. KY-026 Flame Sensor

    • Pins: A0, GND, VCC, D0
    • Description: A sensor used to detect the presence of flame.
    • Purpose in Circuit: To detect flames and provide a digital output to the ESP32.

Wiring Details

MQ-5 Gas Sensor

Rain Sensor

DHT22 (Wokwi Compatible)

Water Sensor

ESP32

KY-026 Flame Sensor

Battery

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 in detail, and the wiring connections are clearly outlined to ensure proper assembly and functionality of the circuit.