Analisis Reliabilitas dan Akurasi Sensor Ultrasonik HC-SR04 terhadap Hasil Pengukuran Manual

Authors

  • Akhmad Thariq Hafid Universitas Islam Lamongan
  • Ulul Ilmi Universitas Islam Lamongan
  • Abdur Rohman Wakhid Universitas Islam Lamongan

DOI:

https://doi.org/10.55606/jupti.v5i3.8061

Keywords:

Accuracy, Calibration, HC-SR04 Ultrasonic Sensor, Linear Regression, Reliability

Abstract

This study aims to analyze the reliability and accuracy of the HC-SR04 ultrasonic sensor compared to manual measurement results. The data used in this study are secondary data obtained from five previous studies in the form of distance measurement results using the HC-SR04 ultrasonic sensor and manual measurements as reference values. The data were analyzed using several statistical methods, including error analysis, mean, standard deviation, linear regression, correlation coefficient (R), Root Mean Square Error (RMSE), and sensor calibration. The results showed that the HC-SR04 ultrasonic sensor has good accuracy and reliability in distance measurement. The average relative error values obtained from each study were 0.81%, 1.54%, 1.52%, 2.28%, and 7.29%, while the RMSE values obtained were 0.6325 cm, 0.8367 cm, 0.1745 cm, 0.2429 cm, and 0.4323 cm. The correlation coefficient analysis showed a very strong relationship between the sensor readings and manual measurements, with R values ranging from 0.9827 to 1.0000. Furthermore, the linear regression analysis indicated that the changes in sensor readings followed the changes in manual measurement results linearly. The regression equations obtained were then used as the basis for the calibration process to reduce deviations between sensor measurement results and reference values. Based on the analysis results, the HC-SR04 ultrasonic sensor has good measurement performance, high consistency, and is suitable for use as an alternative digital distance measuring instrument.

References

Alfarisi, Muchammad, and Niken Syafitri. 2021. “Analisis Akurasi Dan Presisi Sensor Ultrasonik HC-SR04 Pada Robot KRPAI.” Prosiding Diseminasi FTI Genap 2021/2022 2:1–7.

Arifin Tri Nur, Pratiwi Ganjar Fenriyani, and Janrafsasih Arra. 2022. “Sensor Ultrasonik Sebagai Sensor Jarak.” Jurnal Tera 2(2):55–62.

Arifuddin, Fikri, and Yenniwarti Rafsyam. 2025. “Implementasi Sensor Ultrasonik HC-SR04 Dengan Arduino Dan LabVIEW Untuk Pengukuran Level Air.” Spektral 6(1):298–302. doi: 10.32722/spektral.v6i1.7521.

Ilmi, Ulul. 2012. “PEMANFAAT FUNGSI SQR DAN SQRT UNTUK PERHITUNGAN BESARAN VEKTOR DAN HAMBATAN AC.” Jurnal Teknika Volume 4(1).

Ilmi, Ulul. 2017. “Penggunaan SPSS Untuk Pembuktian Kebenaran Hukum Ohm.” JE-Unisla 2(2):83–86.

Ilmi, Ulul. 2018a. “Linear Equation System Study on Electrical Circuits Using Matlab.” JE-Unisla 3(1):1–4.

Ilmi, Ulul. 2018b. “The Study Of Kirchchoff Law And Inverse Matrix For Electrical Network Solutions.” JE-Unisla 3(2):42–45.

Ilmi, Ulul. 2018c. “THE TRUTH OF OHM’S LAW IS SEEN FROM THE STANDPOINT OF STATISTICAL SCIENCE.” SAINS DAN TEKNOLOGI 1(1):166–69.

Ilmi, Ulul. 2019a. “Rancang Bangun Alat Penghitung Bibit Ikan Mujair Otomatis Berbasis Mikrokontroler.” JE-Unisla 4(1):283–86.

Ilmi, Ulul. 2019b. “Studi Rencana Alat Pengukur Panas Pada Muai Logam.” Jurnal Teknika 11(2):1123–26.

Ilmi, Ulul. 2020. “Pembuatan Anten Di Desa Taman Prijek Kecamatan Laren.” Jurnal Abdimas Berdaya: Jurnal Pembelajaran, Pemberdayaan Dan Pengabdian Masyarakat 1(01):48–59.

Ilmi, Ulul. n.d. “Solusi Rangkaian Listrik Berbasis Invers Matlab Dan Gauss-Jordan Manual.”

Ilmi, Ulul, and Rifky Aisyatul Faroh. 2024. “A Study of Mathematical Problems as Control Agents in the Industrial Sector.” Sainmatika: Jurnal Ilmiah Matematika Dan Ilmu Pengetahuan Alam 21(2):170–84.

Ilmi, Ulul, Rifky Aisyatul Faroh, Ayu Ismi Hanifah, Nur Indah Mukhoyyaroh, and others. 2023. “STUDI METODE CRAMER DAN METODE INVERS MATRIK PADA PERSOALAN RANGKAIAN LISTRIK.” JE-Unisla 8(2):92–96.

Ilmi, Ulul, and others. 2019. “Simulasi Daya Harmonik Berbasis Transformasi Wavelet Dengan Matlab.” JE-Unisla 4(1):244–46.

Ilmi, Ulul, and Abdul Muiz Pratama. 2024. “Study on the Design of the Remote Distance Recording Automation Tool for Regional Water Utility Companies (PDAM) Water Distribution Using WIFI.” SAINSTECH NUSANTARA 1(3):28–37.

Ilmi, Ulul, and Heri Purnawan. 2022. “Study on the Problems of Particle Dynamics and Rigid Bodies (Mechnical Engineering Field) and Electrical Circuits (Electrical Engineering).” Pp. 213–26 in Proceeding International Conference on Environment Health, Socioeconomic and Technology. Vol. 1.

Ilmi, Ulul, and Nahdia Rupawanti. 2020. “Utilization Of Soil Moisture Sensor For The Study Of Making Automatic Cayenne Pepper Plant Sprinklers In Priyoso Village, Karangbinangun District, Lamongan Regency: Pemanfaatan Sensor Kelembaban Tanah Untuk Studi Pembuatan Alat Penyiram Tanaman Otomatis Cabe Rawit Di Desa Priyoso Kecamatan Karangbinangun Kabupaten Lamongan.” Jurnal Pengabdian Kepada Masyarakat Universitas Bangka Belitung 7(1):10–14.

Ilmi, Ulul, and Mochammad Sholikhin. 2025. “Teaching to Display Text, Symbols, and ASCII Images Using Turbo Pascal to First-Semester Electrical Engineering Students.” Sejahtera: Jurnal Inspirasi Mengabdi Untuk Negeri 4(2):1–9.

Ilmi, Ulul, and Sukardi Sukardi. 2017. “Analisa Instalasi Listrik Pada Rusunawa Dengan Metode Studi Deskriptif Kasus Rusunawa Universitas Islam Lamongan.” JE-Unisla 2(1).

Khasanah, Ulfa Niswatul. 2024. “Rancang Bangun Alat Ukur Volume Zat Cair Menggunakan Sensor Ultrasonik HC-SR04.” Journal of Science Nusantara 4(1):1–6. doi: 10.28926/jsnu.v4i1.1433.

Lesmana, Krisna. 2025. “Prototipe Penggunaan Motor Servo Untuk Dispenser Otomatis Berbasis Arduino Dan Sensor Hc-Sr04.” Jurnal Informatika Dan Teknik Elektro Terapan 13(2):16–22. doi: 10.23960/jitet.v13i2.6063.

Marzuki, Muhammad Chusni, Ulul Ilmi, Arif Budi Laksono, Eko Wahyu Santoso, and Abdur Rohman Wakhid. 2026. “Performance Evaluation of the DHT11 Sensor for MATLAB-Based Temperature and Humidity Measurements.” MALCOM: Indonesian Journal of Machine Learning and Computer Science 6(2):737–49.

Moh Avin Annabil, Safhira Aulia Nurazizah, Zainatul Khasanah, Risqillah Ayu Puspita S, and Moh Avin Annabil. 2024. “Analisis Pengukuran Jarak Objek Dengan Sensor Ultrasonik(HC-SR04) Untuk Berbagai Bentuk Objek.” Journal of Electronics and Instrumentation 1(2):54–61. doi: 10.19184/jei.v1i2.687.

Putra, Revaldy Alexandra, Galang Akbar Fatoni, Muhammad Hanif Rifai, Erdin Wildan Ahsani, and Rafli Devano Danendra. 2024. “Validasi Akurasi Pengukuran Terhadap Benda Menggunakan Sensor Ultrasonik Berbasis NodeMCU 8266.” Mars : Jurnal Teknik Mesin, Industri, Elektro Dan Ilmu Komputer 2(3):188–95.

Rahmah, Ade Elvi. 2025. “PENGGUNAAN METODE KUANTITATIF DALAM PENELITIAN AGRIBISNIS : STUDI EMPIRIS.” 2(3):422–26.

Santoso, Tri Budi, and Miftahul Huda. 2009. “Modul I Dasar-Dasar Operasi Matlab.” Modul 1 Praktikum Sinyal Dan Sistem 1–12.

Siaga, Status. 2016. “KALIBRASI SENSOR ULTRASONIK HC-SR04 SEBAGAI SENSOR PENDETEKSI JARAK PADA PROTOTIPE SISTEM PERINGATAN DINI BENCANA BANJIR SNF2016-43 SNF2016-44.” V:43–46.

Zahar, I., Ananda, P., & Fadila, P. (2023). Analisis Pengukuran Jarak Menggunakan Sensor. 623–627.

Downloads

Published

2026-09-17

How to Cite

Akhmad Thariq Hafid, Ulul Ilmi, & Abdur Rohman Wakhid. (2026). Analisis Reliabilitas dan Akurasi Sensor Ultrasonik HC-SR04 terhadap Hasil Pengukuran Manual. Jurnal Publikasi Teknik Informatika, 5(3), 229–239. https://doi.org/10.55606/jupti.v5i3.8061