Smart Home Gas Sensor Optimization Using Kalman Filter for Data Processing
Somantri Somantri, Muhamad Ikhsan Thohir, Alun Sujjada, Deni Setiawan, Ilham Komara, Fikri Ardiansyah Efendi, Muhamad Muslih, Zulaikha Abdullah, Mohd Zainuri Saringat · 2024
The integration of Internet of Things (IoT) technologies into modern homes has enhanced safety and comfort, particularly in detecting gas leaks, which pose serious fire hazards. Gas leaks can often be detected by smell, but this method fails when no one is present. Previous research using microcontrollers and sensors to detect gas leaks faced challenges with accuracy due to noise interference. This paper proposes the use of a Kalman filter, developed by Rudolf Emil Kalman in 1960, to improve gas leak detection accuracy by filtering out noise. The system comprises an Arduino Nano, ESP8266 WiFi module, MQ-2 gas sensor, buzzer, and ThingSpeak cloud platform. By applying the Kalman filter, noise and data oscillations are reduced, enhancing detection accuracy. Experimental results show the system effectively detects gas leaks, provides real-time data, and triggers alarms. Future improvements could include additional sensors and features to further increase the system’s reliability and functionality.