Cloud-Enabled IoT System for Real-Time Environmental Monitoring and Remote Device Control Using Firebase
Abdul Hasib, A. S. M. Ahsanul Sarkar Akib
TL;DR
This work addresses the need for cloud-enabled IoT systems that support real-time environmental monitoring and remote device control. It presents a three-layer architecture using an ESP32-based device with a DHT22 and HC-SR04 to feed a Firebase Realtime Database, enabling bidirectional synchronization and remote LED control. Key contributions include a hardware-software co-design, real-time updates with $99.2 ext{%}$ transmission reliability and latency under $1.5$ seconds, and a total cost of $32.50$. Experimental results over $14$ days with over $1.2$ million data points demonstrate robustness and scalability for smart-home and industrial monitoring, underscoring Firebase as a practical, low-infrastructure cloud backend for IoT prototyping.
Abstract
The proliferation of Internet of Things (IoT) devices has created unprecedented opportunities for remote monitoring and control applications across various domains. Traditional monitoring systems often suffer from limitations in real-time data accessibility, remote controllability, and cloud integration. This paper presents a cloud-enabled IoT system that leverages Google's Firebase Realtime Database for synchronized environmental monitoring and device control. The system utilizes an ESP32 microcontroller to interface with a DHT22 temperature/humidity sensor and an HC-SR04 ultrasonic distance sensor, while enabling remote control of two LED indicators through a cloud-based interface. Real-time sensor data is transmitted to Firebase, providing a synchronized platform accessible from multiple devices simultaneously. Experimental results demonstrate reliable data transmission with 99.2\% success rate, real-time control latency under 1.5 seconds, and persistent data storage for historical analysis. The system architecture offers a scalable framework for various IoT applications, from smart home automation to industrial monitoring, with a total implementation cost of \$32.50. The integration of Firebase provides robust cloud capabilities without requiring complex server infrastructure, making advanced IoT applications accessible to developers and researchers with limited resources.
