Journal of Artificial Intelligence and Metaheuristics

Smart Garbage Monitoring System using IoT

Marwa Eid, Omnia M. Osama, Mariam H. Amin
Volume 2, Issue 2, pp. 29-38 (2022)
DOI: https://doi.org/10.54216/JAIM.020203
Online: https://americaspg.com/journal/28/article/1536

Abstract

The Internet of Things (IoT) will be able to integrate a wide range of various and heterogeneous end systems transparently and smoothly, while also offering open access to chosen subsets of data for the creation of a wide range of digital services. Solid waste management, which apart upsetting the ecological balance also has negative consequences on societal health, has been one of the key environmental issues. One of the main issues in the modern era is the identification, monitoring of wastes. The conventional method of manually checking the wastes in bins requires more human labor, takes longer, and costs more money. It is in no way compatible with modern technologies. This is a cutting-edge approach to automated garbage management. This project IoT Garbage Monitoring system is a very innovative system which will help greatly in preserving the environment and also makes us benefit from garbage and sell it on form raw materials to be recycled again by recycling factories. System is linked to an android application to show us the current level of each type of garbage using Ultrasonic Sensor and give a warning when the level of any of them is filled.

Keywords: Internet of Things; Garbage Sorting; Arduino microcontroller; Sensors; Android Application

1. Introduction

The proliferation of garbage of various types is a major environmental issue in modern-day Egypt because of the country's rising population and ineffective waste management legislation. With a population of around 104 million, Egypt generates about 90 million tonnes of trash per year, according to experts. This equates to daily trash production of 173 kg per person. The waste situation in Egypt has numerous origins. One problem is that waste management has not been well planned for the future. Garbage collection ranges from 80% in major cities to 0% in rural regions, despite annual waste production of 100 million tonnes (including 20.7 million tonnes of municipal waste) [1]. The rapid increase in the human population also contributes significantly to the garbage problem. To be sure, Egypt's population is expanding at about 1.9% annually. Egypt's municipal solid waste (MSW) comprises 56% organics, 13% plastics, 10% paper & cardboard, 4% glass, 2% metals, and 15% other stuff [2]. The organic proportion of municipal solid waste (MSW) can range from 41% to 70%. In contrast, the plastic fraction can be anywhere from 6% to 16%, the glass fraction can be anywhere from 1.5% to 9.4%, and the metal fraction can be anywhere from 1% to 8% [3]. In 2016, MSW management in Egypt was based on open dumping (81%), a modest recycling share (12%), and only 7% was landfilled, according to the latest statistics released by the Egyptian Ministry of Environment [2]. Using the Internet of Things, a garbage sorting and monitoring system has been developed, which will aid in the cleanliness of urban areas.

The Inductive Proximity Sensor, Capacitive Proximity Sensor, and Soil Moisture Sensor classify the material in this system as either metal, plastic, paper, or biological.

The app also keeps tabs on trash cans and notifies users when they reach capacity. To do this, ultrasonic sensors are installed above the bins to measure the height of the rubbish relative to the bin's depth. A microcontroller called Arduino and a liquid crystal display is used in this setup. A 12V transformer supplies power to the system. The garbage containers' fill levels are shown on an LCD screen. The air temperature, relative humidity, and gas content are displayed on a separate LCD. It aids in the diagnosis of hardware issues within the equipment. On the other hand, an app is designed to update the user on the system's status in real-time. Regarding recycling, this app gets the job done quickly and efficiently by registering businesses and sending them notifications when recyclable materials become available, as well as providing information about the basket and the price of recycled materials.

2. Literature Survey

2.1 Smart Waste Management and Classification Systems Using Cutting Edge Approach

Since our suggested model is not a straightforward system for classifying waste, the primary goal of this research is to provide a system for the segregation of solid waste, particularly recyclables. It is put forth after thoroughly analyzing all of the limitations and characteristics of waste categories. First off, sensors are installed in the trash cans to maintain the level of trash within. Waste is collected by waste management authorities from all commercial and residential areas. Second, a camera is employed to take a picture of the trash dump. The image is segmented into grids using a grid segmentation method. A trained deep learning algorithm called VGG-16 conducts identification using this image. A robotic arm is used by a classifier to further determine each waste object's class and separate it to the appropriate garbage container. To reduce total latency, edge computing and cloud computing are combined. Edge Node Processing, Cloud Processing, and Control Unit make up the three key components that make up the suggested waste classification model's entire system [4].

2.2 IOT-enabled dustbin for trash segregation and Collection, CEUR Workshop Proceedings

It is a regular sight to see trash overflowing from dustbins into the streets, and this issue requires immediate care. In addition, some animals like birds, dogs, and rats dig through rubbish in search of food, which causes waste to pour onto the streets, pollute the air, and make the area unclean. To solve this issue, the trash can has an automatic lid that closes to prevent physical touch and shield the body from germs that spread disease through waste. Only when the presence of plastics, moisture, metal, and biodegradable components is recognized using a variety of sensors and image processing does the automatic lid open. To distinguish between recyclable and non-recyclable materials, the MS COCO dataset will be employed. But sensors will be employed for moist and metallic garbage. If not, it stays closed to stop the spread of bad odors that lead to pollution and illness [5].

2.3 Internet of things (IOT) based Smart Garbage Monitoring System

It is described how to monitor waste using Thingspeak on an IoT platform. A prototype has been created that measures the weight and level of the rubbish bin using a load cell and an ultrasonic sensor, respectively. It has been put to the test, and it performed admirably. Online waste bin monitoring is done with Thingspeak. Periodically throughout each day, live updates of the rubbish bin status are provided via the social network website Twitter. An update on the status of a trash can that is full or overloading would appear on Twitter, allowing authorized workers to take appropriate action. Public awareness of waste management and waste pollution can be raised through disseminating information. The administrator can more effectively schedule and manage garbage collection with the help of this technology [6].

3. Proposed System

The Purposed IoT Garbage Monitoring System is shown in figure 1. From this figure it has been found that the proposed technique has basically consisted of the following components:

1) The Gate Box

In this subsection the main specifications of the gate box will be discussed. First, the gate box will open automatically when someone throws the garbage bag using ultrasonic sensor and geared motor. Second, The garbage bag will be cut by using a heating coil, so that everything inside the garbage bag will be sorted. Third, The dust will be separated from the rest of the garbage through small holes located in the base of the box, so as not to obstruct the conveyor belt motion in the next stage.

2) The Conveyor Belt

The conveyor belt is used to facilitate sorting process. If the garbage type is metal, the inductive proximity sensor will detect it, and the first arm will push it into the metal bin, but if it is organic the soil moisture sensor will detect it and the second arm will push it into the organic bin, the same of the previous process if it is paper the capacitive proximity sensor will detect it and the third arm will push it into the paper bin, otherwise this type will be plastic and it will come toward to plastic bin as shown in figure 2.

3) The Baskets

The filling level of each basket is tracked by the ultrasonic sensor, and this appears on the LCD screen. When any basket is filled, an alert message is sent through the application. There is also a weight sensor in each basket to measure the weight of the garbage in order to be sold through the application.

Figure 1. The Flowchart of the Proposed System
Figure 1. The Flowchart of the Proposed System
Figure 2. The Design of the Conveyor Belt
Figure 2. The Design of the Conveyor Belt

3.1 Hardware Implementation 3.1.1 Sorting Sensors

The circuit diagram of the system is shown in figure 3. From this figure, we found the components of the system are Arduino Mega, Ultrasonic Sensor, Inductive Proximity Sensor, Soil Moisture Sensor, and Capacitive Proximity Sensor. The following subsections show the uses of these components.

Figure 3. The Circuit Diagram of the System
Figure 3. The Circuit Diagram of the System

At the rim of the basket's uppermost rim is the HC-SR04 ultrasonic sensor shown in figure 4. The waste can's fill level can be detected and shown on the LCD panel. After crashing into an obstruction, it shoots a high-frequency sound wave and waits for the tide to return. The wave propagation time is used as a proxy for distance. The ultrasonic sensor reports whether or not the garbage can is entire via a radio signal to the control unit. When it reaches or exceeds a concentration of 100%, for this reason, the red light and alarm will activate, and the system will cease functioning.

Figure 4. Ultrasonic Sensor
Figure 4. Ultrasonic Sensor

A proximity sensor can be utilized to determine whether a metal object is close by without physically touching it. This makes it possible to detect the presence of things in the surrounding space. The PNP and NO outputs of the LJ12A3-4-Z/BX sensor are accessible via the device's three pins (Normal Open) as shown in figure 5. In other words, it is Low in the absence of an object and gets HIGH once one is detected. Detection at 4 mm is limited to metals like copper, aluminum, iron, etc.

Figure 5. Inductive Proximity Sensor
Figure 5. Inductive Proximity Sensor

We have used a soil moisture sensor to determine the moisture content of the waste material (organic). The volumetric water content of the soil is determined using the soil moisture sensor shown in figure 6. It measures the dielectric permittivity of the surrounding medium using the capacitance principle. The water content in this scenario affects the dielectric permittivity. The sensor generates a voltage proportional to the soil moisture content and the soil's dielectric permittivity. In comparison to dry waste, a wet waste material will contain more water. Therefore, wet waste material will have a higher dielectric constant than dry waste material [7]. The amount of water in the trash is determined by its resistance to the current, which is carried through the electrodes and through the waste. More water means less resistance, which allows more current to flow through the material. The sensor module, on the other hand, produces a significant level of resistance when the water content is low [8]. Wet waste and dry waste are separated using this idea.

Figure 6. Soil Moisture Sensor
Figure 6. Soil Moisture Sensor

Objects nearby can be detected using "Proximity Sensors." in contrast to inductive proximity sensors, capacitive sensors generate an electric field, allowing them to see metallic and nonmetallic objects. As in figure 7, there are three terminals on the LJC18A3-B-Z / BX sensor, with NPN and NO on the output pin (Normal Open). In other words, it starts off High and goes Low when it senses something. The sensor has an 8 mm range and can pick up on metal and non-metal things like ceramic, plastic, paper, etc. However, we limited its functionality to identifying paper.

Figure 7. Capacitive Proximity Sensor
Figure 7. Capacitive Proximity Sensor

3.1.2 Safety Sensors

The circuit diagram of the safety system is shown in figure 8. From this figure, we found the components of the system are Arduino Mega, Gas Monitor, Temperature and Humidity, and RFID. The following subsections show the uses of these components.

Figure 8. The Safety system circuit diagram
Figure 8. The Safety system circuit diagram

Dangerous gases are a significant issue today. All typical levels of these gases need to be tracked so that any deviation necessitates immediate action for public safety. The problem is that the systems we have now aren't efficient; they're also expensive and complicated to implement. Since a gas sensor is utilized in the system to detect toxic gas leakage, the risks that negatively impact electrical components are disregarded. The MQ2 gas sensor is an electronic detector for airborne gases such as LPG, propane, methane, hydrogen, alcohol, smoke, and carbon monoxide shown in figure 9. It can identify potentially dangerous or flammable gases or smoke when the level rises above 600 parts per million. For this reason, the red light and alarm will activate, and the system will cease functioning.

Figure 9. Gas sensor MQ2
Figure 9. Gas sensor MQ2
Figure 10. DHT11
Figure 10. DHT11
Figure 11. RFID
Figure 11. RFID

4. Software Application

Nowadays, smartphone applications have become a very important part of technology in recent years. They are defined as applications or software applications that are installed on mobile devices or tablet devices with a specific function. In the early days of the smartphone era, developers were restricted to creating specific or native apps for specific devices and operating systems and any platforms using java and kotlin for Android or swift for IOS. Our proposed software was implemented using android studio. The proposed mobile application presents a new application that allows officials, users and companies to monitor basket weight and available prices for recycled materials in the market at anytime and anywhere through a communication protocol that enables data exchange. It also allows companies to communicate with the owners of the basket in order to purchase the number of recyclable materials in the basket, and this is in the interest of the user, as each weight that the user puts in the basket gets a percentage of it in currencies that he can benefit from at another time. The flowchart of software applications shown in figure 12. The splash of the mobile application is shown in figure 13, while the login screen is shown in figure 14. The profile screen shown in figure 15, and the proposed RIG application is shown in figure 16.

Figure 12. The Flowchart of the Software Application
Figure 12. The Flowchart of the Software Application
Figure 13. Splash Screen                                             Figure 14: Login Screen
Figure 13. Splash Screen Figure 14: Login Screen
Figure 15. Profile Screen                                      Figure 16: The purposed RIG application
Figure 15. Profile Screen Figure 16: The purposed RIG application

5. Conclusion

The Smart Garbage Monitoring System using IoT is a great way to reduce waste and increase efficiency in the waste management process. It can help reduce the amount of time and resources needed to sort, monitor, and dispose of garbage also it facilitates recycling process. It can also help reduce the environmental impact of waste by reducing the amount of materials that end up. With this system, garbage can be monitored more closely and sorted more efficiently, leading to a cleaner environment for everyone.

6. Future Work

One limitation that can be overcome is the dustbin's immobility by incorporating a bot mechanism and garbage-picking mechanical arms. Another important limitation is the need for a camera to record and process photographs to help further assist in waste classification. We really hope that upcoming contenders will be able to address these issues in their thoughts. The suggested paper just represents the beginning of using IoT for garbage management. Future modifications to this framework could result in something that helps keep the environment clean, healthy and a better place to live. A few potential improvements include: The current study examines how AI and robotics can be used to turn a stationary trashcan into a moving trash-bot. This garbage can also include GPS trackers for a particular area, allowing them to be easily identified.

References

[1]National Solid Waste Management Program (NSWMP). Available at: www.giz.de/en/worldwide/22230.html (Accessed: 5 December, 2022.)

[2] EEAA. Egypt State of the Environment Report; EEAA: Chatswood, Australia, 2017.

[3] Abdallah M., Arab M.,  Shabib  A.,  El-Sherbiny  R.,  El-Sheltawy  S., Characterization and sustainable management strategies of municipal solid waste in Egypt. Clean Technol. Environ. Policy, 22, 1371–1383, 2020.

[4] Cheema, Sehrish Munawar, et al., Smart Waste Management and Classification Systems Using Cutting Edge Approach. Sustainability, 14(16), 2022.

[5] Bansal, P., Ananya, A. and Jindal, S., IOT-enabled dustbin for trash segregation and Collection. CEUR Workshop Proceedings, 2021.

[6] Bhuvaneswari, T. et al. (2020), Internet of things (IOT) based Smart Garbage Monitoring System. Indonesian Journal of Electrical Engineering and Computer Science, 20(2), 736, 2020.

[7] Michael D. Dukes, Mary Shedd, and Bernard Cardenas Lailhacar. (2008). Smart Irrigation Controllers: How Do Soil Moisture Sensor (SMS) Irrigation Controllers Work?. AE437, one of a series of the Agricultural and Biological Engineering Department, UF/IFAS Extension.

[8] Shyamala S.C, Kunjan Sindhe, Vishwanth Muddy and Chitra C N, Smart waste management system. International Journal of Scientific Development and Research, 1(9), 2016.

[9] In-depth: What is RFID? how it works? interface RC522 with Arduino (2022) Last Minute Engineers. Available at: https://lastminuteengineers.com/how-rfid-works-rc522-arduino-tutorial/. (Accessed: January 31, 2023).