Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak...

6
Smart Dustbin Using NodeMCU Ms. Kalyani S.Ghuge #1 , Mrs. Sangita M.Jaybhaye *2 Mrs.Bharati.P.Vasgi *3 # Department of Information Technology [email protected] [email protected] [email protected] AbstractA major challenge in the urban towns is waste management, as the pace of the urbanization is growing rapidly hence it is essential to have supportable development plans. Smart cities success cannot be done without a smart waste management system. A scheme requires being in place that provides previous data about bin filling that alerts the municipality to clean the bin on time and protect the environment. To prevent dustbin overflow, the intention is to suggest a solution to this "Smart Garbage Bin" issue, which alerts and informs the authorized person when the garbage bin is about to be filled. The message will then be sent to the individual approved to retrieve the trash from the region assigned to the garbage collector. This system will help in keeping the environment hygiene and clean with the help of reduction in garbage bin overflow. Keywordswaste Management, smart Garbage Bin, garbage collector, smart cities I. INTRODUCTION Internet of Things (IOT) built embedded system is the technology where an integrated developer connects various embedded devices to the internet. IOT for embedded system includes of multiple things like collect large amount of data and analyze it from different perception and brief them in useful data to improve the way devices and services are used today and making way for the embedded device smarter than before. Architecture, which suits for real-time operation, is needed by smart embedded systems. With billions of gadgets expected to take part in the coming years, experts expect IOT to have a significant impact on device design [8]. In todays age as the population is increasing day by day, in many towns, unhygienic environment resulted due to the overflowed bins which further increases different types of unknown illnesses and degrades the standard of living. One of the main issue in the urban cities is waste management, implementation of the smart dustbin is therefore major requirement for eliminating this problem or at least bring this issue to minimum point [5]. Recently program of the implementation of 100 smart cities in India is announced by our Prime Minister Sri Narendra Modi, also Swachh Bharat Abhiyanis one of the key initiative which is helping to guarantee clean and healthy environment. The paper aims to, propose a model for smart garbage system based on IOT for urban areas acts as one of the innovative systems to keep the cities clean. The system monitors the dustbins in different locations and updates the status of each dustbin on a server. For this, the system uses ultrasonic sensor placed over the bins to detect the garbage level, selected the espresso chip for this purpose which is a node MCU ESP8266 platform, Global system for mobile communication to send a message to the garbage collector. Besides, the shortest path to reach the dustbin will be given via link. II. LITERATURE SURVEY Many times it happens that Municipal Corporation employees shows irregularity for dustbin inspection of the different localities as they have to do too much efforts for the same. Therefore, IoT built embedded devices technology is used for reduction in their manual efforts which introduces smart garbage collection systems[4]. Kumar, N. Sathish [1], this paper embraces implementation of smart garbage system with the help of microcontroller, IR sensor and RFIC. Only alerts provided by this system as and when maximum level of the garbage reached in dustbin. In addition, it may be possible to adopt the other required remedial/alternate measures. An Android application is created and connected to a web server the alerts at the urban office from the microcontroller that subsequently executes the cleaning process remote monitoring, thereby reducing the manual intervention for monitoring and verification. Android application is notified of the alerts with the help of Wi-Fi module. Yang Lv Yu Tian [2] propose the new architecture is suggested with the objective of on-site management and waste management process optimization. A remote monitoring system has been introduced and with the help of web browser the opportunity id provided to the user to interact with the system. Every single sensor node performs data acquisition and transfer in such architecture. The data obtained JASC: Journal of Applied Science and Computations Volume VI, Issue VI, JUNE/2019 ISSN NO: 1076-5131 Page No:1875

Transcript of Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak...

Page 1: Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak ing smart dustbin mobile application that helps garbage collector to collect garbage

Smart Dustbin Using NodeMCU

Ms. Kalyani S.Ghuge#1

, Mrs. Sangita M.Jaybhaye*2

Mrs.Bharati.P.Vasgi*3

#Department of Information Technology

[email protected]

[email protected]

[email protected]

Abstract— A major challenge in the urban towns is waste management, as the pace of the urbanization is growing rapidly hence it is

essential to have supportable development plans. Smart cities success cannot be done without a smart waste management system. A

scheme requires being in place that provides previous data about bin filling that alerts the municipality to clean the bin on time and

protect the environment. To prevent dustbin overflow, the intention is to suggest a solution to this "Smart Garbage Bin" issue, which

alerts and informs the authorized person when the garbage bin is about to be filled. The message will then be sent to the individual

approved to retrieve the trash from the region assigned to the garbage collector. This system will help in keeping the environment

hygiene and clean with the help of reduction in garbage bin overflow.

Keywords— waste Management, smart Garbage Bin, garbage collector, smart cities

I. INTRODUCTION

Internet of Things (IOT) built embedded system is the technology where an integrated developer connects various embedded

devices to the internet. IOT for embedded system includes of multiple things like collect large amount of data and analyze it

from different perception and brief them in useful data to improve the way devices and services are used today and making way

for the embedded device smarter than before. Architecture, which suits for real-time operation, is needed by smart embedded

systems. With billions of gadgets expected to take part in the coming years, experts expect IOT to have a significant impact on

device design [8].

In today’s age as the population is increasing day by day, in many towns, unhygienic environment resulted due to the

overflowed bins which further increases different types of unknown illnesses and degrades the standard of living. One of the

main issue in the urban cities is waste management, implementation of the smart dustbin is therefore major requirement for

eliminating this problem or at least bring this issue to minimum point [5]. Recently program of the implementation of 100 smart

cities in India is announced by our Prime Minister Sri Narendra Modi, also “Swachh Bharat Abhiyan” is one of the key

initiative which is helping to guarantee clean and healthy environment.

The paper aims to, propose a model for smart garbage system based on IOT for urban areas acts as one of the innovative

systems to keep the cities clean. The system monitors the dustbins in different locations and updates the status of each dustbin

on a server. For this, the system uses ultrasonic sensor placed over the bins to detect the garbage level, selected the espresso

chip for this purpose which is a node MCU ESP8266 platform, Global system for mobile communication to send a message to

the garbage collector. Besides, the shortest path to reach the dustbin will be given via link.

II. LITERATURE SURVEY

Many times it happens that Municipal Corporation employees shows irregularity for dustbin inspection of the different localities

as they have to do too much efforts for the same. Therefore, IoT built embedded devices technology is used for reduction in

their manual efforts which introduces smart garbage collection systems[4].

Kumar, N. Sathish [1], this paper embraces implementation of smart garbage system with the help of microcontroller, IR sensor

and RFIC. Only alerts provided by this system as and when maximum level of the garbage reached in dustbin. In addition, it

may be possible to adopt the other required remedial/alternate measures. An Android application is created and connected to a

web server the alerts at the urban office from the microcontroller that subsequently executes the cleaning process remote

monitoring, thereby reducing the manual intervention for monitoring and verification. Android application is notified of the

alerts with the help of Wi-Fi module.

Yang Lv Yu Tian [2] propose the new architecture is suggested with the objective of on-site management and waste

management process optimization. A remote monitoring system has been introduced and with the help of web browser the

opportunity id provided to the user to interact with the system. Every single sensor node performs data acquisition and transfer

in such architecture. The data obtained

JASC: Journal of Applied Science and Computations

Volume VI, Issue VI, JUNE/2019

ISSN NO: 1076-5131

Page No:1875

Page 2: Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak ing smart dustbin mobile application that helps garbage collector to collect garbage

Monika K A [7], researcher describe the Arduino’s use as the source of power selected automatically. External (non-USB)

energy can be drawn from either battery or an ADC adapter. Leads from a battery are linked in the POWER connectors of Vin

and GND pin headers. With the external supply of 5-20 volt board can work. These characteristics make the job easier is sent to

supervisory system, which helps the user in getting solution to decision problems, such as resources organization (people, trucks

and specific machinery) optimization, with the key task to accomplish cost optimization.

III. EXISTING SYSTEM

As time consumes, trucks go and empty the containers, and even they are empty, the current scheme has the constraints. With

an unhygienic environment, the costs are high. Even the poor smell leads the environment to be unhealthy.

A. Limitation of System

1) Time Consuming.

2) No alert when the bin gets full.

3) There is no record for working of garbage collectors.

4) Fuel consumption is more

IV. PROPOSED SYSTEM

Proposed model talks about how to make use of the recent advancements in technology to make our place clean and tidy.

The basic idea behind project is to implement the handling of the garbage in a smart way. The proposed idea of using the

IOT protocol for transmitting the dustbin status by using wireless mode. Selected the espresso chip for this purpose, which is

a node MCU ESP8266 platform. ultrasonic sensor used for detection of garbage Fig 1. Shows the architecture of the system.

The aim of the system is to improve the garbage collection methods by making smart dustbin mobile application that helps

garbage collector to collect garbage optimally. Following are the objective of the system:

1) To Make Dustbin smart using sensor Network.

2) To detect the Garbage level of each dustbin in city

3) To collect that Garbage Optimally

4) Make city clean and health.

Conceptual model of system, which defines the structure, behavior, and more views of a system. 1) NodeMCU: The development board of NodeMCU is a strong solution for programming microcontrollers and being

part of the Things Internet (IoT). Based on ESP8266EX, the NodeMCU development board is a nice module with a

microcontroller, built-in Wi-Fi receiver, and transmitter. NodeMCU supports multiple programming languages,

making it simple to upload programs from any desktop via a micro-USB port.

2) Ultrasonic sensor: This is four pin sensor used to measure the distance of the system with any obstacle. VCC pin is

connected with +5V power supply, GND is to be with ground pin [3].

3) Blynk Server: server is used for all the communications between the smartphone and hardware. 400+ hardware

models like Arduino, ESP8266, ESP32 can be connected to this Blynk server.

4) ESP 8266(Wi-fi module):The ESP8266 WiFi Module is integrated with TCP/IP protocol through which

microcontroller access to the WiFi network. The ESP8266 is used for hosting an application or offloading all Wi-Fi

networking functions from another application processor[6].

5) Blynk App: This app have login to All the Users. Collector, Technician, Admin so they can easily interact with the

system.

A. Assumptions and Dependencies

1) The system assumes ultrasonic sensor and node-mcu being placed on top of each dustbin.

2) The Dustbin should be place at location where internet connection is available

The existing system has the limitations as time consuming, trucks go and empty the containers, and even they are empty. The

cost is high with unhygienic environment. Even the bad odors cause the unhealthy environment. So, proposed model talks about

how to make use of the recent advancements in technology to make our place clean and tidy. Following is a conceptual model

of system, which defines the structure, behavior, and more views of a system.

JASC: Journal of Applied Science and Computations

Volume VI, Issue VI, JUNE/2019

ISSN NO: 1076-5131

Page No:1876

Page 3: Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak ing smart dustbin mobile application that helps garbage collector to collect garbage

Fig. 1 Architecture of Proposed System

B. Software Requirements:

1) Arduino IDE

2) Think Speak: It enables live streams of the data in the cloud to be aggregated, visualized and analysed. Some

of the Thing Speak’s main capabilities includes below abilities:

a) Simply configure devices for sending data to Thing Speak with the help of standard IoT

protocols.

b) Real time visualization of your sensor data.

c) On demand aggregation of data from third party sources.

d) Use MATLAB’s power to make your IoT data meaningful.

e) Automatically run your IoT analytics on the basis of schedules or events.

f) Prototype and construct IoT system without server setup or software development.

C. Hardware Requirements:

• NodeMUC

• Ultrasonic sensors • Jump Wires • Power Supply Fig 2. shows the flow of the system where the sensor detects the level of the dustbin and it check whether dustbin is full or not.

Some threshold value is decided for that if the dustbin is reach that threshold value it send the location to bin collector. Bin

collector collect the Garbage and update the status. The status of the bin continusoly reflect on the cloud server.

Fig.2 Flow of the system

D. Level and Fault Detection Code

NewPing pp1(TRIGGER_PIN2, ECHO_PIN2, MAX_DISTANCE2); // NewPing setup of pins and maximum distance.

NewPing pp2(TRIGGER_PIN2, ECHO_PIN2, MAX_DISTANCE2); // NewPing setup of pins and maximum distance.

int dust1 = 0;

JASC: Journal of Applied Science and Computations

Volume VI, Issue VI, JUNE/2019

ISSN NO: 1076-5131

Page No:1877

Page 4: Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak ing smart dustbin mobile application that helps garbage collector to collect garbage

int dust2 = 0;

void setup()

{

Serial.begin(115200); //Recommended speed is 115200

connectWifi();

}

void loop()

{

delay(50); // Wait 50ms between pings (about 20 pings/sec). 29ms should be the shortest delay between pings.

int data1 = sonar1.ping_cm() ;

Serial.print("Ping1: ");

Serial.print(data1); // Send ping, get distance in cm and print result (0 = outside set distance range)

Serial.println("cm");

int data2 = sonar2.ping_cm() ;

Serial.print("Ping2: ");

Serial.print(data2); // Send ping, get distance in cm and print result (0 = outside set distance range)

Serial.println("cm");

if(data1 == 0){

dust1 = 1;

}else{

dust1 = 0;

}

if(data2 == 0){

dust2 = 1;

}else{

dust2 = 0;

}

sendHeight(data1,data2,dust1,dust2);

}

E. Advantages of the System

Optimal Garbage collection.

Recycling and disposal of waste get Faster

Daily Collection data can use of feature improvement in the System

It will reduce the unhygienic this in society.

Waste-based reproduction of the system can be done

V. USER INTERFACE

Fig 3. shows the interface where user can see the real time status of the dustbin and timing chart which show the

working condition of the dustbin if line=1 the bin is working properly and if line=0 then server not receiving the signal from

the dustbin and the respected issue transfer to the technician for the maintenance by admin. also it show the latitude and the

longitude of each dustbin so user can simply access the location by copying the information on Google map.

Fig.3 Dustbin Status

JASC: Journal of Applied Science and Computations

Volume VI, Issue VI, JUNE/2019

ISSN NO: 1076-5131

Page No:1878

Page 5: Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak ing smart dustbin mobile application that helps garbage collector to collect garbage

VI. RESULT ANALYSIS

Fig 4. Shows the prototype Model which used two sensors by assuming that they are collecting level of two dustbins.

Fig.4. Prototype Model of System

Fig 5. shows the level of each dustbin with their Location by using latitude and longitude. It will show the whether the bin is

full or not. If there is any fault in sensor it will update the status of sensor.

Fig.3 Working Status of Dustbin

It is also possible to check whether the dustbin is working properly or not. Above two graph shows working of two dustbins.

For level 0 dustbin is working properly and for level 1 dustbin is not working properly. Using thing speak also create excel file

which contain all the historical data about dustbin previous status. This helps admin to analyses the frequency of Garbage

production in certain areas.

VII. CONCLUSION

The main objective is to maintain the level of cleanliness in the city and form an environment which is better for living. By

using this system, constantly check the level of the garbage in the dustbins which are placed in various parts of the city. If a

particular dustbin has reached the maximum level, then the employees can be informed and they can immediately take certain

actions to empty it as soon as possible. The employees can check the status of these bins anytime on their mobile phones. This

can prove to be a very useful system if used properly. The system can be used as a benchmark by the people who are willing to

take one step further for increasing the cleanliness in their respected areas

JASC: Journal of Applied Science and Computations

Volume VI, Issue VI, JUNE/2019

ISSN NO: 1076-5131

Page No:1879

Page 6: Smart Dustbin Using NodeMCUThe aim of the system is to improve the garbage collection methods by mak ing smart dustbin mobile application that helps garbage collector to collect garbage

REFERENCES

[1] Kumar, N. Sathish, B. Vuayalakshmi, R. Jenifer Prarthana, and A. Shankar. "IOT based smart garbage alert system using Arduino UNO." In 2016 IEEE

Region 10 Conference (TENCON), pp. 1028-1034. IEEE, 2016.

[2].Yang Lv Yu Tian, “Design and application of sink node for Wireless Sensor Network” ,School of Automation Engineering University of Electronic

Science and Technology of China Chengdu, China 978-1-4244-8217-7110 ©201O IEEE

[3]. Longhi, Sauro, Davide Marzioni, Emanuele Alidori, Gianluca Di Buo, Mario Prist, Massimo Grisostomi, and Matteo Pirro, "Solid waste management

architecture using wireless sensor network technology." In 2012 5th International Conference on New Technologies, Mobility and Security (NTMS), pp. 1-5.

IEEE, 2012

[4]. K. Alice Mary, Perreddy Monica, A.Apsurrunisa, Chathala Sreekanth, G. PavanKumar, “IOT based garbage monitoring system”, EEE Department,

Gudlavalleru Engineering College, Krishna District, AP, India. International Journal of Scientific & Engineering Research, Volume 8, Issue 4, April-2017 ISSN

2229-5518

[5]. Anitha , “Garbage monitoring system using IoT”, A School of Information Technology and Engineering, VIT University, Vellore-632014, Tamil Nadu,

India, doi:10.1088/1757-899X/263/4/042027

[6]. P. D. Minns:"Wireless dust bin monitoring and alert system using arduino: C Programming For the PC the MAC and the Arduino Microcontroller System”,

Author House, 2013.

[7]. Monika K A, Rao N, Prapulla S B, Shobha G, “Smart Dustbin-An Efficient Garbage Monitoring System”, International Journal of Engineering Science

and Computing 6 7113-16, 2016

[8].Reddy, P. Siva Nagendra, R. Naresh Naik, A. Amareshwar Kumar, and S. Nanda Kishor. "Wireless dust bin monitoring and alert system using Arduino." In

2017 Second International Conference on Electrical, Computer and Communication Technologies (ICECCT), pp. 1-5. IEEE, 2017.

JASC: Journal of Applied Science and Computations

Volume VI, Issue VI, JUNE/2019

ISSN NO: 1076-5131

Page No:1880