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

ESP32-Based Smart Home Safety System with Flame, Gas, and Motion Detection

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Home Safety System with Flame, Gas, and Motion Detection

Circuit Documentation

Summary

This circuit is designed to interface an ESP32 microcontroller with various sensors and output devices. The ESP32 reads data from a PIR sensor, a flame sensor, and an MQ-2 gas sensor. It also controls a buzzer and displays information on a 16x2 I2C LCD. The circuit is powered by the 3.3V and Vin pins of the ESP32.

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. 16x2 I2C LCD

    • Description: A 16x2 character LCD display with I2C interface.
    • Pins: GND, VCC, SDA, SCL
  3. KY-026 Flame Sensor

    • Description: A sensor module for detecting flame or fire.
    • Pins: AO, GND, VCC, DO
  4. MQ-2

    • Description: A gas sensor module for detecting LPG, i-butane, propane, methane, alcohol, hydrogen, and smoke.
    • Pins: GND, VCC, ANALOG, Digital
  5. PIR sensor

    • Description: A passive infrared sensor for motion detection.
    • Pins: VDD, SIG, GND
  6. Buzzer

    • Description: An audio signaling device.
    • Pins: PIN, GND

Wiring Details

ESP32 (30 pin)

16x2 I2C LCD

KY-026 Flame Sensor

MQ-2

PIR sensor

Buzzer

Code

No code provided for this circuit.