Analisis Akurasi dan Presisi Sensor Ultrasonik Estimasi Level Tong Sampah Pintar Berbasis Arduino

Authors

  • Violla Gunova Politeknik Negeri Bandung, Indonesia

DOI:

https://doi.org/10.56127/jts.v5i1.2634

Keywords:

ultrasonic sensor, Arduino, waste level estimation, precision, smart trash

Abstract

This study analyzes the accuracy and precision of ultrasonic sensors for estimating waste levels in two sizes of Arduino-based smart trash cans in a community service program at a private high school in Jambi City. Two cardboard trash can prototypes were used as learning media, namely a small trash can measuring 10 cm × 10 cm × 20 cm and a large trash can measuring 30 cm × 30 cm × 50 cm. The testing was conducted by measuring the distance between the sensor and the surface of the waste/object at several predetermined reference distances using a ruler. For each distance condition, 10 readings were taken at 2-second intervals. The evaluation parameters included the mean, standard deviation (SD), bias, MAE, and RMSE. The results show that the average readings on both prototypes were close to the reference distance with a small bias. The variation in readings tended to increase at close distances, with the highest SD at a distance of 5 cm for both bins. When the bins were empty (20 cm for the small bin and 50 cm for the large bin), the measurements tended to be more accurate and precise than when the bins were full. In aggregate, the MAE and RMSE of the large bin (≈0.166 cm and ≈0.235 cm) were smaller than those of the small bin (≈0.225 cm and ≈0.335 cm). These findings confirm that ultrasonic sensors are suitable for monitoring waste levels, with the recommendation to avoid readings at very close distances and to apply data processing to improve the stability of level estimates.

References

Texas Instruments Incorporated, “Ultrasonic Distance Measurement BoosterPack,” 2015, Accessed: Feb. 27, 2026. [Online]. Available: www.ti.com.

ElecFreaks, “Ultrasonic Ranging Module HC-SR04”, Accessed: Feb. 27, 2026. [Online]. Available: www.Elecfreaks.com

Texas Instruments Incorporated, “Ultrasonic Sensing Basics,” 2021, Accessed: Feb. 27, 2026. [Online]. Available: www.ti.com

element14, “HC-SR04 Ultrasonic Sonar Distance Sensor.” Accessed: Feb. 27, 2026. [Online]. Available: https://www.mouser.com/pdfDocs/Product-Overview-Adafruit-3942.pdf?srsltid=AfmBOopmx99p888vAJRWfEp_XpkdFujHzHyfyCJ3y6YHpIp1huARxtFB

C.-H. Cheng et al., “P2F-8 multipath interference between plane and corner reflection for ultrasonic ranging systems,” in 2007 IEEE Ultrasonics Symposium Proceedings, IEEE, 2007, pp. 1633–1636.

“Ultrasonic Inspection Formulas.” Accessed: Feb. 27, 2026. [Online]. Available: https://www.nde-ed.org/NDETechniques/Ultrasonics/ultrasonicFormula.xhtml

A. R. Priadi, R. A. Safitri, T. B. Pratama, and U. Latifa, “COMPARISON OF ACCURACY AND PRECISION OF DISTANCE READINGS ON HC-SR04, JSN-SR04T, AND A02YYUW ULTRASONIC SENSORS,” TESLA J. Tek. Elektro, vol. 27, no. 1, pp. 19–29, 2025.

“ISO 5725-1:2023(en), Accuracy (trueness and precision) of measurement methods and results — Part 1: General principles and definitions.” Accessed: Feb. 27, 2026. [Online]. Available: https://www.iso.org/obp/ui/#iso:std:iso:5725:-1:ed-2:v1:en

Downloads

Published

2026-03-04

How to Cite

Gunova, V. (2026). Analisis Akurasi dan Presisi Sensor Ultrasonik Estimasi Level Tong Sampah Pintar Berbasis Arduino. Jurnal Teknik Dan Science, 5(1), 91–97. https://doi.org/10.56127/jts.v5i1.2634

Citation Check

Similar Articles

1 2 > >> 

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