Design of a prototype for sending fire notifications in homes using fuzzy logic and internet of things

Johan Huaman Castañeda, Pablo Cesar Tamara Perez, Ernesto Paiva-Peredo, Guillermo Zarate-Segura


This paper highlights the need to address fire monitoring in densely populated urban areas using innovative technology, in particular, the internet of things (IoT). The proposed methodology combines data collection through sensors with instant notifications via text messages and images through the user’s email. This strategy allows a fast and efficient response, with message delivery times varying from 1 to 4 seconds on Internet connections. It was observed that the time to send notifications on 3G networks is three times longer compared to Wi-Fi networks, and in some 3G tests, the connection was interrupted. Therefore, the use of Wi-Fi is recommended to avoid significant delays and possible bandwidth issues. The implementation of fuzzy logic in the ESP32 microcontroller facilitates the identification of critical parameters to classify notifications of possible fires and the sending of evidence through images via email. This approach successfully validated the results of the algorithm by providing end users with detailed emails containing information on temperature, humidity, gas presence and a corresponding image as evidence. Taken together, these findings support the effectiveness and potential of this innovative solution for fire monitoring and prevention in densely populated urban areas.


ESP32; Fires; Fuzzy logic; Internet of things; Sensors

Full Text:



Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).