Low-Cost IoT Smart-Home Node for Motion and Gas Leakage Monitoring with Arduino and ESP8266
Abstract
Cooking-related fires and combustible-gas leaks remain recurring domestic hazards, while lights and ventilation fans are often left running in empty rooms.This paper presents the design and experimental validation of a low-cost retrofit IoT node that integrates occupancy-aware actuation with early smoke and gas monitoring under a safety-first policy.An Arduino UNO executes time-critical sensing and relay control, and an ESP8266 provides Wi-Fi connectivity and a lightweight smartphone interface.Occupancy is inferred using a passive infrared (PIR) sensor to gate a lamp and fan, while an MQ-2 module monitors smoke and combustible gases.The control logic is implemented as an event-driven state machine that prioritises safety events, enforces minimum on and off timing to suppress relay chattering, and stabilises the gas channel using clean-air baseline normalisation (R/R0) with hysteresis.Bench verification confirmed I/O mapping and electrical isolation via an opto-isolated relay stage, and repeated switching did not reveal relay instability under the prototype loads.Scenario trials in a two-zone mock-up demonstrated reliable manual overrides, motion-triggered actuation without oscillation, and consistent alert generation during staged smoke exposures.The results support feasibility for incremental residential retrofits and identify deployment priorities, including sensor drift management, power integrity, and installation practice.
Fields of Study & Subjects
IoT-based Smart Home Systems
Fire Detection and Safety Systems
Arduino and IoT Applications
Publication details
- Journal / source
- International Journal of Computational Methods and Experimental Measurements
- Volume
- 14
- Issue
- 1
- Pages
- 1–16
- Publication date
- 6 March 2026
- Language
- EN