Capstone Project Report Group No. 7pdf
Capstone Project Report Group No. 7pdf
“SMARTDUSTBINUSINGARDUINO”
Submittedinpartialfulfilmentfortheawardofthedegreeof
DIPLOMAINELECTRONICSANDTELECOMMUNICATIONE
NGINEERING
Submitted by
Name of the Student Enrollment No.
OMKAR YANDE[1815080006]
BHAVIK RAUT[1815080009]
SUNNY PAWAR[1815080018]
ROYSTON DMONTE[1815080984]
Under the Guidance of
Prof. Sampada Pawar.
DEPARTMENTOF ELECTRONICSAND TELECOMMUNICATION
VIVACOLLEGEOFDIPLOMAENGINEERINGANDTECHNOLOGY
BOLINJ,VIRARWEST
20202021
1
VIVA COLLEGEOF DIPLOMA ENGINEERING AND TECHNOLOGY BOLINJ,
VIRAR(WEST)
DEPARTMENTOFELECTRONICSAND
TELECOMMUNICATIONENGINEERING
Thisisto certifythatprojectentitled
HANDGESTURECONTROLLEDCAR
Hasbeensubmittedby,
OMKAR YANDE
,BHAVIKRAUT,SUNNYPAWAR,RO
YSTONDMONTE
Students of Final Year (Electronics and Telecommunication Engineering) under our supervisions andguidance. This work is
forpartialfulfilmentoftherequirementfortheawardof“DIPLOMAINELECTRONICSANDTELECOMMUNICATIONENGINEERI
NG”duringacademicyear20202021
Prof.SampadaRautPawar Prof.SanjayMendesGuide
HeadOfDepartment
Prof. R.B. Sholapurkar
InternalExaminer Principal,VCDET
(ExternalExamine)
2
ACKNOWLEDGEMENT
3
ABSTRACT
The main objective of the project is to design a smart dustbin which will help
inkeeping our environment clean and also eco friendly. We are inspired
fromSwaach Bharat Mission. Nowadays technologies are getting smarter day‐by‐
dayso, as to clean the environment we are designing a smart dustbin by
usingArduino. This smart dustbin management system is built on the
microcontrollerbased system having ultrasonic sensors on the dustbin. If dustbin
is notmaintained than these can cause an unhealthy environment and can
causepollute that affect our health. In this proposed technology we have
designed asmart dustbin using ARDUINO UNO, along with ultrasonic sensor,
servo motor,and battery jumper wire. After all hardware and software
connection, now SmartDustbin program will be run. Dustbin lid will when
someone comes near at somerange than wait for user to put garbage and close
it. It’s properly running or not.For social it will help toward healthand hygiene, for
business for we try to makeit affordable to many as many possible. So that
normal people to rich people cantakebenefitfromit.
4
PREFACE
We take anopportunityto presentthisproject on “MAKING SMART DUSTBIN USING
ARDUINO” And put beforereaders some useful information regarding ourproject.
We have made sincereattempts and taken every care to present this matterin precise
and compact form, thelanguage being as possible. We are sure that theinformation
containedin thisvolumewouldcertainlyproveuseful
forbetterinsightinthescopeanddimensionofthisprojectinitstrueperspective.Thetaskof
this project though being difficultywas made quite simple,interesting and
successfulduetodeepinvolvementandcompletededicationofour groupmember.
5
LISTOFTABLES
A.Rationale
9
B.Introduction 10,11,12,13
C.BlockDiagram 13,14
a.BlockDiagram 15
b.RequiredComponent 16
c.Components 16
i.Arduino 17
Ii.ultrasonic sensor 18
Iii.battery 12v 19
iv. Servo motor 20,21
22
D.ProposedMethodolog 28,29
Proposed methodology 29,30
30
b. Proposed design
6
c. Scope and future work 30
Importance 31
E.ProblemDefinition 31
F. Conclusion 32
G. Reference 32
H.Actionplan 32
7
A.RATIONALE
To avoid overflow, smart dustbins can be used. If the dustbin becomes full, it
isintimated to the municipality to dispose it. This is done by using Ultrasonic
sensoron the inner side of the dustbin lid. It finds the distance between the lid and
thewasteinsidewhichdeterminesthefullnessofthedustbin
AdvantagesofSMART DUSTBINUSING ARDUINO:
Withtheircombinationofintelligentwastemonitoringandtrashcompactiontechnologie
s, smart bins are head and shoulders above traditional garbage
bins.Citiesinstallingsmartbinscanenjoy:
Areductioninthenumberofwastecollectionsneededbyupto80%,resultingin
lessmanpower,emissions,fueluseandtrafficcongestion
Areduction in thenumberofwastebinsneeded
Analyticsdatatomanagecollectionroutesandtheplacementofbinsmore
effectively
Improvedenvironment(i.e.nooverflowingbinsandlessunpleasantodours)
8
B.INTRODUCTION
WhatisaSMARTDUSTBIN?
Thesmartdustbinisacarefullydesignedsolutionthatsolvesthesocial
issue of waste disposal, the smart dustbin identifies thekind of
material being thrown inside it and segregates it into bioor non
biodegradable. The dustbin also comes with an option
toprovidewifiasan incentiveofthrowinggarbage
9
WorkingPrinciple
ThemainconceptbehindtheSmartDustbinusingArduinoprojectisObject
Detection..... A similar methodology is implemented here, where the
UltrasonicSensor is placed on top of the dustbin's lid and when the sensor detects
any objectlike a human hand, it will trigger Arduino to open the lidAfter setting up
the SmartDustbin and making all the necessary connections, upload the code to
Arduino andprovide 5V power supply to the circuit. Once the system is powered
ON, ArduinokeepsmonitoringforanyobjectneartheUltrasonicSensor.
If the Ultrasonic Sensor detects any object like a hand for example,
Arduinocalculates its distance and if it less than a certain predefined value,
Arduino willactivatetheServoMotorandwiththesupportoftheextended
arm,itwilllistthelidopen.
Aftercertaintime,the lidis automaticallyclosed.
10
ConceptbehindSmartDustbinusingArduino:
The main conceptbehind the Smart Dustbin using
ArduinoprojectisObjectDetection. I have already usedUltrasonic Sensor in
ObjectAvoidingRobot
,whereupondetectinganobject,theRobotwillchangeitscourseofdirection.
A similar methodology is implementedhere,where the
UltrasonicSensorisplacedontopofthedustbin’slidandwhenthesensordetec
tsanyobjectlikeahumanhand,itwilltriggerArduinotoopenthelid.
11
Componentsrequired:‐
• ArduinoUno
• Servomotor
• Wires
• Ultrasonicsensor
• Battery
• Dustbin
• Cardboard
• ice‐creamstick
• Adhesive
• Scissor
• Papercutter
• Cellotape
12
Constructions
cut the lid of the dustbin replace the lid with the cardboard lid
shape.youcanseethe
wholeconstructionvideotutorialintheyoutubevideoattached to this post.
attach the ultrasonic sensor at the front of thedustbin. and connect the
servo with an ice cream stick and attach it tothedustbin.Make
twoholescorrespondingto
the Ultrasonic Sensor on the lid of the dustbin, as shown in
thefollowingimage.WARNING:Youhavetouseasharpobjectwithalotofforc
e to make these holes. Be careful. Now, from the inside, place
theUltrasonicSensorthroughtheholesandfixitspositionwiththehelpof
glueFor this mechanism to be able to open the lid of the dustbin,
itmust be placed near the hinge where the lid is connected to the
maincan. From the following image, you can see that I have fixed the
servomotor on the can. According to the Laws of Physics, you will
requiremoreenergytopushthelidfromthehingethanattheextremeend.
Butinordertoopenthelidandnothaveanyobstacle,thisistheonly
placetofixtheservomotorwithitsarm.
13
D.COMPONENT&CONSUMABLESREQUIREDBLOCKDIAGR
AM.
WorkingofSMARTDUSTBINWITHARDUINO
ArduinoUno is a opensource microcontroller board based on the ATmega328p mi
crocontroller. It has 14 digital pins (out of which 6 pins can be used as PWM out
puts), 6 analog inputs, onboard voltage regulators etc. Arduino Uno has 32KB
offlash memory, 2KB of SRAM and 1KB of EEPROM. It operates at a clock fre
quency of 16MHz. Arduino Uno supports Serial, I2C, SPI communication for com
municating with other devices. The table below shows the technical specification
ofArduinoUno.
14
AURDINO.
1. ItisanATmega328PbasedMicrocontroller
2. TheOperatingVoltageis5V
3. Inputvoltagerangesfrom7Vto12V
4. Thei/pvoltage(limit)is6Vto20V
5. Digitalinputandoutputpins14
6. Analogi/ppinsare6andDCCurrentforeachI/OPinis20mA
7. DCCurrentusedfor3.3VPinis50mA
8. FlashMemory32KB,and0.5KBmemoryisusedbythebootloader
9. SRAMis2KB
10.EEPROMis1KB
15
ArduinoUNOisthe brain of thissystem andall the sensorsand display devicesare
controlledbyit.WearemakingAutomaticPlantIrrigationSystemusingArduino,whicha
utomaticallyprovideswatertoyourplantsandkeepyouupdatedby sending
message to your cell phone. Arduino is an open
sourceelectronics platformbasedoneasytousehardwareandsoftware.
Arduinoisanopen‐
sourceplatformusedforbuildingelectronicsprojects.Arduinoconsistsofbothaphysical
programmablecircuitboard(oftenreferredtoasamicrocontroller)andapieceof
software,orIDE(IntegratedDevelopmentEnvironment)thatrunson your computer,
used to write and upload computer code to the physical
board.TheArduinoplatformhasbecomequitepopularwithpeoplejuststartingoutwith
electronics,andforgoodreason.Unlikemostpreviousprogrammablecircuitboards,the
Arduinodoesnotneedaseparatepieceofhardware(calledaprogrammer)inordertoloa
dnewcodeontotheboard—youcansimplyusea
USBcable.Additionally,theArduinoIDEusesasimplifiedversion
ofC++,makingiteasiertolearntoprogram.Finally,Arduinoprovidesastandardformfact
orthatbreaksoutthefunctionsofthemicro‐controllerintoamoreaccessiblepackage
The Uno is one of the more popular boards in the Arduino family and a
greatchoiceforbeginners.TheArduinohardwareandsoftwarewasdesignedforartists,
designers, hobbyists, hackers, newbies, and anyone interested in
creatinginteractive objects or environments. Arduino can interact with buttons,
LEDs,motors, speakers, GPS units, cameras, the internet, and even your smart‐
phone oryou’re TV! This flexibility combined with the fact that the Arduino
software is free,the hardware boards are pretty cheap, and both the software and
hardware areeasy to learn has led to a large community of users who have
contributed codeandreleasedinstructionsforahugevarietyofArduino‐
basedprojects.
16
ServoMotor:
17
MicroServo9GSpecifications
Weight:9g
Dimension: 22.2 x 11.8 x 31 mm
approx.Stalltorque:1.8kgf∙cm
Operating speed: 0.1 s/60
degreeOperating voltage: 4.8 V
(~5V)Deadbandwidth:10μs
Temperaturerange:0ºC–55ºCPosition“0”(1.5mspulse)ismiddle,“90”(~2mspulse) is
all the way to the left. ms pulse) is all the way to the right, “”‐90″
(~1mspulse)isallthewaytotheleft.
BasicInformationModulation:
AnalogTorque:4.8V:25.0oz‐in(1.80kg‐
cm)Speed:4.8V:0.10sec/60°
Weight:0.32oz(9.0g)
Dimensions:Length:0.91 in(23.1 mm)
Width:0.48in(12.2mm)H
eight:1.14in(29.0mm)
MotorType:3‐poleGearType:Plastic
18
Rotation/Support:Bushing
19
Additional Specifications :‐
• RotationalRange:180°
• PulseCycle:ca.20ms
• PulseWidth:500-2400
µs
20
UltrasonicSensors :‐
As shown in Figure 1 Ultrasonic sensors work by sending out
asoundwaveatafrequencyabovetherangeofhumanhearing.The
transducer of the sensor acts as a microphone toreceive
andsendthe ultrasonic sound. Our ultrasonic sensors,like many
others, use a single transducer to send a pulse and toreceive the
echo.The sensor determines the distance to a targetby measuring
time lapses between the sending and receiving
oftheultrasonicpulse.Figure2showsthepinconfigurationforultraso
nicsensormodule(HC‐SRO4)whichincludes.
1]Vcc(5voltSupply]
2]Trigger
pin3]Echo
pin
4]Gnd(0volt)
21
UltrasonicSensorSpecifications
• Length:4.5cm(1 ¾in)
• Width:2.0cm(¾in)
• Height:1.4cm(½in)
• Typicalprice:Around$4
• Supplyvoltage:5V
• Operatingvoltages: 3Vor5V
• (trigger), 5VallotherI/Oports
• Workingcurrent:15mA
• Operatingrange:2cmto400cm(1
in–13ft)
• Claimedprecision:0.3cm,more
realistically:1cm
• Measuringangle:15degrees
• QuiescentCurrent::<2mA
• WorkingCurrent:15mA
• EffectualAngle:<15°
• RangingDistance:2cm–400cm/1″
13f
• Resolution:0.3cm
21
•MeasuringAngle:30degree
SmartdustbinArduinoProgramming:
*UltrasonicSensorHC‐SR04interfacingwithArduino.
*/
// defining the
pinsconst int trigPin =
9;constintechoPin=
10;
//definingvariables
longduration;int
distance;voidset
up(){
pinMode(trigPin,OUTPUT);//SetsthetrigPinasanOutputpinMode(e
choPin,INPUT);//SetstheechoPinasanInput
Serial.begin(9600);//Startstheserialcommunication
}
voidloop(){
//ClearsthetrigPin
digitalWrite(trigPin,
LOW);delayMicroseconds
(2);
ClicktodigitalWrite(trigPin,HIGH);d
elayMicroseconds(10);
digitalWrite(trigPin,LOW);
//ReadstheechoPin,returnsthe sound
wavetraveltimeinmicroseconds
duration=pulseIn(echoPin,HIGH);
//Calculatingthedistance
distance=duration*0.034/2;
//PrintsthedistanceontheSerialMo
nitor
Serial.print("Distance:");Serial.pri
ntln(distance);
}
Circuit Diagram of ultrasonicsenor :
This Ultrasonic Sensor Circuit consists of a set of ultrasonic receiver
andtransmitter which operate at the same frequency. When something moves in
theareacoveredthecircuit’sfinebalanceisdisturbedand
thealarmistriggered.Theultrasoniccircuitisverysensitiveandcan
beadjustedtoresetitselfautomaticallyortostaytriggeredtillitisresetmanuallyafteran
alarm.
The ultra sonic transmitter is built around two NAND gates wired as inverters
andthey form a multivibrator the output of which drives the transducer. The
trimmerP2 adjusts the output frequency of the transmitter and for greater
efficiency itshouldbe madethe
sameasthefrequencyofresonanceofthetransducersinuse. The ultrasonic receiver
uses a transducer to receive the signals that arereflected back to it the output of
which is amplified by the transistor TR3, and IC1which is a 741 op‐amp. The
output of IC1 is taken to the non inverting input of
IC2theamplificationfactorofwhichisadjustedbymeansofP1.
24
Circuit Diagram of servomotor :
The circuit is designed to give control signals to the Servo.IC1 is designed as
anAstable multi vibrator which can give pulses for the operation of the Servo.
The10KPot VR2, R1 and capacitor C1 determines the High and Low time of
pulses.Since VR2 is variable, High time varies from 2.07 mS to 1.03 mS. The low
timewill be 40.5 mS. By adjusting VR1, it is easy to get exact timing.VR3 adjust
thecontrolvoltageof1.6voltstothecontrolpin5of IC1.
25
E.PROPOSED METHODOLOGY
SmartDustbinasitsnamerepresentsitworkssmartlyorwecansay
that it is an automatic dustbin. it works like when you willcome
in front of this dustbin it will open automatically with thehelp of
a servo motor. so there is some sensor work to detect
theobjectinfrontofthedustbin.
kidshavefunwiththisdustbintheyplaywiththedustbinandinthe
play of them they clean your home as well because every
timetheyusethesmartDustinanditattractthekids.theygenerallywillbe
utilizedtothroughalltrashandwasteintothissmartdustbin.
26
PROPOSED DESIGN
HerethemaincomponentsareArduinoUnoandultrasonicsensor.The
ArduinoUnoworksonArduinoidesoftware.
Arduinousesdigitalpinsonlybutnotworkswithanalogypin
InArduinoUnothepurposeofanalogypinsissameastothedigitalpinsThemain
difference of digital and analog pins is analogy pins works with inputonly but
digital pins works with inputs and outputs also. Here Arduinoconnections ae
shown below: There are 14 digital pins (0‐13). It can use anypins except 0 and
1 pin because 0 is receiver pin and 1 is transmit pin.0th pinused to receive
signals and 1st pin to transmit signals. In this project 13thpinisused because it
is Inbuilt pin. Inbuilt pin is used to show yellow indicationwhen there are any
errors in the program. The remaining pins are being usedfor any further
connections. The sensor consists of four pins like ground,voltage, eco and
triggering pin. Here ultrasonic sensor is used the sensor isused to detect
object. The ultrasonic sensors contain two lenses. The left lensis used
fortransmitting and the right lens is usedfor receiving. Theconnecting wire
(male to female) is connected between Arduino boardgroundandultra‐
sonicsensorground.ThesensorsecopinislinkedtoArduino board 13thpin. The
triggering pin is linked to Arduino board 12thpin.The voltage pin in ultrasonic
sensor is connected anywhere in the breadboard. The servomotor consists of
3 wires. They are signal, power andground which are in yellow, red and
brown colors respectively. Signal wire islinked to bread board with a wire
male to male. The power wire is coupled toArduino board digital pins.
Herewe are connecting to 4thpin. The groundwire is associated to Arduino
board ground pin by using a wire of male tomale. Again, this wire is
connected from bread board to Arduino board 5Vdigitalpin
27
SCOPE AND FUTURE WORK
Thefutureworkcanbedonebyusingliquiddetectingsensorsandavoidsthrow
ingliquidgarbageintothedustbin.
28
IMPORTANCE
Theframeworkneedsasystemwhichlessenshumanexertionandgivesaviableutilizati
onofdustbin.
Therearenumerousdisserviceswiththecurrent utilizationofdustbin.
A portion of the receptacles can be broken, foot pedal component can break,
afewcoverscan'tbeopenedby
hand,toptumblesdowninthewakeofevacuatingyourfoot.
This dustbin can be adequately utilized by visually impaired and
crippledindividuals.
RESULTS:
InthewakeofsettinguptheDustbinandmakingallthe
crucialaffiliations,movethecodetoArduino.
IftheUltrasonicSensorperceivesanyarticle likeahandfor
example,Arduinofiguresitsdetachmentandif itnot
Cactually a certain predefined regard, The Motor of Servo
ofArduino Uno will be instigated with the help of broad
arm,itwilllistthetopopen.
Bythennormallyringerstartssounding.Aftercertaintime,the
spread is in this manner closed and ringer sound isended
30
CONCLUSION:
Using this project, the lid of the dustbin stays closed, so that
wasteisnotexposed(toavoidfliesandmosquitos)andwhenyouwantd
isposeanywaste,itwillautomaticallyopenthelid.
31
H.References
1. L
1. Karimi,Kaivan,andGaryAtkinson."Whatthe
InternetofThings(IoT)needstobecomeareality."
WhitePaper,FreeScaleandARM(2013)
4. “InternetofThingsforSmartCities”AndreaZanella,
Senior Member, IEEE, Nicola Bui, Angelo
Castellani,LorenzoVangelista,SeniorMember,IEEE,a
ndMichele Zorzi, Fellow, IEEE. IEEE Internet Of
ThingsJournal,Vol.1,No.1,February2014.
5. KaurH,SainiS,PeerS,SinghJ."CurrentTherapiesand
Novel Targets in Treatment of Breast Cancer."
Systematic Reviews in Pharmacy 1.1 (2010), 40-
49.Print.doi:10.4103/0975-8453.59511
32
6.onlineavailable:www.Wikipedia.org/Arduino.