Implementation of an ESP-32 Based Embedded System for Earthquake Detection Using an MPU-6050 Sensor
DOI:
https://doi.org/10.33387/protk.v13i3.12610Keywords:
ESP-32, MPU-6050 Sensor, Embedded System, Earthquake Detection, Early Warning SystemAbstract
Indonesia is a country that is highly vulnerable to earthquakes due to its location along active tectonic plate boundaries. The existing problem is the limited availability of earthquake detection systems capable of providing fast and real-time information and early warnings to the public. This study aims to design and implement an ESP-32 based embedded system for earthquake detection using the MPU-6050 sensor. The developed system utilizes the MPU-6050 sensor to detect vibration acceleration changes processed by the ESP-32 microcontroller, with monitoring results displayed through a web dashboard and sent via a Telegram Bot in real-time. The research methods include hardware design, software development, system reliability testing, and power consumption analysis. The results show that the system is capable of detecting normal, alert, and earthquake conditions based on total acceleration values. The alert condition is within the range of 10.5 m/s 2 < at ≤ 12.0 m/s 2 , while earthquake conditions occur when at > 12.0 m/s 2 . In addition, the system achieved an average value of 10.17 m/s 2 and a standard deviation of 0.0256 m/s 2 , indicating that the MPU-6050 sensor readings have very small data deviations. Therefore, the system is capable of providing real-time earthquake monitoring and early warning effectively.
Downloads
References
[1] I. P. Putra, W. Sarwa, and M. Sinambela, “Mitigasi Bencana Gempa Bumi dengan Integrasi Analisis Geofisika dan Data Mining,” vol. 3, no. 2, pp. 121–129, 2024.
[2] Y. Syafitri, B. Bahtiar, and L. A. Didik, “Analisis Pergeseran Lempeng Bumi Yang Meningkatkan Potensi Terjadinya Gempa Bumi Di Pulau Lombok,” Konstan - J. Fis. Dan Pendidik. Fis., vol. 4, no. 2, pp. 139–146, 2020, doi: 10.20414/konstan.v4i2.43.
[3] H. Sugiarto, “Dua Gempa Beruntun Guncang Wilayah Agam, Sumatera Barat,” Padang Ekspres Digital Media. Accessed: May 30, 2025. [Online]. Available: https://padek.jawapos.com/sumbar/2365887935/dua-gempa-beruntun-guncang-wilayah-agam-sumatera-barat
[4] D. Wahyuni, P. Keumala Intan, and N. Hendrastuti, “Analisis Seismotektonik dan Periode Ulang Gempa Bumi pada Wilayah Jawa Timur Menggunakan Relasi Gutenberg-Richter,” J. Mhs. Mat. Algebr., vol. 1, no. 1, pp. 22–32, 2020.
[5] Y. Sendjaja, Andiani, and D. Muslim, “Understanding Geological Hazards to Support Disaster Risk Assessment in Indonesia : Understanding Geological Hazards to Support Disaster Risk Assessment in Indonesia :,” vol. 1, no. 1, pp. 1–55, 2022.
[6] K. Cahyadi, S. Rahmadani, and A. D. Senoaji, “Triwikrama: Jurnal Ilmu Sosial,” vol. 5, no. 2, pp. 1–13, 2024.
[7] A. Solehandayani, S. A. Yunitasari, and R. Y. Maharani, “Titian : Jurnal Ilmu Humaniora Strategi Komunikasi Kebencanaan : Studi Kasus Gempa Bumi di Gunung Kidul Yogyakarta Agustus 2024 Titian : Jurnal Ilmu Humaniora,” vol. 08, no. 02, pp. 238–253, 2024.
[8] Arokhman, “Rancang Bangun Pendeteksi Getaran Gempa Bebasis Mikrokontroler Iot Arduino,” Cyber, Educ. Res., vol. 3, no. 1, pp. 788–792, 2023, doi: 10.58660/cer.v3i1.8.
[9] A. S. Chaithanya, D. Sindhuja, D. Bhavana, and P. Vennela, “Design and Interfacing of I2C Master with Register and LCD Slaves,” vol. 8958, no. 4, pp. 2355–2360, 2021, doi: 10.35940/ijeat.D7901.049420.
[10] C. M. Rosca and A. Stancu, “Earthquake Prediction and Alert System Using IoT Infrastructure and Cloud-Based Environmental Data Analysis,” Appl. Sci., vol. 14, no. 22, 2024, doi: 10.3390/app142210169.
[11] N. S. Bengi, S. Syamsul, and N. Nasri, “Prototype Sistem Pendeteksi Gempa Bumi Dan Peringatan Dini Berbasis Internet of Things,” J. TEKTRO, vol. 8, no. 1, pp. 138–144, 2024.
[12] M. Furqan and M. N. Shidqi, “Language Processing,” Walisongo J. Inf. Technol. Telegr. Menggunakan Nat. Lang. Process., vol. 5, no. 1, pp. 15–26, 2023.
[13] Y. Zhang, X. Hou, M. Miao, and H. Liu, “The Comparison of Experiments in Embedded System Course,” pp. 41–46.
[14] P. T. Wikantama, M. Bahalwan, and M. A. G. Akmal, “SIGEMPA : Sistem Peringatan Dini Gempa Bumi berbasis IoT dengan ESP32,” J. Tek. Mesin, Elektro dan Ilmu Komput., vol. 4, no. 1, pp. 63–70, 2024, doi: 10.55606/teknik.v4i1.2937.
[15] R. E. Nuryaningsih, “Design of Earthquake Detection Devices,” vol. 12, no. 2, pp. 143–148, 2025.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jundi Abdillah

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- The copyright of the accepted for publication articles shall be assigned to Protek : Jurnal Ilmiah Teknik Elektro as the publisher of the journal. The intended copyright includes the rights to publish articles in various forms (including reprints).
- Protek : Jurnal Ilmiah Teknik Elektro maintain the publishing rights of the published articles.
- Authors are permitted to republish or disseminate published articles by sharing the link/DOI of the article at Protek : Jurnal Ilmiah Teknik Elektro. Authors are allowed to use their articles for any legal purposes deemed necessary without written permission from Protek : Jurnal Ilmiah Teknik Elektro with an acknowledgment of initial publication to this journal.
Protek : Jurnal Ilmiah Teknik Elektro by Department of Electrical Engineering, Faculty of Engineering, Universitas Khairun
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.







