Professional Documents
Culture Documents
We are grateful to project guide Asso.Prof. P.K Jain who laid the time
bound program for the successful completion of the project. He initiated
our thoughts and extended timely suggestions and for his technical
support and valuable suggestions for which we are deeply indebted to
him. We are grateful to him for his comments and insights in the
preparation of this report without which this report would not have been
completed.
We also express our gratitude to the institute management to all those who
have indirectly helped us in successful completion of the project. Last but
not the least, we are deeply indebted to our parents for what we are today,
because this project report would not have a reality without their love and
support.
Yours
Sincerely
Chaitanya
Kaskar
Jitendra Kumar
Jat
INDEX
* Introduction
* Review
* Hardware description
:- List of components
:- Component description
* Project Working
* Software Description
* Problem Definition
* Result
Solid waste management (SWM) is a major problem for many urban local
bodies (ULBs) in India, where urbanization, industrialization and
economic growth have resulted in increased municipal solid waste
(MSW) generation per person. Effective SWM is a major challenge in
cities with high population density. Achieving sustainable development
within a country experiencing rapid population growth and improvements
in living standards is made more difficult in India because it is a diverse
country with many different religious groups, cultures and traditions.
Despite significant development in social, economic and environmental
areas, SWM systems in India have remained relatively unchanged. The
informal sector has a key role in extracting value from waste, with
approximately 90% of residual waste currently dumped rather than
properly landfilled. There is an urgent need to move to more sustainable
SWM, and this requires new management systems and waste management
facilities. Current SWM systems are inefficient, with waste having a
negative impact on public health, the environment and the economy. The
waste Management and Handling Rules in India were introduced by the
Ministry of Environment and Forests (MoEF), although compliance is
variable and limited.
population (2011)
total waste generated in waste generation (kg
City 106 tonnes per day per capita per day)
Ahmedaba
6.3 2300 0.36
d
Hyderabad 7.7 4200 0.54
Bangalore 8.4 3700 0.44
Chennai 8.6 4500 0.52
Kolkata 14.1 3670 0.26
Delhi 16.3 5800 0.41
Mumbai 18.4 6500 0.35
Hardware
Arduino UNO
The Arduino Uno can be powered via the USB connection or with an
external power supply. The power source is selected automatically.
External (non-USB) power can come either from an AC-to-DC adapter
(wall-wart) or battery. The adapter can be connected by plugging a 2.1mm
center-positive plug into the board's power jack. Leads from a battery can
be inserted in the Gnd and Vin pin headers of the POWER connector. The
board can operate on an external supply of 6 to 20 volts. If supplied with
less than 7V, however, the 5V pin may supply less than five volts and the
board may be unstable. If using more than 12V, the voltage regulator may
overheat and damage the board. The recommended range is 7 to 12 volts.
Memory
The ATmega328 also support I2C (TWI) and SPI communication. The
Arduino software includes a Wire library to simplify use of the I2C bus;
see the documentation for details.
Programming
The Uno contains a trace that can be cut to disable the auto-reset. The
pads on either side of the trace can be soldered together to re-enable it. It's
labeled "RESET-EN". You may also be able to disable the auto-reset by
connecting a 110 ohm resistor from 5V to the reset line.
The Arduino Uno has a resettable polyfuse that protects your computer's
USB ports from shorts and overcurrent. Although most computers provide
their own internal protection, the fuse provides an extra layer of
protection. If more than 500 mA is applied to the USB port, the fuse will
automatically break the connection until the short or overload is removed.
Physical Characteristics :-
The maximum length and width of the Uno PCB are 2.7 and 2.1 inches
respectively, with the USB connector and power jack extending beyond
the former dimension. Three screw holes allow the board to be attached to
a surface or case. Note that the distance between digital pins 7 and 8 is
160 mil (0.16"), not an even multiple of the 100 mil spacing of the other
pins.
Once you have downloaded/unzipped the arduino IDE, you can Plug the
Arduino to your PC via USB cable.
Blink LED :-
Now youre actually ready to burn your first program on the arduino
board. To
select blink led, the physical translation of the well known
programming hello
world, select
File>Sketchbook>
Arduino-0017>Examples>
Digital>Blink
Once you have your skecth youll see something very close to the
screenshot on the right.
In Tools>Board select
Now you have to go to
Tools>SerialPort
and select the right serial port, the one arduino is attached to.
Dimensional Drawing :-
Ultrasonic Sensor :-
Since it is known that sound travels through air at about 344 m/s (1129
ft/s), you can take the time for the sound wave to return and multiply it by
344 meters (or 1129 feet) to find the total round-trip distance of the sound
wave. Round-trip means that the sound wave traveled 2 times the distance
to the object before it was detected by the sensor; it includes the 'trip' from
the sonar sensor to the object AND the 'trip' from the object to the
Ultrasonic sensor (after the sound wave bounced off the object). To find
the distance to the object, simply divide the round-trip distance in half.
ethernet_on_off.ino
/*
Web client
Circuit:
* Ethernet shield attached to pins 10, 11, 12, 13
created 18 Dec 2009
by David A. Mellis
modified 9 Apr 2012
by Tom Igoe, based on work by Adrian McEwen
*/
#include <SPI.h>
#include <Ethernet.h>
#include <NewPing.h>
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
void loop() {
// if there are incoming bytes available
// from the server, read them and print them:
if (client.available()) {
char c = client.read();
s = s + c;
Serial.print(c);
Serial.println(uS / US_ROUNDTRIP_CM);
if(uS / US_ROUNDTRIP_CM !=0)
{
connectclient(uS / US_ROUNDTRIP_CM);
}
// do nothing forevermore:
}
}
if (client.connect(server, 80)) {
Serial.println("connected");
// Make a HTTP request:
client.print("GET /arduino.php?value=");
client.print(analogvalue);
client.println(" HTTP/1.1");
client.println("Host: www.pitstall.in");
client.println("Connection: close");
client.println();
} else {
// if you didn't get a connection to the server:
Serial.println("connection failed");
}
}
App code
<?php
require_once 'header.php';
$status = fgets($myfil);
if (isset($_POST['name']))
{
queryMysql("UPDATE majorproject SET Isfull ='empty' WHERE Type
= 'bin' ");
$status='Bin is Set To Empty';
}
fclose($myfil);
echo "<center>";
echo <<<_END
<link href='http://fonts.googleapis.com/css?family=Roboto'
rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=500, initial-scale=1">
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<style>
body
{
width:95%;
overflow:hidden;
font-family: 'Roboto' ,sans-serif;
}
.bin{
position:relative;
left:10px;
}
#submitbutton
{
color:white;
font-family: 'Roboto' ,sans-serif;
background:#a2b7d9;
border:0px;
padding:10px;
border-radius:5px;
}
</style>
<br>$status<br><br>
<form action= 'majorappmain2.php' method='post' >
<input name='name' value='123456' type='hidden'>
<input class='bin' id='submitbutton' type='submit' value='Empty
Bin'><br>
</form>
</center>
_END;
Arduino
<?php
require_once 'header.php';
$q = $_GET["value"];
$myfil = fopen("value.txt", "w") or die("Unable to open file!");
$q = (int)$q;
if($q < 7)
{
Problem Definition
As we have seen number of times the dustbins are getting overflown and
concern person dont get the informationwithin a time and due to
whichunsanitary condition formed in the surroundings, at the same time
bad smell spread out due to waste, bad look of the city which paves the
way for air pollution and to some harmful diseases around the locality
which is easily spreadable.
The following are the results which obtained from this work,
This IoT based waste management is very useful for smart cities in
different aspects. We have seen that, in cities there are different dustbins
located in the different areas and dustbins get over flown many times and
the concerned people do not get information about this. Our system is
designed to solve this issue and will provide complete details of the
dustbin located in the different areas throughout the city. The concerned
authority can access the information from anywhere and anytime to get
the details. Accordingly they can take the decision on this immediately.
Conclusion and Future Work
The scope for the future work is this system can be implemented with
time stamp in which real-time clock shown to the concern person at what
time dust bin is full and at what time the waste is collected from the smart
dustbins.