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

Arduino UNO and ESP32-CAM Based Smart Fire and Gas Detection System with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO and ESP32-CAM Based Smart Fire and Gas Detection System with Battery Power

Circuit Documentation

Summary

This circuit is designed to integrate multiple sensors and a camera module with an Arduino UNO microcontroller. The sensors include a KY-026 Flame Sensor, an MQ-2 Gas Sensor, and a DHT22 Temperature and Humidity Sensor. Additionally, an ESP32-CAM module is used for capturing images. The entire system is powered by two 18650 Li-ion batteries.

Component List

KY-026 Flame Sensor

Arduino UNO

MQ-2 Gas Sensor

DHT22 Temperature and Humidity Sensor

ESP32-CAM

18650 Li-ion Battery x 2

Wiring Details

KY-026 Flame Sensor

Arduino UNO

MQ-2 Gas Sensor

DHT22 Temperature and Humidity Sensor

ESP32-CAM

18650 Li-ion Battery x 2

Documented Code

Arduino UNO Code

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

}

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

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your sensors and other components, and the loop() function is where you write the main logic that will run repeatedly.