Smart Dustbin Using Iot 2p5x7z1e
Smart Dustbin Using Iot 2p5x7z1e
RESEARCH ARTICLE
Abstract
Living in a technological world that is upgrading day by day, there is one major problem that should be dealt with. Garbage, which
is the issue preventing us from developing into a sanitary, clean, and healthy society. In our daily lives, we frequently encounter trash
cans that are overflowing with junk. Neither our environment nor our growth benefit from situations like this. Due to the abundance of
flies and mosquitoes that breed on the garbage, this issue significantly negatively impacts health. As a result, this project is designed
to prevent the trashcan from becoming overfilled by giving it the ability to alert itself when it needs to be cleaned. The smart trash bin
system in this project is built on a microcontroller and has ultrasonic sensors on each of the two trash cans to display the garbage’s
current status on an LCD screen and a smartphone.
Keywords: Smart dustbin, Dijkstra’s algorithm, LCD, wireless fidelity, global positioning system.
features like overcrowding can make these dangers worse. in (Wijaya et al., 2017; Patel et al., 2019; Soh et al., 2019) for
Garbage collecting truck drivers are unable to identify all detection of trash level inside the bin. However, the above
the locations of the trash cans leading to overloading of the prototypes do not include the dustbin’s automatic opening
missed garbage bins over a time period. Also, the drivers and closing facility. Rohit et al. (2018) proposed a prototype
lack awareness regarding the shortest path to the garbage that incorporates an automatic opening and closing
bins, increasing fuel consumption and collection time. This function using an IR sensor also the system includes two
problem can be addressed by detecting the waste of the dustbins where the second dustbin is operationalonly after
dustbins and proving the location of the filled dustbins to the first dustbin reaches its maximum limit. Alert systems
the user through a web page also the shortest route can be were also provided (Sreejith et al., 2019; Alsayaydeh et al.,
identified through Dijkstra’salgorithm. 2019; Anilkumar et al., 2019; Sharma & Singh, 2018). An alert
message is raised when the waste level reaches its maximum
Objective
capacity and additional sensors for rain waterdetection was
The objective of this project is to facilitate the automatic also provided (Sreejith et al., 2019).
opening and closing of the garbage bins whenever motion In the paper by Alsayaydeh et al. (2019), the alarm is
within range is detected and also to monitor the level of raised in two stages the first alarm is raised as a warning and
garbage filled in the bins using the ultrasonic sensors and the next indicates that the dustbin is full. Additional sensors
update the status to the web page created, through Internet such as gas sensors for odor detection, Bluetooth module
of Things (IoT) so as to provide awareness regarding the and weight sensors, have also been included (Anilkumar et
waste level in real-time to the garbage truck driver. The al., 2019; Johnson & Shyni, 2019). The smart dustbin identifies
locations of the filled dustbins are also provided to the a human using an IR sensor (Anilkumar et al., 2019). If a
truck drivers through the web page. A simulation depicting human is detected the lid of the dustbin will automatically
the identification of the shortest path to the dustbins open and if the person goes away from the bin the lid of the
using Dijkstra’s algorithm is done using MATLAB. In real- dustbin will closeautomatically using a stepper motor action.
time conditions, the dustbins are connected using Global The proposed wastebin by Johnson & Shyni (2019) is made
Positioning System (GPS) and can be continuously monitored to monitor the level of trash in the bin, the weight of the
using the web page created. Ultrasonic sensors detect the trash collected and the presence of CO2 in the trash. LCD
volume of waste in the dustbins, and those that are overfilled displays are used to provide the current status of waste in
are taken into account when calculating the quickest route. the dustbin. However, no long-range communication alert
Once the filled dustbins are identified, Dijkstra’s algorithm system (Sharma & Singh, 2018).
code is executed to choose the minimum distance path IoT and wireless communication plays a major role
from the current to the nearest node. The dustbins are for smart dustbins. Technologies such as IoT, GSM/GPRS
represented as nodes in the program, the location and the and GPS have been used to achieve real time information
distance between them can be identified using the Global sharing. Simulation tools, mobile applications and cloud
Positioning System. platforms have been utilized to develop the prototype
Project Scope models. Android applications have been developed for
The proposed method is for utilizing the sensorseffectively user interface (Kumar et al., 2017; Anitha et al., 2018; Soh et
to detect human intervention and waste level and provide al., 2019; Kariapper et al., 2019). Arduino have been widely
an effective means of transferring the information to the used as the processing platform (Anitha et al., 2018; Soh et
user through IoT and also offer the shortest path to the al., 2019; Sharma & Singh, 2018) and also ATmega has been
filled garbage bins by implementing Dijkstra’s algorithm, this used processor by Anilkumar et al. (2019) and Kaushik &
system can not only allow the truck driver and officials but Yadav (2017).
also the residents to check for the overflow. Thus, it provides To achieve real-time operations GSM and GPRS have
awareness regarding the level of waste and the frequency been used for location tracking of the dustbins (Kumar et
at which the waste is being collected. al., 2017; Rohit et al., 2018).In a paper by Kariapper et al. (2019),
GPS and the shortest path algorithm are used for tracking
Literature Survey applications. Simulation tools such as Network Simulator 2
Several works have been published for prototype (NS2) was used by Anitha et al. (2018) and Ionic3 was used
development of smart dustbins. The major attributes include for mobile app development by Sharma & Singh (2018).
sensors and methodology adopted, technology used and Ubidots cloud platform has been used for data storage by
algorithms implemented. Soh et al. (2019).
Sensors are vital for receiving the input signals such as In real time scenarios dust bins are distributed widely in
level of waste collected, human movement, and amount various locations in a city hence it becomes difficult for the
of the waste collected. Ultrasonic sensors have been used trash car driver to locate the dustbin. For effective location
414 S Prabhakaran et al. The Scientific Temper. Vol. 14, No. 2
tracking various shortest path algorithms have been used. from the infrared sensor makes the servo motor to open and
Anitha et al. (2018) used the LEACH algorithm for location close the dustbin lid automatically. The level detected by
detection. Dijkstra’s algorithm has been commonly used the ultrasonic sensor is uploaded in the ThingSpeak cloud
(Kariapper et al., 2019; Kaushik & Yadav, 2017; Xiao & Lu, 2010. environment to make the data available anytime, anywhere.
Kariapper et al. (2019) and Kaushik & Yadav (2017) employed The shortest path to find the location of filled dustbin is
Dijkstra’s algorithm for real time tracking of the location calculated using Dijkstra’s algorithm and displayed on the
of the dustbins using GPStracking devices. ThingSpeak homepage. The data could be monitored using
Xiao & Lu (2010) presented a modified Dijkstra’s any smart device.
algorithm for optimal tracking operation. Heuristic
Algorithm
algorithms have been employed to solve the tracking
problem by Johnson & Shyni (2019). Sinha et al. (2015) The nearest pathways between the necessary nodes in
presented a detailed survey of algorithms and provided a graph which could, for instance, represent a network
a comparative analysis. The algorithms presented include of roads are found using Dijkstra’s algorithm. Edger W.
Nearest Neighbour, Genetic algorithm, Ant colony, Integrated Dijkstra, a computer scientist, created it in 1956. The original
NearestNeighbour Algorithm and Genetic Algorithm, Floyd Dijkstra algorithm identified the shortest route between two
Warshall and Dijkstra’s algorithm. specified nodes. The algorithm determines the fastest way
between a source node and every other node in the graph
Proposed Technique for a given source node. By entering the node address in the
The project titled “Smart dustbin using IoT” is implemented application, it can also be used to determine the shortest
to provide a clean environment that involvesfeatures such as routes from one source node to one destination node. The
automatic opening and closing as well as detection of waste illustration of the Dijkstra algorithm is explained through
level in the dustbins. A block diagram is a simple diagram an example. Consider a graph having 5 nodes each with
used to represent a system’s principle parts or functions different costs between the nodes.
by blocks. The blocks are connectedby lines that show the From the graph the adjacency matrix is formed by
relationship between the blocks. In this chapter, the block assuming the distance between the nodes to be infinity and
diagram of the proposed technique is also being discussed. theknown distances to be zero. The previous vector is also
The techniques incorporated include automatically assumed to be zero.
opening and closing the dustbin lids and continuously
Software
detecting waste levels in the dustbin. The level of waste is
recorded in Thing Speak cloud platform and notified when Arduino UNO collects the data from the IR sensor and
the dustbin gets almost filled. The shortest path to find the ultrasonic sensor. The results collected by the Arduino UNO
location of the filled dustbins is calculated using Dijkstra’s are fed to the ThingSpeak cloud along with the dustbin’s
algorithm. location displayed on the ThingSpeak window. Channels
Figure 1 represents the overall block diagram of the can be created to display various results. Here the position
project. The waste which is thrown in the dustbin is denoted of the dustbin i.e., whether the dustbin is closed or not is
as the object to be sensed. The infrared sensor senses the displayed through an indicator.If the dustbin is opened the
movement of humans and automatically opens the dustbin indication on the ThingSpeak window changes to green.
lid. The ultrasonic sensor senses the level of waste thrown The level of the dustbin is displayedon another channel by
in the dustbin continuously. The programs to facilitate displaying some value. Figure 3. shows the results displayed
the working of sensors, servo motor, uploading of data in on the ThingSpeak window.
ThingSpeak cloud, and finding the shortest path are coded The simulation tool used is MATLAB. The simulation
in the Arduino Uno. When a human is detected, the signal is done to find the shortest distance between the filled
dustbins by using Dijkstra’s algorithm assuming there are
Conclusion
When the garbage level reaches its peak, this project’s
construction of a smart trash can using IoT as hardware
ensures that the trash can will be cleaned as soon as possible.
This system employs IR and ultrasonic sensors to detect the
amount of rubbish in the trash can and to automatically close
and open the trash can. Implementing Dijkstra’s algorithm
in simulation helps find the shortest distance among the
filled dustbins. The smart dustbin using IoT system makes
garbage collectionmore efficient, less time consuming and
Figure 7: Human detection reduces fuel consumption for truck drivers. Any of the smart
cities can use this trash can models. The deployment of a
trash collecting and monitoring system for the collection
of waste from the city can be well-directed for collection.
References
Alsayaydeh, J. A. J., Khang, W. A. Y., Indra, W. A., Shkarupylo, V.,
& Jayasundar, J. (2019). Development Of Smart Dustbin By
Using Apps». APRN Journal of Engineering and Applied
Sciences, 14.
Anilkumar, C. S., Suhas, G., & Sushma, S. (2019). A Smart Dustbin
using Mobile Application. International Journal of Innovative
Technology and Exploring Engineering (IJITEE), 8(11),
09-2019. doi:10.35940/ijitee.k2129.0981119
Anitha, P., Amirthaa, S. K., Anusha, M., Kaveinaya, M., Kaveeyavani,
R. S., Abinaya, M., & Indirapriyadharshini, R. (2018, October).
Figure 8: Level indication Smart garbage maintenance system using internet of things.
andclosing of the dust bin. The ultrasonic sensor monitors the In 2018 3rd International Conference on Communication
and Electronics Systems (ICCES) (pp. 1084-1086). IEEE. doi:
wastelevel continuously and uploads it to the ThingSpeak
10.1109/CESYS.2018.8724041.
cloud page. The sensors’ working and data uploading are Johnson, M., & Shyni, C. E. (2019). Smart Garbage Bin With Efficient
done with Arduino UNO on the basis of the code uploaded Routing and Management System. Smart Garbage Bin With
in it and the Wi-Fi module, respectively. The results arealso Effic. Routing Manag. Syst, 14(5), 80-89.
displayed in LCD display. Since all the components used in Kariapper, R. K. A. R., Pirapuraj, P., Razeeth, M. S. S., Nafrees, A. C. M.,
this setup are of 5V rating, a step-down transformer is utilized & Rameez, K. L. M. (2019, December). Smart garbage collection
to supply the power. The power supply board consists of using GPS & shortest path algorithm. 2019 IEEE Pune Section
International Conference (PuneCon). Presented at the 2019
capacitors and regulators that rectify the ripplesand provide
IEEE Pune Section International Conference (PuneCon), Pune,
a steady 5V DC. A separate battery is provided to supply India. doi:10.1109/punecon46936.2019.9105674
the servo motors to reduce the complexity of connections. Kaushik, D., & Yadav, S. (2017). Multipurpose Street Smart Garbage
When the supply is given, the 230V AC supply is stepped bin based on Iot. International Journal of Advanced Research
down to 5V to give supply to the Arduino board. A servo in Computer Science, 8(3).
417 Smart Dustbin using IOT
Kumar, S. V., Kumaran, T. S., Kumar, A. K., & Mathapati, M. (2017, Soh, Z. H. C., Husa, M. A. A. H., Abdullah, S. A. C., & Shafie, M. A.
August). Smart garbage monitoring and clearance system (2019, April). Smart waste collection monitoring and alert
using internet of things. In 2017 IEEE international conference system via IoT. In 2019 IEEE 9th symposium on computer
on smart technologies and management for computing, applications & industrial electronics (ISCAIE) (pp. 50-54). IEEE.
communication, controls, energy and materials (ICSTM) (pp. doi: 10.1109/ISCAIE.2019.8743746.
184-189). IEEE. Sreejith, S., Ramya, R., Roja, R., & Kumar, A. S. (2019, March). Smart
Patel, D., Kulkarni, A., Udar, H., & Sharma, S. (2019). Smart Dustbins bin for waste management system. In 2019 5th International
for Smart Cities. International Journal of Trend in Scientific Conference on Advanced Computing & Communication
Research and Development, 3, 1828-1831. Systems (ICACCS) (pp. 1079-1082). IEEE. doi: 10.1109/
Rohit, G. S., Chandra, M. B., Saha, S., & Das, D. (2018, April). Smart dual ICACCS.2019.8728531.
dustbin model for waste management in smart cities. In 2018 Wijaya, A. S., Zainuddin, Z., & Niswar, M. (2017, August). Design a
3rd International Conference for Convergence in Technology smart waste bin for smart waste management. In 2017 5th
(I2CT) (pp. 1-5). IEEE. doi: 10.1109/I2CT.2018.8529600. International Conference on Instrumentation, Control, and
Sharma, S., & Singh, S. (2018). Smart dustbin management system. Automation (ICA) (pp. 62-66). IEEE.
International Journal of Engineering Sciences and Research Xiao, J. X., & Lu, F. L. (2010, February). An improvement of the
Technology (IJESRT), 7(5), 169-175. shortest path algorithm based on Dijkstra algorithm. In
Sinha, T., Kumar, K. M., & Saisharan, P. (2015). Smart dustbin. 2010 The 2nd International Conference on Computer and
International Journal of Industrial Electronics and Electrical Automation Engineering (ICCAE) (Vol. 2, pp. 383-385). IEEE.
Engineering, 3(5), 101-104. doi:10.1109/iccae.2010.5451564