Implementation of an ESP-32 Based Embedded System for Earthquake Detection Using an MPU-6050 Sensor

Authors

  • Jundi Abdillah Pamulang University
  • Kartika Sekarsari Universitas Pamulang

DOI:

https://doi.org/10.33387/protk.v13i3.12610

Keywords:

ESP-32, MPU-6050 Sensor, Embedded System, Earthquake Detection, Early Warning System

Abstract

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

Download data is not yet available.

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

2026-09-25

How to Cite

Abdillah, J., & Sekarsari , K. (2026). Implementation of an ESP-32 Based Embedded System for Earthquake Detection Using an MPU-6050 Sensor. Protek : Jurnal Ilmiah Teknik Elektro, 13(3), 147–154. https://doi.org/10.33387/protk.v13i3.12610

Issue

Section

Electrical, Power and Energy

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.