Skip to content

This is a simple IoT project that can measure gas concentration levels and can detect fire.

Notifications You must be signed in to change notification settings

call-me-ahmaaad/gas-and-fire-detection

Repository files navigation

Description

Gas and Fire Detection is a simple Internet of Things (IoT) project designed to measure gas concentration and detect the presence of fire.

This project consists of two main components: a sensor component and an indicator component. The sensor component functions as a detection and monitoring tool, using special sensors to measure gas concentration and detect fire. Meanwhile, the indicator component functions as a medium to display measurement results and provide warnings. This indicator consists of a buzzer, LED, and monitor that visually and audibly display the detection results.

These two components are connected via the MQTT protocol, a communication protocol that allows sensor components to connect with various indicators simultaneously, as long as the indicators are connected to the same topic. As long as both components are connected to WiFi or an internet network, the indicator component will display the detection and measurement results in real time wherever the indicator component is located.

Tech Stack

Static Badge Static Badge Static Badge

The microcontrollers I use in this project are three ESP32 DevKit V1.For the IDE I use is Arduino IDE version 2.3.2.

The protocol I use to connect the sensor component with the indicator component is MQTT with the application to monitor the process of publishing data to the specified topic is using MQTTX.

Demo

Demo Project

For the complete documentation and detailed information about this project, click here.

Features

  • Measuring gas concentration levels.
  • Detecting the presence of fire.
  • Measurement and detection indicators consisting of LEDs and buzzers.
  • Display monitor as a device for displaying gas concentration measurement results.

Installation

  1. Create an electronic circuit based on the schematic design of the project circuit.
  2. Make sure you do the settings again for some parts such as:
    • WiFi SSID and WiFi Password
    • MQTT Broker Configuration
    • MQTT Topic Configuration
    • MQTT Broker Certificate
    • Client ID Connection
  3. If you have made the settings in each of the 3 program codes, you can implement each program code according to its respective electronic circuit.
  4. You can monitor the data delivery that occurs in the MQTT topic via the MQTTX application.

I have marked the things that need to be reconfigured with templates such as "YOUR_MQTT_BROKER_SERVER", "YOUR_CLIENT_ID", or "YOUR_MQTT_TOPICS".

Contributors

Made with contrib.rocks.

About

This is a simple IoT project that can measure gas concentration levels and can detect fire.

Topics

Resources

Stars

Watchers

Forks

Languages