Raspberry Pi 4 and Ultrasonic Sensor for Real-Time Waste Classification and Monitoring with Capacity Alert System

Authors

  • Yuliza Yuliza Department of Electrical Engineering, Universitas Mercu Buana, Jakarta, Indonesia
  • Rachmat Muwardi Department of Electrical Engineering, Universitas Mercu Buana, Jakarta, Indonesia
  • Prima Wijaya Kusuma Department of Electrical Engineering, Universitas Mercu Buana, Jakarta, Indonesia
  • Lenni Lenni Department of Electrical Engineering, Universitas Muhammadiyah Tangerang, Tangerang, Indonesia
  • Rizky Rahmatullah School of Integrated Circuits and Electronics, Beijing Institute of Technology, Beijing, China
  • Mirna Yunita School of Computer Science and Technology, Beijing Institute of Technology, Beijing, China
  • Akhmad Wahyu Dani Department of Electrical Engineering, Universitas Mercu Buana, Jakarta, Indonesia

DOI:

https://doi.org/10.26555/jiteki.v10i4.30036

Keywords:

Raspberry pi 4, API, HTTP, Telegram, Quality osf Service

Abstract

The problem of waste management creates daily rubbish buildup due to thorough sorting. garbage sometimes accumulates in public garbage receptacles due to officials' ignorance of bin capacity and collectors' schedules, causing unclean conditions and the development of deadly diseases. Internet of Things technology was used to create a smart waste classification system with a notification mechanism in this study. This system classifies waste into plastic, metal, B3, and organic using a Raspberry Pi 4, camera module, and deep learning model. The classification uses a Convolutional Neural Network to speed up waste processing and separation. This research can be linked with research on separating trash types in one container and then allocated to garbage bins by type. Ultrasonic sensors and Raspberry Pi 4 can continuously monitor waste levels by sending data to the Ubidots IoT platform over HTTP. Based on experimental device data, system analysis shows 90% classification accuracy for all four waste categories. A Wireshark network analysis showed 61,098 bytes/s of throughput, 16 ms of delay, and zero data loss, demonstrating the system's ability for real-time monitoring and alerting. This research provides a realistic, cost-effective, and minimal solution to improve garbage classification and reduce collection costs to promote sustainability.

References

[1] A. Maalouf and A. Pariatamby, "Waste management evolution in the last five decades in developing countries – a review," Waste Management &Amp; Research: The Journal for a Sustainable Circular Economy, vol. 41, no. 9, p. 1420-1434, 2023, https://doi.org/10.1177/0734242x231160099.

[2] T. Akmal, F. Jamil, M. H. Raza, C. Magazzino, and B. Hussain, "Assessing household’s municipal waste segregation intentions in metropolitan cities of Pakistan: A structural equation modeling approach," Environmental Science and Pollution Research, vol. 195, no. 10, pp. 26601-26613, Sep. 2023, https://doi.org/10.1007/s10661-023-11685-w.

[3] K. Kumar, L. Ding, H. Zhao, and M. Cheng, "Waste-to-energy pipeline through consolidated fermentation–microbial fuel cell (MFC) system," Processes, vol. 11, no. 8, p. 2451, Aug. 2023, https://doi.org/10.3390/pr11082451.

[4] S. Budiyanto et al., "The automatic and manual railroad door systems based on IoT," Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 21, no. 3, pp. 1847-1857, Mar. 2021. https://doi.org/10.11591/ijeecs.v21.i3.pp1847-1857.

[5] M. Awawdeh, A. Bashir, T. Faisal, I. A. I. Ahmad, and M. K. Shahid, "IoT-based intelligent waste bin," presented at IEEE International Conference on Automation and Engineering Technologies (ICASET), pp. 1-6, 2019. https://doi.org/10.1109/icaset.2019.8714406.

[6] M. R. Islam, S. A. Ruponti, M. A. Rakib, H. Q. Nguyen, and M. Mourshed, "Current scenario and challenges of plastic pollution in Bangladesh: A focus on farmlands and terrestrial ecosystems," Higher Education Press, vol. 17, no. 6, Dec. 2022, https://doi.org/10.1007/s11783-023-1666-4.

[7] P. Shukla et al., "Unsegregated municipal solid waste in India - Current scenario, challenges and way forward," National Environmental & Pollution Technology, vol. 20, no. 2, pp. 48-56, Jun. 2021, https://doi.org/10.46488/nept.2021.v20i02.048.

[8] M. U. Sohag, U. Uddin, M. Minhaz, and A. K. Podder, "Smart garbage management system for a sustainable urban life: An IoT based application," Internet of Things, vol. 11, p. 100255, Sep. 2020, https://doi.org/10.1016/j.iot.2020.100255.

[9] M. Maryam, M. Muryali, A. Yani, A. Fahmi, and R. Wulandari, "Implementation of waste management policy in Kota Juang District, Bireuen Regency," International Journal of Public Administration Studies, vol. 1, no. 1, Aug. 2021, https://doi.org/10.29103/ijpas.v1i1.5001.

[10] D. Panepinto and M. Zanetti, "Technical and environmental comparison among different municipal solid waste management scenarios," Multidisciplinary Digital Publishing Institute, vol. 13, no. 6, Mar. 2021, https://doi.org/10.3390/su13063167.

[11] C. Tallentire and B. Steubing, "The environmental benefits of improving packaging waste collection in Europe," Waste Management, vol. 103, pp. 426-436, Feb. 2020, https://doi.org/10.1016/j.wasman.2019.12.045.

[12] A. Mahéo, D. G. Rossit, and P. Kilby, "Solving the integrated bin allocation and collection routing problem for municipal solid waste: A Benders decomposition approach," Annals of Operations Research, vol. 322, no. 1, 441-465, 2022, https://doi.org/10.48550/arxiv.2210.01580.

[13] M. Shreya, N. Yughan, J. Katyal, and R. Ramésh, "Technical solutions for waste classification and management: A mini-review," SAGE Publishing, vol. 41, no. 4, Nov. 2022, https://doi.org/10.1177/0734242x221135262.

[14] R. Muwardi, J. M. R. Permana, H. Gao, and M. Yunita, "Human object detection for real-time camera using Mobilenet-SSD," Journal of Intelligent Applications and Environments, vol. 3, no. 2, Sep. 2023, https://doi.org/10.51662/jiae.v3i2.108 .

[15] R. Muwardi, H. Qin, H. Gao, H. U. Ghifarsyam, M. H. I. Hajar and M. Yunita. "Research and Design of Fast Special Human Face Recognition System," 2nd International Conference on Broadband Communications, Wireless Sensors and Powering (BCWSP), pp. 68-73, 2020, https://doi.org/10.1109/bcwsp50066.2020.9249452.

[16] Z. Iklima, B. N. Rohman, R. Muwardi, A. Khan and Z. Arifiansyah, "Defect classification of radius shaping in the tire curing process using Fine-Tuned Deep Neural Network," SINERGI, vol. 26, no. 3, pp. 335-342, 2022, http://dx.doi.org/10.22441/sinergi.2022.3.009.

[17] R. Yu, J. -P. Cai and B. -R. Wang, "Adaptive Failure Compensation of Actuators in Controlling Servo System Driven by Twin Motors," in IEEE Access, vol. 6, pp. 63223-63231, 2018, https://doi.org/10.1109/ACCESS.2018.2876887.

[18] Y. Qiu, Y. Jiang, B. Wang and Z. Huang, "An Analytical Method for 3-D Target Localization Based on a Four- Element Ultrasonic Sensor Array With TOA Measurement," in IEEE Sensors Letters, vol. 7, no. 5, pp. 1-4, May 2023, Art no. 6002104, https://doi.org/10.1109/LSENS.2023.3267278.

[19] Z. Shan, X. Xie and X. Liu, "Wind Speed and Direction Measurement Based on Three Mutually Transmitting Ultrasonic Sensors," in IEEE Geoscience and Remote Sensing Letters, vol. 20, pp. 1-5, 2023, Art no. 8000205, https://doi.org/10.1109/LGRS.2023.3236005.

[20] A. Rocchi, E. Santecchia, F. Ciciulla, P. Mengucci and G. Barucca, "Characterization and Optimization of Level Measurement by an Ultrasonic Sensor System," in IEEE Sensors Journal, vol. 19, no. 8, pp. 3077-3084, 2019, https://doi.org/10.1109/JSEN.2018.2890568.

[21] R. Rahmatullah et al., “Analyze Transmission Data from a Multi-Node Patient’s Respiratory FMCW Radar to the Internet of Things,” International Journal of Advanced Computer Science and Applications (IJACSA), vol. 14, no. 5, 2023. http://dx.doi.org/10.14569/IJACSA.2023.0140521.

[22] P. W. Kusuma, M. H. Habaebi, G. P. N. Hakim, R. Muwardi and M. R. Islam, "Kalman Filter for tracking a noisy cosinusoidal signal with constant amplitude," 29th International Conference on Computer and Communication Engineering (ICCCE), pp. 383-387, 2023, https://doi.org/10.1109/ICCCE58854.2023.10246039.

[23] W. Wang, J. Yao and S. Qiu, "Design and implementation of sewage cloud platform monitoring system." In MATEC Web of Conferences, vol. 232, p. 04005, 2018, https://doi.org/10.1051/matecconf/201823204005.

[24] P. D. P. Adi and Y. Wahyu, "The error rate analyze and parameter measurement on LoRa communication for health monitoring," Microprocessors and Microsystems, vol. 98, p. 104820, 2023, https://doi.org/10.1016/j.micpro.2023.104820.

[25] N. Telagam, U. Somanaidu, B. Naresh, M. A. Kumar and K. Nehru, "Web Scraping based Smart irrigation system with telegram alerts for farmers," Fourth International Conference on Electrical, Computer and Communication Technologies (ICECCT), pp. 1-6, 2021, https://doi.org/10.1109/ICECCT52121.2021.9616699 .

[26] G. P. N. Hakim, D. Septiyana and I. Iswanto. "Survey Paper Artificial and Computational Intelligence in the Internet of Things and Wireless Sensor Network," Journal of Robotics and Control (JRC), vol. 3. no. 4. pp. 439-454. Jul. 2022, https://doi.org/10.18196/jrc.v3i4.15539.

[27] M. S. Nafiz, S. Das, M. K. Morol, A. A. Juabir, and D. Nandi, "ConvoWaste: An automatic waste segregation machine using deep learning," In 2023 3rd International Conference on Robotics, Electrical and Signal Processing Techniques (ICREST), pp. 181-186, 2023, https://doi.org/10.48550/arxiv.2302.02976.

[28] K. Pardini, J. J. P. C. Rodrigues, S. A. Kozlov, N. Kumar, and V. Furtado, "IoT-based solid waste management solutions: A survey," Journal of Sensor and Actuator Networks, vol. 8, no. 1, Jan. 2019, https://doi.org/10.3390/jsan8010005 .

[29] G. Soni, S. S. Saini, S. S. Malhi, B. K. Srao, A. Sharma and D. Puri, "Design and Implementation of Object Motion Detection Using Telegram," International Conference on Technological Advancements and Innovations (ICTAI), pp. 203-206, 2021, https://doi.org/10.1109/ICTAI53825.2021.9673226.

[30] R. Rahmatullah, T, M, Kadarina et al.,”Design and Implementation of IoT-Based Monitoring Battery and Solar Panel Temperature in Hydroponic System,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI), vol. 9, no. 3, pp. 810-820, 2023, https://doi.org/10.26555/jiteki.v9i3.26729.

[31] A. Najmurrokhman, E. F. Ramadhan, D. I. Saputra, N. Ismail and A. Saehu, "Development of Automatic Trash Bin for Sorting Metal and Non-Metallic Wastes Using Proximity Sensors and Notifications via Telegram," 9th International Conference on Wireless and Telematics (ICWT), pp. 1-5, 2023, https://doi.org/10.1109/ICWT58823.2023.10335243.

[32] G. Baojun, Z. Wei, S. Zhebin, H. Qiucheng and Z. Dongping, "AI-based detection system of resident’s behaviors in automatic trash sorting booths: a background computing-based solution," China Automation Congress (CAC), pp. 1756-1760, 2022, https://doi.org/10.1109/CAC57257.2022.10055608.

[33] M. Hasbi and N. R. Saputra, "Analysis of quality of service (QoS) King Bukopin head office internet network using Wireshark," Jurnal Sistem Informasi, Teknologi Informasi dan Komputer, vol. 2023, pp. 17-23, Sep. 2023, https://doi.org/10.24853/justit.12.1.%25p.

[34] T. K. Tran, K. T. Huynh, D. N. Le, M. Arif, H. M. Dinh, “A Deep Trash Classification Model on Raspberry Pi 4,” Intelligent Automation and Soft Computing, vol. 2, pp. 2479–2491, 2023, https://doi.org/10.32604/iasc.2023.029078.

[35] Q. D. N. G. J. X. R. Z. H. W. M. S. Haonan Fan, "Raspberry Pi-based design of intelligent household classified garbage bin," Internet of Things, vol. 24, p. 100987, 2023, https://doi.org/10.1016/J.IOT.2023.100987.

[36] B. Cao, X. Chen, Z. Lv, R. Li and S. Fan, "Optimization of Classified Municipal Waste Collection Based on the Internet of Connected Vehicles," in IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 8, pp. 5364-5373, Aug. 2021, https://doi.org/10.1109/TITS.2020.2981564.

[37] M. K. Quan, D. C. Nguyen, V. -D. Nguyen, M. Wijayasundara, S. Setunge and P. N. Pathirana, "Toward Privacy-Preserving Waste Classification in the Internet of Things," in IEEE Internet of Things Journal, vol. 11, no. 14, pp. 24814-24830, 2024, https://doi.org/10.1109/JIOT.2024.3386727.

[38] N. C. A. Sallang, M. T. Islam, M. S. Islam and H. Arshad, "A CNN-Based Smart Waste Management System Using TensorFlow Lite and LoRa-GPS Shield in Internet of Things Environment," in IEEE Access, vol. 9, pp. 153560-153574, 2021, https://doi.org/10.1109/ACCESS.2021.3128314.

[39] T. J. Sheng et al., "An Internet of Things Based Smart Waste Management System Using LoRa and Tensorflow Deep Learning Model," in IEEE Access, vol. 8, pp. 148793-148811, 2020, https://doi.org/10.1109/ACCESS.2020.3016255.

[40] T. Anagnostopoulos et al., "Challenges and Opportunities of Waste Management in IoT-Enabled Smart Cities: A Survey," in IEEE Transactions on Sustainable Computing, vol. 2, no. 3, pp. 275-289, 2017, https://doi.org/10.1109/TSUSC.2017.2691049.

[41] S. B, K. Parkavi, S. A, R. Kokiladevi, M. Dharani and K. R, "CNN Based Smart Bin for Waste Management," 4th International Conference on Smart Systems and Inventive Technology (ICSSIT), pp. 1405-1409, 2022, https://doi.org/10.1109/ICSSIT53264.2022.9716437.

[42] D. Perdios, M. Vonlanthen, F. Martinez, M. Arditi and J. -P. Thiran, "CNN-Based Image Reconstruction Method for Ultrafast Ultrasound Imaging," in IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 69, no. 4, pp. 1154-1168, April 2022, https://doi.org/10.1109/TUFFC.2021.3131383.

[43] Y. Pei, Y. Huang, Q. Zou, X. Zhang and S. Wang, "Effects of Image Degradation and Degradation Removal to CNN-Based Image Classification," in IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 43, no. 4, pp. 1239-1253, 2021, https://doi.org/10.1109/TPAMI.2019.2950923.

[44] O. Oktay et al., "Anatomically Constrained Neural Networks (ACNNs): Application to Cardiac Image Enhancement and Segmentation," in IEEE Transactions on Medical Imaging, vol. 37, no. 2, pp. 384-395, Feb. 2018, https://doi.org/10.1109/TMI.2017.2743464.

[45] I. Hermawan, A. Mardiyono, R. W. Iswara, F. A. Murad, M. A. Ardiawan and R. Puspita, "Development of Covid Medical Waste Object Classification System Using YOLOv5 on Raspberry Pi," 10th International Conference on Information Technology, Computer, and Electrical Engineering (ICITACEE), pp. 443-447, 2023, https://doi.org/10.1109/ICITACEE58587.2023.10277207.

[46] T. S. Mohammed and O. A. L. A. Ridha, "Implementation of Deep Learning In Detection of Covid-19 In X-ray Images Using Raspberry Pi," Iraqi International Conference on Communication and Information Technologies (IICCIT), pp. 203-208, 2022, https://doi.org/10.1109/IICCIT55816.2022.10010353.

[47] V. Kamath, R. A., V. G. Kini and S. Prabhu, "Exploratory Data Preparation and Model Training Process for Raspberry Pi-Based Object Detection Model Deployments," in IEEE Access, vol. 12, pp. 45423-45441, 2024, https://doi.org/10.1109/ACCESS.2024.3381798.

[48] P. Perumal, B. Mathivanan and K. Deepa, "Color based Product Sorting Machine using Raspberry Pi," 5th International Conference on Smart Electronics and Communication (ICOSEC), pp. 1896-1900, 2024, https://doi.org/10.1109/ICOSEC61587.2024.10722515.

[49] K. Zhou, Z. Meng, M. He, J. Hou and T. Li, "Design and Test of a Sorting Device Based on Machine Vision," in IEEE Access, vol. 8, pp. 27178-27187, 2020, https://doi.org/10.1109/ACCESS.2020.2971349.

[50] S. K. Memon, F. Karim Shaikh, N. A. Mahoto and A. Aziz Memon, "IoT based smart garbage monitoring & collection system using WeMos & Ultrasonic sensors,"2nd International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), pp. 1-6, 2019, https://doi.org/10.1109/ICOMET.2019.8673526.

[51] M. Barzegar, C. E. Davies, and M. C. E. Grafton, “Ultrasonic measurement of fill volume of bulk solids in discharge vessels,” Powder Technology, vol. 435, Feb. 2024, https://doi.org/10.1016/j.powtec.2023.119339.

Downloads

Published

2024-12-23

How to Cite

[1]
Y. Yuliza, “Raspberry Pi 4 and Ultrasonic Sensor for Real-Time Waste Classification and Monitoring with Capacity Alert System”, J. Ilm. Tek. Elektro Komput. Dan Inform, vol. 10, no. 4, pp. 803–816, Dec. 2024.

Issue

Section

Articles

Similar Articles

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

Most read articles by the same author(s)