Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/call-me-ahmaaad/gas-and-fire-detection

This is a simple IoT project that can measure gas concentration levels and can detect fire.
https://github.com/call-me-ahmaaad/gas-and-fire-detection

cpp electronics esp32 flame-sensor iot iot-application mq5-sensor mqtt mqtt-broker sensors

Last synced: 4 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://img.shields.io/badge/C%2B%2B-%23044F88?logo=c%2B%2B&logoColor=white) ![Static Badge](https://img.shields.io/badge/MQTT-purple?logo=mqtt&logoColor=white) ![Static Badge](https://img.shields.io/badge/ESP32-grey?logo=espressif&logoColor=white&label=Espressif&labelColor=%23e4372e)

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](https://drive.google.com/uc?export=view&id=1BWK_e9zMmtQF0XDJNs6PI_36kOiGY7N0)](https://drive.google.com/file/d/1ljofLFUk0CbmB42_i_kKkQc6B5C2A4Kv/view?usp=drive_link)

For the complete documentation and detailed information about this project, [click here](https://drive.google.com/drive/folders/1ki0mw6NJmz2eeN3B-79bY9EGkJ28Cnd2?usp=drive_link).

## 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](https://contrib.rocks).