Rancang Bangun Sistem Peringatan Dini Risiko Longsor dan Gempa Berbasis ESP32 dan Firebase Realtime Database dengan Kendali Alarm Bertingkat
DOI:
https://doi.org/10.71282/jurmie.v3i7.2367Keywords:
ADXL345, adaptive alarm control, ESP32, Firebase Realtime Database, IoT, landslide, earthquake, soil moisture.Abstract
This article presents the development of an ESP32 and Firebase Realtime Database-based early warning system for landslide and earthquake risks. The main emphasis is placed on a multi-level alarm control mechanism rather than sensor monitoring only. The prototype employs an ADXL345 to capture tilt and vibration data, a Capacitive Soil Moisture Sensor to read soil moisture conditions, an ESP32 as the controller, Firebase as the real-time synchronization medium, a web dashboard as the monitoring interface, and a buzzer as the warning actuator. Sensor data are processed into SAFE, WARNING, and DANGER levels, enabling the system to produce different alarm responses according to the detected risk level. The dashboard provides data visualization, threshold configuration, event recording, device health monitoring, and administrator commands through Firebase. Testing was conducted by changing the ADXL345 position, applying vibration simulations, and comparing soil moisture value variations. The results indicate that the device can acquire sensor data, update Firebase records, display information on the dashboard, and drive the buzzer according to the risk status. The proposed system can be used as a local early warning prototype that combines IoT integration and alarm response control for landslide and earthquake mitigation.
Downloads
References
[1] Y. Syafitri, B. Bahtiar, and L. A. Didik, “Analisis pergeseran lempeng bumi yang meningkatkan potensi terjadinya gempa bumi di Pulau Lombok,” Konstan-Jurnal Fisika dan Pendidikan Fisika, vol. 4, no. 2, pp. 139-146, 2019.
[2] R. Akbar, R. Darman, J. N. Marizka, and N. Ardewati, “Implementasi Business Intelligence Menentukan Daerah Rawan Gempa Bumi di Indonesia dengan Fitur Geolokasi,” JEPIN: Jurnal Edukasi dan Penelitian Informatika, vol. 4, no. 1, pp. 30-35, 2018.
[3] B. Arham and A. Wibowo, “Analisis Bencana Longsor akibat Gempa Bumi Cianjur 2022 dengan DInSAR,” Journal of Regional and Rural Development Planning, vol. 8, no. 2, 2024.
[4] L. Lenni and F. Ardiansyah, “Prototype Alat Pendeteksi Gempa Menggunakan Sensor Accelerometer ADXL335 Berbasis Internet of Things,” Jurnal Teknik Elektro, vol. 8, no. 1, pp. 30-36, 2024.
[5] J. Iriani and B. V. Sundawa, “Design of earthquake warning alarm using accelerometer sensor based on Internet of Things,” International Journal of Research in Vocational Studies (IJRVOCAS), vol. 3, no. 1, pp. 32-35, 2023.
[6] N. Siswanto and S. F. Saputra, “Prototype Sistem Peringatan Dini Bencana Gempa Bumi dan Tsunami Berbasis Internet of Things,” Jurnal PROSISKO, vol. 9, no. 1, pp. 60-66, 2022.
[7] D. Sugiyono, Metode Penelitian Pendidikan Pendekatan Kuantitatif, Kualitatif dan R&D. Bandung: Alfabeta, 2013.
[8] Analog Devices, “ADXL345: 3-Axis, ±2 g/±4 g/±8 g/±16 g Digital Accelerometer Data Sheet,” Rev. G, 2022.
[9] Espressif Systems, “ESP32 Series Datasheet,” Version 5.2, 2025.
[10] Google Firebase, “Firebase Realtime Database Documentation.” [Online]. Available: https://firebase.google.com/docs/database.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Fauzi Bondan Prihananto, Erlangga Bayu Yudho Prakoso, Tomy Anugerah Islami, Pramono (Author)

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










