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

ESP32-Based Environmental Monitoring System with Gas Sensors and OLED Display

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

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, various sensors, and an OLED display. The circuit is designed to interface with multiple sensors to collect environmental data and display it on an OLED screen. The sensors include gas sensors (MQ-7 and MQ135), a combined ENS160 and AHT21 sensor module, and a KY-037 microphone. The ESP32 microcontroller serves as the central processing unit, handling data acquisition and communication with the sensors and display.

Component List

  1. ESP32 (30 pin)

    • Description: A powerful microcontroller with built-in 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
  2. ENS160+AHT21

    • Description: A combined sensor module that includes an air quality sensor (ENS160) and a temperature and humidity sensor (AHT21).
    • Pins: VIN, 3V3, GND, SCL, SDA, ADD, CS, INT
  3. MQ-7 Breakout

    • Description: A gas sensor module for detecting carbon monoxide (CO).
    • Pins: VCC, GND, DO, AO
  4. MQ135

    • Description: A gas sensor module for detecting air quality.
    • Pins: VCC, GND, A0, D0
  5. OLED 1.3"

    • Description: A 1.3-inch OLED display for visual output.
    • Pins: GND, VCC, SCL, SDA
  6. KY-037 Microphone

    • Description: A microphone module for sound detection.
    • Pins: Analog output, Ground, VCC, Digital output

Wiring Details

ESP32 (30 pin)

ENS160+AHT21

MQ-7 Breakout

MQ135

OLED 1.3"

KY-037 Microphone

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 (if available). This should serve as a useful reference for understanding and replicating the circuit.