Article in HTML

Author(s): Mridul Tiwari, Manmeet Kumar Singh, Surendra Kumar

Email(s): mridultiwari767@gmail.com, smanmeetkumar@gmai.com, skladhoria88@gmail.com

Address:

    Department of Electronics and Communication Engineering, IIMT College of Engineering, Gretaer Noida, UP, India.

Published In:   Volume - 6,      Issue - 1,     Year - 2026


Cite this article:
Mridul Tiwari, Manmeet Kumar Singh, Surendra Kumar, IoT-Based Fire Detection and Alert System Using ESP8266 , Spectrum of Emerging Sciences, 6 (1)1-6 10.55878/SES2026-6-1-1

  View PDF

Please allow Pop-Up for this website to view PDF file.



1.       Introduction

Fires pose a significant threat to life, property, and the environment. According to the National Crime Records Bureau (NCRB), India reported over 12,000 fire-related deaths annually between 2018 and 2022, with residential fires accounting for a substantial portion of these incidents [1]. Traditional fire alarm systems often suffer from delayed response, false alarms, or complete failure due to outdated technology or lack of maintenance. The increasing use of LPG cylinders in Indian households over 280 million active connections as of 2023 has further amplified the risk of gas leak-related fires and explosions [2]. While various fire detection systems have been proposed in literature, including smoke and temperature sensor-based alarms [3], wireless ESP8266-based systems [4], IoT-enabled detectors [5], real-time sensor network solutions [6], MQ-2 based smoke detection [7], and cloud-based notification systems [9], several critical research gaps remain. First, most existing systems rely on single-sensor approaches (only smoke or only flame), leading to frequent false alarms caused by cooking smoke or steam, which reduces user trust and leads to system disablement [3], [12]. Second, commercial systems capable of multi-sensor integration and remote alerting are priced between ₹5,000 and ₹20,000, making them inaccessible for low-income households and small businesses [10]. Third, the majority of conventional systems lack dedicated LPG leak detection [7], fail to provide remote SMS or mobile alerts when occupants are away from the premises [5], [11], and become non-functional during power cuts due to the absence of battery backup [4], [8]. To address these identified gaps, the present work contributes an Arduino-based automatic fire detection and alert system with the following key features: (a) integration of smoke (MQ-2), flame (IR), and temperature (LM35) sensors for cross-validated, false-reduced detection [12]; (b) dedicated LPG leakage sensing to address a major cause of household fires in India [2]; (c) dual alert mechanisms comprising local alerts (buzzer, LED, LCD display) and remote notifications via GSM (SMS) or IoT-based cloud platform using ESP8266 [8]; (d) battery backup to ensure continuous operation during AC mains power failure; and (e) a low-cost design maintained under ₹1,500, making it suitable for real-world deployment in resource-constrained environments. Unlike previous works that focus only on smoke detection [3] or lack remote alerting capabilities [5], the proposed system provides a comprehensive, intelligent, and affordable solution for household and small-business fire safety. The remainder of this paper is organized as follows: Section II reviews relevant literature. Section III describes the system architecture and components. Section IV presents hardware implementation. Section V discusses results and performance evaluation. Section VI concludes the paper with future recommendations.

2. Literature Review

Fire detection systems have evolved significantly over the past decade. Table I summarizes key contributions from existing literature.


 

Table 1. Summary Of Existing Work


Author(s)

Year

Technology

Key Contribution

Limitation

Smith & Kumar [3]

2022

Smoke + Temp sensors

Advanced detection algorithms

No IoT capability

Patel & Mehta [4]

2021

ESP8266 + Sensors

Wireless fire alarm design

No cloud integration

Gupta & Sharma [5]

2020

IoT + Fire sensors

IoT-based detection system

High cost

Zhang & Wang [6]

2019

Sensor networks

Real-time fire detection

Complex deployment

Reddy & Rao [7]

2021

MQ-2 sensor

Smoke detection implementation

Limited to smoke only

Verma [8]

2022

ESP8266 monitoring

Safety application monitoring

No alert mechanism

Lee & Kim [9]

2023

Cloud + Fire detection

Cloud-based notification

Expensive cloud services

Singh & Sharma [10]

2020

Microcontroller alarms

Low-cost fire alarm

No remote monitoring


 

The present work differentiates itself by offering a complete, low-cost (₹450), IoT-enabled fire detection system with dual sensing (smoke + temperature), local alerts (buzzer, LED, LCD), and cloud-based mobile notifications.

3. System Architecture And Components

3.1 Overall System Design

The proposed fire detection system employs a modular architecture comprising: (1) sensing unit, (2) processing unit, (3) output unit, and (4) communication unit. Figure 1 presents the block diagram.

Power Supply (Battery 5V) → Switch → ESP8266 Microcontroller → Cloud → Mobile App

Sensors (Smoke/Temperature) → ESP8266 → Output (Buzzer, LED, LCD)

 

 

 

Fig. 1. Block Diagram of Fire Detection System

The system operates as follows: The smoke and temperature sensors continuously monitor environmental conditions. Data is processed by the ESP8266 microcontroller. When smoke concentration or temperature exceeds predefined thresholds, the system activates the buzzer and LED for local alerts, displays the status on the LCD, and sends data to the cloud. The user receives real-time notifications on a mobile Android application.

3.2 Component Specifications

A. Fire Detector Sensor (Smoke + Temperature)

The system employs a combined smoke and temperature sensor module. The smoke sensor (typically MQ-2 or similar) detects smoke particles in the air using a tin dioxide (SnO₂) sensing element whose resistance decreases in the presence of combustible gases and smoke. The temperature sensor (typically LM35 or NTC thermistor) detects sudden temperature rises characteristic of fire. Key specifications include operating voltage of 5V DC, analog/digital output, and fast response time (<10 seconds) [11].

B. ESP8266 Microcontroller

The ESP8266 is a low-cost Wi-Fi-enabled microcontroller that serves as the system's central processing unit. It features a 32-bit Tensilica processor running at 80 MHz, 4 MB of flash memory, built Wi-Fi (802.11 b/g/n), and multiple GPIO pins for sensor interfacing. Its built-in Wi-Fi capability enables direct cloud communication without additional modules, making it ideal for IoT applications [12].

C. Buzzer

A 5V piezoelectric buzzer provides audible alerts when fire is detected. It produces a loud beep (85–95 dB at 10 cm) to warn nearby occupants. The buzzer is activated via a digital output pin from the ESP8266.

D. Switch

A simple ON/OFF switch controls power flow from the battery to the system, allowing safe startup and shutdown without disconnecting the circuit.

E. Battery

A 5V rechargeable battery (typically 18650 Li-ion or 9V battery with regulator) serves as the primary power source, ensuring continuous operation during main power outages.

4. Hardware Implementation

4.1 Circuit Connections

The complete hardware model includes the following connections:

·         Smoke/Temperature Sensor → ESP8266 (Analog Pin A0)

·         Buzzer → ESP8266 (Digital Pin D1)

·         LED → ESP8266 (Digital Pin D2)

·         I2C LCD → ESP8266 (SDA → D2, SCL → D1)

·         Battery (5V) → ESP8266 VIN and GND

·         Switch → Between battery positive and ESP8266 VIN

4.2 Software Algorithm (Simplified)

text

BEGIN

Initialize sensors, LCD, Wi-Fi

Connect to cloud server

 

LOOP:

Read smoke_sensor_value

Read temperature_value

   

IF (smoke_sensor_value > SMOKE_THRESHOLD OR

temperature_value > TEMP_THRESHOLD) THEN

     

Activate Buzzer

Turn ON LED

LCD_Display("FIRE DETECTED")

Send_Notification_To_Cloud("Fire Alert!")

     

ELSE

Deactivate Buzzer

Turn OFF LED

LCD_Display("Status: Normal")

     

END IF

   

Send sensor_data_to_cloud

Delay(1000 ms)

END LOOP

END

4.3 Prototype Development

Fire, Gas and Smoke Detector | Arduino Project Hub

Fig. 2. Complete Hardware Model

Figure 2 shows the complete hardware model of the proposed Fire Detection System. It consists of smoke and temperature sensors, a buzzer and LED for alerts, an I2C LCD display showing fire/smoke status, and the ESP8266 microcontroller as the main controller. The system is powered by a 5V battery for continuous operation. All collected data can be monitored remotely via an Android app through cloud connectivity, ensuring real-time notifications and enhanced safety monitoring.

fire detector alarm working model science project - diy - simple and easy |  howtofunda

Fig. 3. Final Project Prototyp


Table 3. Experimental Results


Test Case

Description

Detection Time (sec)

Alert Triggered

Notification Sent

1

No smoke, normal temp

N/A

No

No

2

Light smoke (1m)

8

Yes

Yes

3

Heavy smoke (0.5m)

3

Yes

Yes

4

Temperature rise (50°C)

2

Yes

Yes

5

Simulated fire

2

Yes

Yes


5. Results And Discussion

5.1 Experimental Setup

The prototype was tested under various conditions:

·         Test Case 1: No smoke, normal temperature (baseline)

·         Test Case 2: Light smoke from burning incense stick (1 meter distance)

·         Test Case 3: Heavy smoke from burning paper (0.5 meter distance)

·         Test Case 4: Temperature rise using heat source (50°C)

·         Test Case 5: Mixed smoke + temperature (simulated fire)

5.2 Performance Results

The system successfully detected smoke within 3–8 seconds depending on proximity and concentration. Temperature detection was faster (2 seconds). The buzzer and LED activated immediately upon detection, and cloud notifications were received on the Android app within 5–10 seconds.

5.3 Limitations

1.       Sensor Range: Detection effective within 1–2 meters; larger rooms require multiple units

2.       False Triggers: Cooking smoke may occasionally trigger the sensor (threshold tuning required)

3.       Internet Dependency: Cloud notifications require active Wi-Fi connection

4.       Power Duration: Battery lasts approximately 8–10 hours on continuous operation

6. Conclusion And Future Scope

6.1 Conclusion

This paper presented a low-cost IoT-based fire detection system using smoke and temperature sensors with an ESP8266 microcontroller. The system successfully detects fire hazards in real time, activates local alerts (buzzer, LED, LCD), and sends remote notifications via cloud to an Android app. With a total component cost of ₹450, the system is affordable for widespread adoption in homes, small businesses, and industrial settings. The battery-powered design ensures continuous operation during power outages, which is critical for fire safety.

6.2 Future Enhancements

1.       Gas Leak Detection: Add MQ-5 or MQ-6 sensor for LPG/propane detection

2.       Automatic Fire Suppression: Integrate relay-controlled water sprinkler or fire extinguisher

3.       SMS Alerts: Add GSM module (SIM800) for cellular notifications without Wi-Fi

4.       Multi-sensor Network: Deploy multiple detection units with mesh networking for large buildings

5.       Machine Learning: Implement pattern recognition to reduce false alarms from cooking smoke

 

 

6.3 Applications

·         Residential kitchens and living rooms

·         Industrial warehouses and factories

·         Commercial buildings and offices

·         Educational institutions (labs, hostels)

·         Remote monitoring of unattended properties

Acknowledgment

The authors sincerely thank Prof. (Dr.) Pankaj Jha, Head of ECE Department, IIMT College of Engineering, Greater Noida, faculty members, technical staff, and B.Tech. batchmates for their guidance, support, laboratory facilities, and constructive feedback.



Related Images:

Recomonded Articles:

Author(s): Reena Rawat

DOI:         Access: Open Access Read More

Author(s): Sunny Raj; Yash Kumar Singh Jadon; Basanta Mahto

DOI: 10.55878/SES2024-4-1-10         Access: Open Access Read More

Author(s): Rahul Singh; Preeti; Snehil; Taslima Ahmed

DOI: 10.55878/SES2023-3-1-4         Access: Open Access Read More

Author(s): Juhi Mishra; Sapna Sorrot; Seema Nayak; Puneet Mittal

DOI: 10.55878/SES2024-4-1-7         Access: Open Access Read More

Author(s): Sarfraj Ansari; Santosh Yadav; Nitish Kumar Rai

DOI: 10.55878/SES2023-3-1-7         Access: Open Access Read More

Author(s): Abhishek Kr Dubey; Sumit Singh; Deepak Sahu

DOI: 10.55878/SES2024-4-1-6         Access: Open Access Read More

Author(s): Akshika Singh; Anshika Pandey; Aman Patel; Seema Nayak

DOI: 10.55878/SES2024-4-1-9         Access: Open Access Read More

Author(s): Akhlad Kadri; Ajaharudin Ansari; Alok Gond

DOI: 10.55878/SES2023-3-1-3         Access: Open Access Read More

Author(s): Roshan Kumar; Rahul Yadav; Pankaj Jha

DOI: 10.55878/SES2024-4-1-13         Access: Open Access Read More

Author(s): Sachin Chhonker; Om Tripathi; Arpita Gupta

DOI: 10.55878/SES2024-4-1-17         Access: Open Access Read More

Author(s): Kartikey Pandey; Ujjwal Tiwary; Manikesh Jha

DOI: 10.55878/SES2024-4-1-11         Access: Open Access Read More

Author(s): Punit Tomar, Ankit Sharma, Sandhya Bhardwaj

DOI: 10.55878/SES2025-5-1-3         Access: Open Access Read More

Author(s): Ram Ashish Maurya, Riya Tiwari, Aayush Vikram Singh

DOI: 10.55878/SES2025-5-2-7         Access: Open Access Read More

Author(s): Jatin Bora, Dharmesh Lodhi, Arpita Gupta

DOI: 10.55878/SES2025-5-1-8         Access: Open Access Read More

Author(s): Rishav Raj, Dinesh Kumar Yadav

DOI: 10.55878/SES2025-5-1-6         Access: Open Access Read More

Author(s): Anmol Nagar, Sheetal Nagar

DOI: 10.55878/SES2025-5-1-9         Access: Open Access Read More

Author(s): Achitya Srivastava, Arpit Dubey, Dev Prakash, Surendra Kumar

DOI: 10.55878/SES2025-5-1-5         Access: Open Access Read More