Design and Development of an ESP32-Based Battery Monitoring System for Container Cranes with Automatic Transfer Switching (ATS) Mechanism and Telegram Notifications

Lasykar Alim Perdana, Denny Irawan

Abstract


The development of Internet of Things (IoT) technology has provided convenience in monitoring and controlling industrial systems, including container cranes that utilize batteries as the primary power source. This study aims to design and implement an ESP32-based battery monitoring system equipped with an Automatic Transfer Switch (ATS) mechanism and Telegram notifications. The system utilizes a voltage sensor and an ACS712 current sensor to monitor battery conditions in real time, while relay modules and contactors are employed to perform automatic power source switching when the main battery voltage decreases.The research methodology includes hardware design, software development, IoT system integration, and system performance testing. Voltage sensor testing was conducted using 30 sampling trials and resulted in an average error value of 0.72%, while current sensor testing also used 30 sampling trials and produced an average error value of 1.86%. The ATS system testing demonstrated that the power source switching process was successfully carried out automatically when the main battery voltage reached 11 V. In addition, the ESP32 successfully transmitted real-time Telegram notifications with a response time of approximately 2 seconds during the switching process. Based on the test results, the proposed system is capable of operating stably and effectively, supporting battery monitoring while maintaining power supply continuity.

Keywords


Automatic Transfer Switch (ATS), ESP32, Internet of Things (IoT), Battery Monitoring, Voltage Sensor, Current Sensor, Telegram

Full Text:

PDF

References


P. H. TOGAR TIMOTEUS GULTOM, SUHELMI, “ANALISA DAYA LISTRIK MOTOR HOIST DAN MOTOR TROLLEY PADA CONTAINER CRANE DALAM PROSES,” R E L E (Rekayasa Elektr. dan Energi), vol. 6, no. 1, pp. 55–60, 2023.

M. I. W. S. Danang Erwanto, Dian Efytra Yuliana, Yoga Pebri Aprilia, Ahfan Naofal, “IMPLEMENTASI IOT BERBASIS ESP32 UNTUK PENGATURAN VENTILASI RUANG KELAS SECARA OTOMATIS DAN EFISIEN,” J. ELKON, vol. 5, no. 1, pp. 70–77, 2025.

A. H. Denny Irawan, Eka Putra Prastya, “KOORDINASI PEMBANGKIT LISTRIK TENAGA SURYA (PLTS) BERBASIS ALGORITMA MULTIPLE SEQUENCE ALIGNMENT (MSA),” Multitek Indones. J. Ilm., vol. 17, no. 1, pp. 17–26, 2023.

D. I. Jihan Arganatta Nugraha, “RANCANG BANGUN INKUBATOR TELUR UNGGAS BERTENAGA HYBRID MENGGUNAKAN PERHITUNGAN OTOMATIS,” J. Media Teknol., vol. 12, no. 1, pp. 137–143, 2025.

I. Prasetyo and I. Saputro, “Perbaikan dan perawatan aki basah,” SURYA Tek., vol. 2, no. 2, pp. 16–21.

I. M. A. Ahmad Fahrizal Fahmi, “Alat pendeteksi kerusakan cell accu,” JRM, vol. 06, no. 03, pp. 1–7, 2021.

R. F. A. Tundo, Sodik, Kiki Setiawan, “Penerapan IoT dengan Algoritma Fuzzy dan Mikrokontroler ESP32 dalam Monitoring Penyiraman,” J. Indones. Manaj. Inform. dan Komun., vol. 5, no. 3, pp. 2915–2924, 2024.

D. Hidayat and I. Sari, “MONITORING SUHU DAN KELEMBABAN BERBASIS INTERNET of THINGS ( IoT ),” J. Penelit. Tek. Inform. Univ. Prima Indones. Medan, vol. 4, no. April, pp. 525–530, 2021.

A. Wisnu, A. Kristanto, S. T. Elektro, F. Teknik, and U. N. Surabaya, “Pemodelan Automatic Transfer Switch (ATS) Pada System Smartgrid Pembangkit Photovoltaic,” J. Tek. Elektro, vol. 11, pp. 351–360, 2022.

C. E. Savitri and N. P. Is, “Sistem Monitoring Parkir Mobil berbasis Mikrokontroller Esp32,” J. Ampere, vol. 7, no. 2, pp. 135–144, 2022.

S. I. A. Erick Radwitya, “PERANCANGAN ALAT MONITORING TEGANGAN DAN ARUS LISTRIK BERBASIS MIKROKONTROLER ARDUINO UNTUK RUMAH,” J. SIMETRIK (Sipil, Mesin, List., vol. 16, no. 1, pp. 43–52, 2026.

M. Hasanuddin, A. Wiguna, and M. F. Aditia, “Pengembangan Sistem Pemantauan Beban Listrik Menggunakan Sensor Berbasis Arduino untuk Industri Skala Kecil,” J. Electr. Eng. Res., vol. 1, no. 1, pp. 1–9, 2025.

D. Mohammad Yasin, Esa Apriaskar, “Simulasi Monitoring Arus, Tegangan, dan Daya Panel Surya,” Emit. J. Tek. Elektro Simulasi, vol. 23, no. 2, pp. 87–92, 2023.

R. M. W. N. Slamet Purwo Santosa and Abstrak, “RANCANG BANGUN ALAT PINTU GESER OTOMATIS MENGGUNAKAN MOTOR DC 24 V,” J. Ilm. Elektrokrisna, vol. 9, no. 1, pp. 38–45, 2021.

D. L. K. Kalika Khaldan Nurshofa, Aldi Fadillah Ramadan, Nur Fajri Faiz, Paul Manurung, “Penggunaan Kontaktor pada Sistem Pengaman Motor Induksi 3 Phasa,” J. Tek. Mesin, Ind. Elektro dan Inform., vol. 3, no. 4, pp. 280–289, 2024.

N. A. Istiqomah and R. N. Rohmah, “Sistem Pengurasan Akuarium Otomatis Berdasarkan Suhu dan Kekeruhan Dilengkapi Monitoring Jarak Jauh,” vol. 17, no. 2, pp. 2580–2582, 2024.

R. Gustia, M. Hasanah, W. Febriani, and A. Fradana, “Perancangan Smart Home Berbasis Iot Menggunakan Esp32 , Telegram dan Spreadsheet,” J. Pus. AKSES Kaji. Teknol. Artif. Intell., vol. 5, no. 3, pp. 695–700, 2025.




DOI: https://doi.org/10.21107/triac.v13i1.34244

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Jurnal Teknik Elektro dan Komputer TRIAC

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

Creative Commons License
Indexed by: