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

ESP32 and MQ-2 Gas Sensor Wi-Fi Enabled Air Quality Monitor

View and Edit Project In Cirkit DesignerImage of ESP32 and MQ-2 Gas Sensor Wi-Fi Enabled Air Quality Monitor

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32 microcontroller and an MQ-2 gas sensor. The ESP32 is used to read analog data from the MQ-2 sensor. The circuit is powered by the 3.3V output from the ESP32, and both components share a common ground.

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. MQ-2

    • Description: A gas sensor capable of detecting various gases including LPG, i-butane, propane, methane, alcohol, hydrogen, and smoke.
    • Pins: GND, VCC, ANALOG, Digital

Wiring Details

ESP32 (30 pin)

MQ-2

Code

No code is provided for this circuit.


This document provides a comprehensive overview of the components and their interconnections in the circuit. The ESP32 microcontroller reads analog data from the MQ-2 gas sensor, which is powered by the 3.3V output from the ESP32. Both components share a common ground to complete the circuit.