Fundamentals of Iot: A Project Report Submitted in Partial Fulfilment of Requirement For The Course On
Fundamentals of Iot: A Project Report Submitted in Partial Fulfilment of Requirement For The Course On
On
Fundamentals of IoT
By
V.GAYATHRI (2003A51081)
A .ROHITH (2003A51109)
N. MEGHANA (2003A51133)
By
V.GAYATHRI (2003A51081)
A .ROHITH (2003A51109)
N. MEGHANA (2003A51133)
CERTIFICATE
Asst. Prof.
Department of ECE
iii
Abstract
Now a days, the major problem which leads to the drastic change in nature is
pollution. There are many reasons to pollution such as release of harmful gases to the
atmosphere, deforestation etc. They are many types of wastes such as biomedical, e
waste etc. Each waste shows its great impact on atmosphere and leads to damage of
human organs. As we know any experiment in this world leads to some kind of
generation of waste. It is our main duty to clean the waste in time to time. It is much
important to clean up the waste in order to protect our livelihood. Generally
household waste is the most common form of waste which we observe, it leads to
pungent smell which is not at all tolerable by humans which causes disharmony in
nature.
In order to dump the wastes, many waste management techniques were introduced.
This project explains one of the efficient waste management technique by using latest
technology IoT. It leads to the clean and healthy environment. The main idea of the
project is, if the waste is filled up to the marked level in dust bins ,then it alerts the
user by giving an indication in the form of message or a buzzer. This project is a safe
based on low cost equipment. This project can be implemented mainly in open areas
like our localities. This is the best solution to collection of uncollected waste materials.
In the present project, an attempt is made to develop and explain the use of Internet
of Things (IoT) in collection of waste from dust bins and cleaning it in a safe and
secured manner.
iv
CONTENTS
1 Introduction 6
2 System Description 7
4 Implementation 12
5 Results 15
6 Conclusion 16
7 References 16
v
1.INTRODUCTION
The Internet of things concept motivates us to link up the typical
day-to-day life gadgets with one another connected over the web. The
gadgets which are linked through IOT idea can be controlled and
monitored from a distance(i.e in mobile apps etc). The IOT idea gives the
fundamental idea and best ways to form an association between the
physical world and digital world(PC based frameworks.) The idea has
been acquiring significance with an ever increasing number of remote
gadgets that are expanding quickly on the lookout. It interfaces the
equipment gadgets with one another over the web.
6
2.SYSTEM DESCRIPTION
In the project model , the user gets a initial idea of fulfilment of the dustbin level , so that he
can clean it from time to time. The main idea of designing this project is stopping the
overflow of waste materials from dust bins.
Overflow of wastes from dust bins causes huge chance of spoiling the
minerals and quality of resources of ground which they underlie. In
addition to the assumed project/ system, in order to make it more
creative, an alert message is designed to the user, when the dust bin is
filled up to the desired level then automatically, a constant alert message will pop up in your
mobile
The main components which is used in order to design an IOT based
smart waste collection monitoring and alert system are ultrasonic sensor , esp-32 which is a
integrated wi-fi and Bluetooth module which is connected further to an IOT based app
called Blynk.
The following figure shows the connections of the project:
7
BLOCK DIAGRAM
8
3.HARDWARE & SOFTWARE TOOLS
ESP-32
Esp-32 is an integrated Bluetooth and Wi-Fi module which is used
to connect an hardware device to the internet.
It is a low cost integrated based microcontroller.
It is next generation ( Node MCU) of ESP-8266.
It consists of total 39 number of digital pins , out of these 34 can be
used as GPIO’s.
These GPIO’s ( general purpose input and output registers) which
can be used for both analogue and digital input and output pins,
out of these GPIO’s some of them has no Functionality.
Remaining 5 pins are only input pins.
It consists of 18 channels of 12-bit Analog to digital converters and
2 channels of 8-bit Digital to Analog converters.
Esp-32 uses 16 channels of total channels in order to generate PWM
( Pulse width modulated signals) signal generation.
In our working model we use two ground pins , one input ( i.e
connected to trigger pin) and one GPIO pin (connected to echo pin
of ultrasonic sensor).
Ultrasonic Sensor
Ultrasonic sensor is a type of sensor which is used to measure the
distance of the objects.
As the name follows, It operates and calculates the distance of
objects by using ultrasonic waves.
It measures the distance by emitting the ultrasonic wave and
9
waiting for to return back.
It consists of two modules namely, transmitter module and receiver
module.
Transmitter module emits the ultrasonic wave, it calculates the time
taken by the ultrasonic wave to reach back to the receiver module
of the ultrasonic sensor.
It consists of 4 pins namely Vcc, Trigger pin, Echo pin and Ground
pins respectively.
+5V is the required voltage in order to start the ultrasonic sensor.
Trigger pin is the input pin of ultrasonic sensor , it triggers the
function(starts) of the ultrasonic sensor by starting the emitting of
the ultrasonic waves.
Echo pin acts as the output pin of the ultrasonic sensor , it converts
the time taken by the wave to distance.
Vcc and ground pins are connected to respective pins of the esp-32
which are general connections in order to establish a secure one
10
Connecting wires
11
4.IMPLEMENTATION
13
SOFTWARE IMPLEMENTATION
Algorithm:
• Initially in the code the assembler directives which are used to
linkup the Blynk app in Arduino.
• Next step defines the common Wi-fi directives which are should be
used in the program in order to connect the internet over the
hardware components.
• Pins of ultrasonic sensor, and its connections to the Esp-32 are
defined.
• Wi-fi name and password are mentioned, which results the
connection of the device to the internet.
• Auth token of the Blynk app is to be mentioned , in order to link the
virtual pin based app.
• The duration of trigger and echo pin are to be mentioned, which
starts the triggering of the ultrasonic sensor .
• Sensor converts the time duration of echo pin (i.e period of high) to
the distance using the basic physics formula.
• After placing the sensor on top of bin, if the bin is filled above the
desired level , then the notification is created and it is sent to the
user with immediate effect.
• In the project desired level is marked as 10cm, but we can vary it by
changing the value
• Loop function is created in order to start the functionality or
running of the app simultaneously with the functioning of sensor.
• We can observe and note down the points of the functionality of the
sensor
14
5.RESULT
The following pictures shows the final result of the project , the message
to be send to the user by Blynk app.
15
6.CONCLUSION
A Smart waste monitoring and alert system using Esp-32 and Ultrasonic
sensor is designed which alerts the user by sending an alert message. This
project is an solid example of IOT Technology can be easily implemented
into our day-to-day life activities. The present waste management
technique used by the municipal workers, it is not up to mark the level ,
since they are also humans. Hence an attempt is made by using the
technology of IOT which resembles how human can efficiently use his
intelligence to solve the common problems of society. Hence an attempt
of Smart waste monitoring and alert system , which provides better
results. There is Another important advantage of the design is it reduces
the consumption of the fossil fuels like petrol, diesel because frequent up
down of the waste collection vehicles get reduced.
7.REFERENCES
W. Chen, Y. Wang, P. Huang, Y. Huang and M. Tsai, "A Smart IoT
System for Waste Management," 2018 1st International Cognitive
Cities Conference (IC3), Okinawa, 2018, pp. 202-203.
G. K. Shyam, S. S. Manvi and P. Bharti, "Smart waste management
using Internet-of-Things (IoT)," 2017 2nd International Conference
on Computing and Communications Technologies (ICCCT),
Chennai, India, 2017, pp. 199-203.
S. S. Chaudhari and V. Y. Bhole, "Solid Waste Collection as a Service
using IoT-Solution for Smart Cities," 2018 International Conference
on Smart City and Emerging Technology (ICSCET), Mumbai, 2018,
pp. 1-5.
M. Adam, M. E. Okasha, O. M. Tawfeeq, M. A. Margan and B.
Nasreldeen, "Waste Management System Using IoT," 2018
International Conference on Computer, Control, Electrical, and
Electronics Engineering (ICCCEEE), Khartoum, 2018, pp. 1-4
R. N. Subrahmanian, S. K. S, T. Suvidharbabu, and B. Manikandan,
“Smart Bin using IoT with Fog Computing,” International Journal
of Emerging Technology in Computer Science & Electronics vol. 24,
no. 6, pp. 13–16, 2017.
16
17