Prototype of an IoT-Based Height Sorting Conveyor using ESP32, HC-SR04, and IR Sensors

Authors

  • Belinda Ayuningtyas Uniiversitas Dian Nusantara
  • Riesa Syariful Akbar Universitas Dian Nusantara
  • Syaeful Ilman Indramayu State Polytechnic
  • Rustandi Rustandi Dian Nusantara University
  • Nurudin Nurudin Dian Nusantara University

DOI:

https://doi.org/10.56127/juit.v5i1.2532

Keywords:

Automatic Sorting, ESP32, Height-Based Classification, HC-SR04, Infrared Sensor, Iot Monitoring

Abstract

Abstract: Industrial sorting on small-scale production lines is often still performed manually, which can reduce throughput consistency, increase human error, and limit real-time traceability. Objective: design, implement, and evaluate an ESP32-based conveyor prototype that automatically sorts items by height while providing local and IoT-based monitoring. Methodology: engineering experimental approach (prototype development and verification testing). Data were collected from embedded sensor readings (HC-SR04 ultrasonic and IR sensors), actuator response observations, LCD outputs, IoT dashboard records, and manual reference measurements for validation. Data were analyzed by assessing measurement accuracy, detection reliability, actuator responsiveness, and overall sorting success rate. Findings: HC-SR04 estimated item height with good accuracy (average deviation approximately ±0.1 cm), supported by interrupt-based handling and data averaging to improve stability. IR sensors reliably detected item presence and position, while pull-up configuration and debounce logic prevented duplicate triggering. MG90S 180° servo actuator performed smooth category-based diversion using non-blocking and soft-open control without disrupting other system processes. Sorting success rate exceeded 95%, and operation remained stable in both offline and online modes, with IoT integration enabling real-time monitoring without becoming a dependency for control. Implications: proposed architecture can function as a low-cost learning platform and a basis for small-scale industrial automation requiring reliable sorting and operational visibility. Originality/value: integration of baseline-calibrated ultrasonic height measurement, IR-based position gating, non-blocking servo control, local 20×4 I2C LCD feedback, and IoT monitoring into a single workflow that remains functional during network disruptions.

References

Adams, D., & Giap, Y. C. (2024). Prototype of automatic door and fire alarm system based on IoT. Bit-Tech, 6(3), 363–370. https://doi.org/10.32877/bt.v6i3.1246

Akbar, R. S., Arifin, T. N., Wahyuningsih, E., Awaldi, S., & Rahmawan, D. (2025). Prototype mesin conveyor pemilah otomatis berbasis IoT (Internet of Things). Switch: Jurnal Sains dan Teknologi Informasi, 3(1), 196–205. https://doi.org/10.62951/switch.v3i1.360

Al-Talib, A. A., Kuan, C., Tahir, N. I. M., Mustapha, A. A., & T., Y. H. (2024). IoT based smart mushroom growing kit. Proceedings of International Conference on Artificial Life and Robotics, 29, 789–794. https://doi.org/10.5954/ICAROB.2024.OS25-7

Anggreani, D., Nasution, M. I., & Nasution, N. (2023). Sistem penyortir otomatis kematangan tomat berdasarkan warna dan berat dengan sensor TCS3200 dan sensor load cell HX711 berbasis Arduino UNO. Jurnal Fisika Unand, 12(3), 374–380. https://doi.org/10.25077/jfu.12.3.373-379.2023

Bi, Z., Xu, L. D., & Wang, C. (2014). Internet of Things for enterprise systems of modern manufacturing. IEEE Transactions on Industrial Informatics, 10(2), 1537–1546. https://doi.org/10.1109/TII.2014.2300338

Gubbi, J., Buyya, R., Marusic, S., & Palaniswami, M. (2013). Internet of Things (IoT): A vision, architectural elements, and future directions. Future Generation Computer Systems, 29(7), 1645–1660. https://doi.org/10.1016/j.future.2013.01.010

Lasi, H., Fettke, P., Kemper, H.-G., Feld, T., & Hoffmann, M. (2014). Industry 4.0. Business & Information Systems Engineering, 6(4), 239–242. https://doi.org/10.1007/s12599-014-0334-4

Restuasih, S., Gamayel, A., & Agustino, R. (2022). Design of Arduino Uno-based automatic object sorter belt conveyor system using ultrasonic sensors. Journal of Global Engineering Research and Science, 1(1), 36–44. https://doi.org/10.56904/jgers.v1i1.16

Rihmi, M. K., Widyastuti, E., & Putra, F. A. (2024). Accuracy analysis of distance measurement using sonar ultrasonic sensor HC-SR04 on several types of materials. Journal of Environmental Engineering and Sustainable Technology, 11(1), 10–13. https://doi.org/10.21776/ub.jeest.2024.011.01.2

Supriyadi, E., Dzunnurain, S. A., Multi, A., & Ilyas, I. (2022). Prototipe alat sistem sortir dimensi, berat dan barcode kota tujuan berbasis mikrokontroler Arduino Mega 2560. Sainstech, 32(3), 36–45. https://doi.org/10.37277/stch.v32i3.1432

Downloads

Published

2026-02-04

How to Cite

Belinda Ayuningtyas, Riesa Syariful Akbar, Syaeful Ilman, Rustandi, R., & Nurudin, N. (2026). Prototype of an IoT-Based Height Sorting Conveyor using ESP32, HC-SR04, and IR Sensors. Jurnal Ilmiah Teknik, 5(1), 223–237. https://doi.org/10.56127/juit.v5i1.2532

Similar Articles

1 2 3 4 5 6 7 > >> 

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