100% found this document useful (1 vote)
642 views

Project Report On Smart Dustbin Using IoT

This document is a minor project report submitted in partial fulfillment of the requirements for a Bachelor of Technology degree in Computer Science and Engineering. The report describes the development of a smart dustbin using a Raspberry Pi, motor, relay board and other components. The smart dustbin can be remotely controlled to move back to its position after use without needing to touch the bin. The project was completed under the supervision of Mr. Amlan Jyoti Baruah, Assistant Professor of Computer Science and Engineering.

Uploaded by

Himangshu Borah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
642 views

Project Report On Smart Dustbin Using IoT

This document is a minor project report submitted in partial fulfillment of the requirements for a Bachelor of Technology degree in Computer Science and Engineering. The report describes the development of a smart dustbin using a Raspberry Pi, motor, relay board and other components. The smart dustbin can be remotely controlled to move back to its position after use without needing to touch the bin. The project was completed under the supervision of Mr. Amlan Jyoti Baruah, Assistant Professor of Computer Science and Engineering.

Uploaded by

Himangshu Borah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

MINOR PROJECT REPORT

on

Smart Dustbin
Submitted in partial fulfillment of requirements for the degree of

Bachelor of Technology (B. Tech)

in

Computer Science and Engineering

Submitted by:
Himangshu Borah
Mousam Shoif
Student ID:
ET14BT0148
ET14BT0151
Under the Supervision and Guidance of

MR. AMLAN JYOTI BARUAH


ASSISTANT PROFESSOR

School of Engineering and Technology


Department of Computer Science and Engineering
The Assam Kaziranga University
November 2017
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEEING
SCHOOL OF ENGINEERING AND TECHNOLOGY
THE ASSAM KAZIRANGA UNIVERSITY
JORHAT-785006 :: ASSAM :: INDIA

CERTIFICATE

This is to certify that the project report entitled Smart Dustbin, submitted to the
Department of Computer Science and Engineering, Kaziranga University, in
partial fulfillment for the award of the degree of Bachelor of Technology in
Computer Science and Engineering, is a record of bona fide work carried out by
Mr. Himangshu Borah, Roll No. ET14BT0148 and Mousam Shoif, Roll No.
ET14BT0150 under my supervision and guidance.

All help received by her from various sources have been duly acknowledged.
No part of this report has been submitted elsewhere for award of any other degree.

………………………….. ………….…………………..

(Name of HOD) Project Supervisor

HOD, Dept. of CSE Amlan Jyoti Baruah

Designation: Assistant Professor

Department: CSE

i
CERTIFICATE FROM EXTERNAL GUIDE
(If Any)

ii
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
THE ASSAM KAZIRANGA UNIVERSITY, JORHAT-785006
Evaluation Sheet
(Industrial Training/ Seminar/ Minor Project/ Major Project)

Name of the Student: ________________________________________________________________


Roll Number: __________________________Title of the Report:_____________________________
__________________________________________________________________________________
Paper Code: ________________________________________________________________________
Academic Programme: _______________________________________________________________
School:____________________________________________________________________________

Date: Time:

This report is a bonafide work carried out by Mr/Mrs


…………………………………………… and submitted for the award of the degree Bachelor
of Technology in …………………………………………It is evaluated and recommended by
the following expert panel.

Panel members:
Supervisor(S)/Mentor(s):
Name Signature

Internal Members:
Name Signature

Approved by:
Head of the Department

iii
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.

iv
ACKNOWLEDGEMENT
We would like to express our profound sense of deepest gratitude to our guide and
motivator Mr. Amlan Jyoti Baruah, Assistant Professor, Computer Science and Engineering
Department, The Assam Kaziranga University, Jorhat for his valuable guidance, sympathy and
co-operation for providing necessary facilities and sources during the entire project. We wish
to convey our sincere gratitude to all the faculties of Computer Science and Engineering
Department who have enlightened us during our studies. The facilities and co-operation
received from the technical staff of Computer Science and Engineering Department is
thankfully acknowledged.

We express our thanks to all those who helped us in one way or other.

Place: Jorhat Himangshu Borah (ET14BT0148)

Date: 20/11/2017 Mousam Shoif (ET14BT0151)

v
Declaration
We declare that this written submission represents our ideas in our own
words and where others' ideas or words have been included, we have adequately
cited and referenced the original sources. We also declare that we have adhered
to all principles of academic honesty and integrity and have not misrepresented
or fabricated or falsified any idea/data/fact/source in my submission. We
understand that any violation of the above will be cause for disciplinary action by
the University and can also evoke penal action from the sources which have thus
not been properly cited or from whom proper permission has not been taken when
needed. Project or Project code is not copied or downloaded from Internet or any
other resources.

(Signature)s ________________________________

________________________________

(Name of the student) s _________________________________

_________________________________

ET14BT0148

ET14BT0151

Date: __________

vi
CONTENTS
Abstract iv
Acknowledgement v
Declaration vi
List of Figures viii
1. Introduction 01
2. Literature Review 02
3. Components 03-07
3.1. Raspberry Pi 03
3.2. Relay Board 04
3.3. DC Motor 04-05
3.4. Female to female wires 05
3.5. LED Strip Light 05-06
3.6. Power Bank 06
3.7. Dustbin 06-07
4. Methods/Approaches 08
5. Configuration 09-10
5.1 Forward Movement 09
5.2 Reverse Movement 09
5.3 Left Movement 10
5.4 Right Movement 10
5.5 Circuit Design of the Relay Board 11
5.6 Connecting the relay board with the GPIO pins of Raspberry Pi 12
6. Program for UI 13
7. Conclusion and Future Work 14
*Bibliography 15

vii
LIST OF FIGURES

Figures Page Number

3.1 Raspberry Pi 03

3.2 Relay Board 04

3.3 DC Motor 05
3.4 Female to female wire 05
3.5 LED Strip Light 06
3.6 Power Bank 06
3.7 Dustbin 07

5.1 Forward Movement 09

5.2 Reverse Movement 09

5.3 Left Movement 10

5.4 Right Movement 10

5.5 Circuit Design of Relay Board 11

5.6 GPIO pins of Raspberry Pi 12

5.7 Code in PHP for UI 13

viii
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 we 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.

1
Chapter 2

Literature Review
2.1 Internet of Things:

( 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 a smart
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).

2
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

3
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

4
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.

5
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
American English usage. "Garbage" may refer to food waste specifically (when distinguished

6
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

7
Chapter 4

Methods/Approaches
Steps:
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.

8
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

9
5.3.Left Movement:

Fig: 5.3 Left Movement

5.4.Right Movement:

Fig: 5.4 Right Movement

10
Circuit Design of the Relay Board:

Fig: 5.5 Circuit Design of Relay Board

11
Connecting the relay board with the GPIO pins of Raspberry Pi:

Fig.5.6.: GPIO pins of Raspberry Pi

12
Chapter 6

Program for UI
Writing code in PHP for the user interface:

Fig.5.6.: Code in PHP for UI

13
Chapter 7

Conclusion and Future Work


Conclusion:

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.

14
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/

15

You might also like