Ess Report Final
Ess Report Final
By
Isha Bhavsar 151061011
Paurnima Dashpute 151061033
Prajakti Bhatnagar 151041049
Namrata Madnani 151041053
Waste Segregation
The first reason for waste segregation is it is legally required.
Under the Waste Regulations 2011, you must segregate paper, cardboard,
plastic, metal and glass at source unless it is technically or economically
unfeasible. Under the same regulations, you should implement the waste
hierarchy; reduce, reuse, recycle, other recovery and disposal. By law, you
should implement this hierarchy and segregation helps with recycling in
particular.
Waste segregation is included in law because it is much easier to recycle.
Effective segregation of wastes means that less waste goes to landfill which
makes it cheaper and better for people and the environment. It is also
important to segregate for public health. In particular, hazardous wastes can
cause long term health problems, so it is very important that they are
disposed of correctly and safely and not mixed in with the normal waste
coming out of your home or office.
If you describe a bin of your waste as ‘paper and cardboard’ and someone
has half filled it with plastic, you are incorrectly describing your waste. If
this happens, you could face a fine, your waste contractor could refuse the
waste or you could be charged more for them to deal with it.
Segregated waste is also often cheaper to dispose of because it does not
require as much manual or mechanical sorting as mixed waste. For
example, here at EMS we segregate our paper and cardboard into a separate
skip to our other, general waste. When it comes to collection and disposal,
the paper and cardboard is nearly £3 cheaper than our general waste bin.
Over time that can add up and, if you have more diverse waste streams, you
can see further cost savings. For some waste streams, you may even be able
to sell it off and create a revenue stream.
There are a number of important reasons that we encourage waste
segregation; legal obligations, cost savings and protection of human health
and the environment.
According to the filled level of the dustbin, the vehicles from the
municipal corporation will choose the shortest path with the help of
the “TRANSPORTATION SOFTWARE”, which will save their time.
It emphasizes on “DIGITAL INDIA”.
ADVANTAGES
LIMITATIONS
• One of more tier will add higher complexity in the integration
• Resources still reside locally comparing with using cloud technology
• As the system is centralized, failure of central hub will bring down the
network
• Disposal of e waste generates toxic substances which is harmful to
both environment and humans.
• Implementing the system on a broad level will take require a lot
resources both financially and technically
Component List
1. Arduino Uno :-
The Arduino Uno is a microcontroller board based on the ATmega328
(datasheet). It has 14 digital input/output pins (of which 6 can be used as
PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB
connection, a power jack, an ICSP header, and a reset button. It contains
everything needed to support the microcontroller; simply connect it to a
computer with a USB cable or power it with a AC-to-DC adapter or battery
to get started. The Uno differs from all preceding boards in that it does not
use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2
(Atmega8U2 up to version R2) programmed as a USB-to-serial converter.
Power 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. The power pins
are as follows: VIN.
The input voltage to the Arduino board when it's using an external power
source (as opposed to 5 volts from the USB connection or other regulated
power source). You can supply voltage through this pin, or, if supplying
voltage via the power jack, access it through this pin. 5V.This pin outputs a
regulated 5V from the regulator on the board. The board can be supplied
with power either from the DC power jack (7 - 12V), the USB connector
(5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or
3.3V pins bypasses the regulator, and can damage your board. We don't
advise it. 3V3. A 3.3 volt supply generated by the on-board regulator.
Maximum current draw is 50 mA. GND. Ground pins. Memory The
ATmega328 has 32 KB (with 0.5 KB used for the bootloader). It also has 2
KB of SRAM and 1 KB of EEPROM (which can be read and written with
the EEPROM library). Input and Output Each of the 14 digital pins on the
Uno can be used as an input or output, using pinMode(), digitalWrite(), and
digitalRead() functions. They operate at 5 volts. Each pin can provide or
receive a maximum of 40 mA and has an internal pull-up resistor
(disconnected by default) of 20-50 kOhms. In addition, some pins have
specialized functions: Serial: 0 (RX) and 1 (TX). Used to receive (RX) and
transmit (TX) TTL serial data. These pins are connected to the
corresponding pins of the ATmega8U2 USB-to-TTL Serial chip. External
Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a
low value, a rising or falling edge, or a change in value. See the
attachInterrupt() function for details. PWM: 3, 5, 6, 9, 10, and 11. Provide
8-bit PWM output with the analogWrite() function. SPI: 10 (SS), 11
(MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication
using the SPI library. LED: 13. There is a built-in LED connected to digital
pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW,
it's off. The Uno has 6 analog inputs, labeled A0 through A5, each of which
provide 10 bits of resolution (i.e. 1024 different values). By default they
measure from ground to 5 volts, though is it possible to change the upper
end of their range using the AREF pin and the analogReference() function.
Additionally, some pins have specialized functionality: TWI: A4 or SDA
pin and A5 or SCL pin. Support TWI communication using the Wire
library.There are a couple of other pins on the board: AREF. Reference
voltage for the analog inputs. Used with analogReference(). Reset. Bring
this line LOW to reset the microcontroller. Typically used to add a reset
button to shields which block the one on the board. See also the mapping
between Arduino pins and ATmega328 ports. The mapping for the Atmega8,
168, and 328 is identical.
Specification :-
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (ATmega328) of which 0.5 KB used by
bootloader
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
Clock Speed 16 MHz
Moisture Sensor :-
This moisture sensor can read the amount of moisture present in the soil
surrounding it. It's a low tech sensor, but ideal for monitoring an urban
garden, or your pet plant's water level. This is a must have tool for a
connected garden! This sensor uses the two probes to pass current through
the soil, and then it reads that resistance to get the moisture level. More
water makes the soil conduct electricity more easily (less resistance), while
dry soil conducts electricity poorly (more resistance). It will be helpful to
remind you to water your indoor plants or to monitor the soil moisture in
your garden.
Specification :-
The ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and
microcontroller capability. It is used to transmit sensor data to the server on
thingspeak.
Working
Start
If waste is wet
Processs start
again
Code
#include <Servo.h>
int senpin = A1;
int senval;
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boardz
int pos =180; // variable to store the servo position
void setup() {
Serial.begin(9600);
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop()
{
senval = analogRead(senpin);
delay(150);
Serial.println(senval);
delay(150);
if (senval<930)
{
for (pos = 0; pos <= 135; pos += 1)
{
// goes from 0 degrees to 180 degrees
// in steps of 1 degree
#include <ESP8266WiFi.h>
#include <OneWire.h>
#include <PubSubClient.h>
#include "UbidotsESPMQTT.h"
const char *ssid = "!!!!!!!!!"; //Your Access Point or Personal Hotspot, cannot be longer than 32
characters!
const char *pass = "*******"; //Your Access Point or Personal Hotspot password
const char* serverTS = "api.thingspeak.com";
String apiKey = "SIOFQ8PP87L7DV45"; //Insert your Channel API Key here
#define TOKEN "A1E-r09DNwZ6OxjYAXwmlqAi2zIPqI6w2l"
#define WIFINAME "OnePlus 5T" //Your SSID
#define WIFIPASS "prajakti1506" // Your Wifi Pass
Ubidots client(TOKEN);
//const int pingPin = 2; //Ultrasonic connected to GPIO0
int TRIGGER = 5; //Pin D1 = TRIGGER
int ECHO = 4; //Pin D2 = ECHO
float latitude=19.0225731;
float longitude=72.8562175;
void callback(char* topic, byte* payload, unsigned int length) {
Serial.print("Message arrived [");
Serial.print(topic);
Serial.print("] ");
for (int i=0;i<length;i++) {
Serial.print((char)payload[i]);
}
Serial.println();
}
void setup()
{
pinMode(0,OUTPUT); //LED connected to GPIO2
Serial.begin(115200); //Recommended speed is 115200
pinMode(TRIGGER,OUTPUT);
pinMode(ECHO,INPUT);
connectWifi();
void loop()
{
// establish variables for duration of the ping,
// and the distance result in inches and centimeters:
long duration, inches, cm;
digitalWrite(TRIGGER, LOW);
delayMicroseconds(2);
digitalWrite(TRIGGER, HIGH);
delayMicroseconds(10);
digitalWrite(TRIGGER, LOW);
// The same pin is used to read the signal from the PING))): a HIGH
// pulse whose duration is the time (in microseconds) from the sending
// of the ping to the reception of its echo off of an object.
Serial.print(inches);
Serial.print("in, ");
Serial.print(cm);
Serial.print("cm");
Serial.println();
delay(100);
sendHeight(cm);
if(!client.connected()){
client.reconnect();
}
//client.add("stuff", cm); //Insert your variable Labels and the value to be sent
//client.ubidotsPublish("source 1");
/* client.add("Latitude", latitude); //Insert your variable Labels and the value to be sent
client.ubidotsPublish("source 1");
client.add("Longitude", longitude); //Insert your variable Labels and the value to be sent
client.ubidotsPublish("source 1");
client.loop();*/
client.add("stuff", cm); //Insert your variable Labels and the value to be sent
client.ubidotsPublish("source1");
client.add("stuff", 10.2);
client.add("more-stuff", 120.2);
client.ubidotsPublish("source2");
client.loop();
if(!client.connected()){
client.reconnect();
client.ubidotsSubscribe("Limit Setter","distance_limit"); //Insert the dataSource and Variable's Labels
}
client.loop();
}
void connectWifi()
{
Serial.print("Connecting to "+*ssid);
WiFi.begin(ssid, pass);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.print(".");
}
Serial.println("");
Serial.println("Connected");
Serial.println("");
}//end connect
long microsecondsToInches(long microseconds)
{ // According to Parallax's datasheet for the PING))), there are
// 73.746 microseconds per inch (i.e. sound travels at 1130 feet per
// second). This gives the distance travelled by the ping, outbound
// and return, so we divide by 2 to get the distance of the obstacle.
// See: http://www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf
return microseconds / 74 / 2;
}
long microsecondsToCentimeters(long microseconds) {
// The speed of sound is 340 m/s or 29 microseconds per centimeter.
// The ping travels out and back, so to find the distance of the
// object we take half of the distance travelled.
return microseconds / 29 / 2;
}
}//end if
tclient.stop();
}//end send to ts
Output
Design :-
Working :-
This application can do for you some very useful operations in just one click
like discovering your current location, saving it and opening it on map. Also
you can send the saved location to anyone with option of taking picture of
the place where you are. You can easily switch from one saved location to
another by picking the desired location by name from the list. There is also a
log with all saved locations with time stamps when you saved them. When
you save your current location , there is an option to give some name, so it
will be easier to refresh your memory what is this place. So before running
the application please turn on the GPS sensor otherwise you will get warning
on start-up and every time when you will try to do something that requires
receiving data from the GPS sensor. The main screen is separated into two
parts . In the upper part you can see your current location. The application
determinates the address where you are automatically using your GPS
location. You can open "Your Current Location" on map by clicking on
"Open on map" button. And finally you can save your current location and
the application will remember for you your parking place, your new favorite
restaurant or place of the picnic which you want to share with your friends.
There is an option to give a name for the location before saving it and next
time you will easily know where have you been. If you will not give a name,
the default name will be the time when you will click on "Save Location"
button. That's all with the first part of the application. In the bottom part of
the screen there is "Saved Location" part. Here you can see every place
which was saved before. You can switch between saved locations by picking
them up from the list. You can open it on the map by clicking on "Open on
map" button. Just like this. Another useful feature is to show directions from
your current location to the saved one. For this operation you need your GPS
sensor will be turned on. After clicking on "Show directions" button you will
navigate to another screen where you can see the directions. By clicking on
"Open Log" button you will navigate to another screen where you can see
the log of all the places which were saved with the time stamps when you
saved them. The list is sorted in chronographically from the first saved
location to the last one. Here you can manage the saved places in the
memory by deleting the old ones. There is an option to delete some specific
record by choosing it from the list or to delete all of them. The last feature
from the "Saved location" part is to share your place with somebody else.
There is an option to take a picture of the place before sharing it. If "Take a
picture" check box is selected, then when you click on "Send Location"
button the camera will be started and you can take a picture of the place you
want to share. After that the google maps link of the saved place will be
shared by email , some messenger or any other application which supports
this feature. If you took a picture, then it will be sent also. To exit the
application click on Exit button.
CONCLUSION