This is a project report on Smart Dustbin Using IOT Prepared By Lakshya Pandey, Second Year Electrical Engineering Student of Bipin Tripathi Kumaon Institute of Technology (BTKIT), Dwarahat
All Rights Reserved.
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Project Report on Smart Dustbin
1. 1 | P a g e
PROJECT REPORT
on
Smart Dustbin
Submitted in partial fulfillment of requirements for the degree of
Bachelor of Technology (B. Tech)
in
Electrical Engineering
Submitted by:
Lakshya Pandey
College ID:
190180105014
Submitted To:
MR. MAYUR DEV SEWAK
General Manager, Operations
Eisystems Services
&
MR. KRISHNAMOHAN PANDEY
Trainer, ICT Domain, Logicpro Infosystems
Eisystems Services
2. 2 | P a g e
4. Methods/Approaches 12
5. Configuration 13-16
5.1 Forward Movement 13
5.2 Reverse Movement 13
5.3 Left Movement 14
5.4 Right Movement 14
5.5 Circuit Design of the Relay Board 15
5.6 Connecting the relay board with the GPIO pins of Raspberry Pi 16
6. Program for UI 17
7. Conclusion and Future Work 18
*Bibliography 19
CONTENTS
List of Figures
Abstract
3
4
1. Introduction 5
2. Literature Review 6
3. Components 7-11
3.1. Raspberry Pi 7
3.2. Relay Board 8
3.3. DC Motor 8
3.4. Female to female wires 9
3.5. LED Strip Light 9
3.6. Power Bank 10
3.7. Dustbin 10
3. 3 | P a g e
LIST OF FIGURES
Figures Page Number
3.1 Raspberry Pi 7
3.2 Relay Board 8
3.3 DC Motor 9
3.4 Female to female wire 9
3.5 LED Strip Light 10
3.6 Power Bank 10
3.7 Dustbin 11
5.1 Forward Movement 13
5.2 Reverse Movement 13
5.3 Left Movement 14
5.4 Right Movement 14
5.5 Circuit Design of Relay Board 15
5.6 GPIO pins of Raspberry Pi 16
5.7 Code in PHP for UI 17
4. 4 | P a g e
ABSTRACT
As people are getting smarter so are the things. While the thought comes up for
Smart cities there is a requirement for Smart waste management. The idea of Smart
Dustbin is for the Smart buildings, Colleges, Hospitals, office, class room, etc. The
Smart Dustbin thus thought is an improvement of normal dustbin by elevating it to
be smart using logics. Smart dustbins is a new idea of implementation which
makes a normal dustbin smart using motor, wheel, motor driver, and controlling
these using modem. As soon as the dustbin is used after that we remotely send it
back to its position or without touching the bin we send back to its position.
5. 5 | P a g e
Chapter 1
Introduction
The Internet of Things, also called The Internet of Objects, refers to a wireless network
between objects. Usually the network will be wireless and self- configuring, such as household
appliances. Internet of Things refers to the concept that the Internet is no longer just a global
network for people to communicate with one another using computers, but it is also a platform
for devices to communicate electronically with the world around them.
The Internet of Things (IOT) is the network of physical objects—devices, vehicles,
buildings and other items which are embedded with electronics, software, sensors, and network
connectivity, which enables these objects to collect and exchange data. The Internet of Things
allows objects to be sensed and controlled remotely across existing network infrastructure,
creating opportunities for more direct integration of the physical world into computer-based
systems, and resulting in improved efficiency, accuracy and economic benefit.
Dustbin is an important equipment; it helps to keep our neighborhood clean. It is very
important equipment in a company or big supermarkets because they have a garbage disposal
system. Garbage disposal system are important in order to secure their garbage waste orderly.
Although an intrinsic part of our everyday routine, the dustbin's role as a mediator of
changing waste particles has rarely been considered. As dustbin become reconfigured as
environmental technologies for contemporary recycling programs, it is argued that they provide
a revealing indicator of new waste relationships in society.
In this report I will explain and discuss about the component that are used for the Smart
Dustbin Project. In this project we use Relay Board, Raspberry pi and dc motor. This project
is done to try to simplify the garbage management system.
6. 6 | P a g e
2.1 Internet of Things:
Chapter 2
Literature Review
( INTERNATIONAL JOURNAL OF COMMUNICATION SYSTEMS )
by Feng Xia, Laurence T. Yang, Lizhe Wang, Alexey Vinel
We are witnessing the dawn of a new era of Internet of Things (IoT; also known as Internet of
Objects). Generally speaking, IoT refers to the networked interconnection of everyday objects,
which are often equipped with ubiquitous intelligence. IoT will increase the ubiquity of the
Internet by integrating every object for interaction via embedded systems, which leads to a
highly distributed network of devices communicating with human beings as well as other
devices. Thanks to rapid advances in underlying technologies, IoT is opening tremendous
opportunities for a large number of novel applications that promise to improve the quality of
our lives. In recent years, IoT has gained much attention from researchers and practitioners
from around the world.
2.2 IoT Based Smart Garbage and Waste Collection Bin:
by S.S.Navghane, M.S.Killedar, Dr.V.M.Rohokale.
Many times, in our city we see that the garbage bins or dustbins placed at public places are
overloaded. It creates unhygienic conditions for people as well as ugliness to that place leaving
bad smell. To avoid all such situations we are going to implement a project called IoT Based
Smart Garbage and Waste Collection bins.
These dustbins are interfaced with microcontroller based system having IR wireless systems
along with central system showing current status of garbage, on mobile web browser with html
page by Wi-Fi. Hence the status will be updated on to the html page. Major part of our project
depends upon the working of the Wi-Fi module; essential for its implementation. The main aim
of this project is to reduce human resources and efforts along with the enhancement of asmart
city vision.
2.3 The Internet of Things
(Springer Link)
by Xiaoyi Cui
Holiday season marketing (Elliott, 2014; Manjoo, 2014), as well as trend-setting product
showcases like the International Consumer Electronics Show (Palmer, 2015), demonstrate the
escalating trend of gadgets that talk to each other, learn from each other, even control each
other (Rose, 2014).
7. 7 | P a g e
Chapter 3
Components
The smart bin generally we are not like to carry the dust with us and throw it into a dustbin
so for this will be used if we have a dust or any waste with us we can make the dustbin come
to us and it will take the dust or waste from us and can send it into its place.
To make a dustbin into a smart bin the components we need is:
1. Raspberry Pi:
2. Relay Circuit
3. DC Motors (2)
4. Female to female wires
5. LED Strip Light
6. Power Bank (for power supply)
7. Dustbin
3.1. Raspberry Pi:
The Raspberry Pi is a series of small single-board computers developed in the United Kingdom
by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools
and in developing countries. The original model became far more popular than anticipated,
selling outside of its target market for uses such as robotics. Peripherals (including keyboards,
mice and cases) are not included with the Raspberry Pi. Some accessories however have been
included in several official and unofficial bundles.
According to the Raspberry Pi Foundation, over 5 million Raspberry Pis have been sold before
February 2015, making it the best-selling British computer. By November 2016 they had sold
11 million units, reaching 12.5m in March 2017, making it the third best-selling "general
purpose computer" ever. In July 2017 it was announced that the total sales have now reached
nearly 15 million units.
They are made in a Sony factory in Pencoed, Wales.
Fig. 3.1 Rasberry Pi
8. 8 | P a g e
3.2. Relay Board:
Relays are electromechanical devices that use an electromagnet to operate a pair of movable
contacts from an open position to a closed position. The advantage of relays is that it takes a
relatively small amount of power to operate the relay coil, but the relay itself can be used to
control motors, heaters, lamps or AC circuits which themselves can draw a lot more electrical
power.
The electro-mechanical relay is an output device (actuator) which come in a whole host of
shapes, sizes and designs, and have many uses and applications in electronic circuits. But while
electrical relays can be used to allow low power electronic or computer type circuits to switch
relatively high currents or voltages both “ON” or “OFF”, some form of relay switch circuit is
required to control it.
The design and types of relay switching circuits is huge, but many small electronic projects use
transistors and MOSFETs as their main switching device as the transistor can provide fast DC
switching (ON-OFF) control of the relay coil from a variety of input sources so here is a small
collection of some of the more common ways of switching relays.
Fig. 3.2 Relay Board
DC Motor:
A DC motor is any of a class of rotary electrical machines that converts direct current electrical
energy into mechanical energy. The most common types rely on the forces produced by
magnetic fields. Nearly all types of DC motors have some internal mechanism, either
electromechanical or electronic, to periodically change the direction of current flow in part of
the motor.
DC motors were the first type widely used, since they could be powered from existing direct-
current lighting power distribution systems. A DC motor's speed can be controlled over a wide
range, using either a variable supply voltage or by changing the strength of current in its
9. 9 | P a g e
field windings. Small DC motors are used in tools, toys, and appliances. The universal motor
can operate on direct current but is a lightweight motor used for portable power tools and
appliances. Larger DC motors are used in propulsion of electric vehicles, elevator and hoists,
or in drives for steel rolling mills. The advent of power electronics has made replacement of
DC motors with AC motors possible in many applications.
Fig. 3.3 DC Motor
3.4. Female to female wires:
Female to female wire is an electrical wire or group of them in a cable with a connector or pin
at each end, which is normally used to interconnect the components of a breadboard or other
prototype or test circuit, internally or with other equipment or components, without soldering.
Fig. 3.4 Female to female wire
3.5. LED Strip Light:
An LED Strip Light (also known as an LED tape or ribbon light) is a flexible circuit board
populated by surface mounted light-emitting diodes (SMD LEDs) and other components that
usually comes with an adhesive backing. Traditionally, strip lights had been used solely in
accent lighting, backlighting, task lighting, and decorative lighting applications. Increased
luminous efficacy and higher-power SMDs have allowed LED strip lights to be used in
applications such as high brightness task lighting, fluorescent and halogen lighting fixture
replacements, indirect lighting applications, Ultra Violet inspection during manufacturing
processes, set and costume design, and even growing plants.
10. 10 | P a g e
Fig. 3.5 LED Strip Light
3.6. Power Bank:
A Power Bank is a mobile charger can be charged in advance for later phones, tablets or laptops
to recharge. A Power Bank is a handy gadget that you can charge your electric devices without
a power socket.
Fig. 3.6 Power Bank
3.7. Dustbin:
A dustbin is a container for temporarily storing waste, and is usually made out of metal or
plastic. Some common terms are garbage can, and trash can. The words "rubbish", "basket"
and "bin" are more common in British English usage; "trash" and "can" are more common in
11. 11 | P a g e
American English usage. "Garbage" may refer to food waste specifically
(when distinguished from "trash") or to municipal solid waste in general. In 1875, the first
personal rubbish bins were introduced in Britain to create a regulated system of trash
collection.
Fig. 3.7 Dustbin
12. 12 | P a g e
Steps:
Chapter 4
Methods/Approaches
Step 01: Setting up the Raspberry Pi
1.1 Downloading noobs from www.raspberrypi.org
1.2 Installing Raspbian through noobs
1.3 Installing apache server and php
Step 02: Writing code in Python Script for the smart dustbin
Step 03: Setting up the relay board with the DC motor
Step 04: Connecting the relay board with the GPIO pins of Raspberry Pi
Step 05: Writing code in PHP for the user interface
Step 06: Fixing the DC motor to the bin and tires.
DC Motor:
a. DC motor is used to give movement to the bin.
b. DC motor will change its direction by changing its polarities
c. By this we can make the bin to move (forward, reverse, left, right)
d. For changing the polarities relay board driver is used.
Step 07: Connecting DC Motors to relay board
Step 08: Fixing the LED strip in front side of the bin.
Step 09: Power Supply to Raspberry Pi
Raspberry Pi can take up to 5.2V and 2.5A. We supply the 5V and 2.1A through the power
bank.
13. 13 | P a g e
Chapter 5
Configuration with the components
1. Code in Python Script for the smart dustbin:
5.1. Forward Movement:
Fig: 5.1 Forward Movement
5.2. Reverse Movement:
Fig: 5.2 Reverse Movement
14. 14 | P a g e
5.3. Left Movement:
Fig: 5.3 Left Movement
5.4.Right Movement:
Fig: 5.4 Right Movement
15. 15 | P a g e
Circuit Design of the Relay Board:
Fig: 5.5 Circuit Design of Relay Board
16. 16 | P a g e
Connecting the relay board with the GPIO pins of Raspberry Pi:
Fig.5.6.: GPIO pins of Raspberry Pi
17. 17 | P a g e
Chapter 6
Program for UI
Writing code in PHP for the user interface:
Fig.5.6.: Code in PHP for UI
18. 18 | P a g e
Conclusion:
Chapter 7
Conclusion and Future Work
The main aim of this project is to reduce human resources and efforts along with the
enhancement of a smart room. We have often seen piece of paper spilling over from dustbins
on to floor and this was an issue that required immediate attention. The proverb “Cleanliness
is next to god and clean room is next to heaven” inspired us to conceptualized the project. Smart
dustbin helps us to reduce the pollution.
Smart dustbins are now the needs of Smart buildings. Smart dustbin is a new idea of`
implementation which makes a normal dustbin smart. When we need to use the dustbin we
don’t have to go to it, we simply have to give commands through our mobile phone or
computer. The garbage is dumped to the container manually and the dustbin moves back in the
same direction back to its initial place according to our command.
Future Scope:
There is a great scope for the modifications of the Smart Dustbin in the future. The
system can be improved by adding new functionalities. Dumping of the waste was manual in
Smart dustbin this can be automated by fixing a robot arm or a tipper. The path tracking can be
GPS enabled and the dustbins can be monitored through a GUI. The Smart dustbins can be well
widely used in the Smart buildings of Smart cities.
Future Work:
We can install an ultrasonic sensor on top of the bin so that it can sense the waste and
using some kind of motor we have to control the lid of the bin. Our main motive will be that
whenever the sensor sense something, the lid of the bin will automatically open for a limited
time.
19. 19 | P a g e
Bibliography
https://en.wikipedia.org/wiki/Raspberry_Pi
http://www.electronics-tutorials.ws/blog/relay-switch-circuit.html
https://en.wikipedia.org/wiki/DC_motor
https://www.raspberrypi.org/