Smart Dustbin Using Arduino Uno - Report
Smart Dustbin Using Arduino Uno - Report
Smart Dustbin Using Arduino Uno - Report
Submitted by
POONTHAMIZHAN M
SRI SIVAHARI P
STALIN RAJ K
in partial fulfillment for the award of the degree
of
BACHELOR OF ENGINEERING
IN
ELECTRICAL AND ELECTRONICS ENGINEERING
1
ANNA UNIVERSITY::CHENNAI 600 025
BONAFIDE CERTIFICATE
Certified that this mini project report “SMART DUSTBIN” is the
bonafide work of POONTHAMIZHAN M (711519BEE037), SRI
SIVAHARI P (711519BEE052), STALIN RAJ K (711519BEE054)
who carried out the mini project work under mysupervision.
SIGNATURE SIGNATURE
Dr. R. MYTHILI Dr.K.DHINESHKUMAR
HEAD OF THE DEPARTMENT SUPERVISOR
Assistant Professor,
Department of Electrical and Department of Electrical and
Electronics Engineering Electronics Engineering
KIT-Kalaignarkarunanidhi KIT-Kalaignarkarunanidhi
Institute of Technology, Institute of Technology,
Coimbatore- 641402. Coimbatore- 641402.
Submitted for the university mini Project viva voce Examination held
on………
2
ACKNOWLEDGEMENT
We extend our heart full gratitude towards our revered Founder Chairman
Thiru. Pongalur N. Palanisamy ,Vice Chairperson Mrs.P.Indu Murugesan
and Executive Trustee Mr.A.Suriya all other trust members for having
provided us with necessary infrastructure to undertake this project.
POONTHAMIZHAN M
SRI SIVAHARI P
STALIN RAJ K
3
ABSTRACT
4
TABLE OF CONTENTS
5
1. INTRODUCTION
6
2. CIRCUIT DIAGRAM
7
3. LIST OF COMPONENTS
8
4. COMPONENTS
9
4.1.1ARDUINO UNO
The UNO is one of the more popular boards in the Arduino family and a
great choice for beginners Arduino can interact with buttons, LEDs, motors,
speakers, GPS units, cameras, the internet, and even your smart-phone or you’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 are
easy to learn has led to a large community of users who have contributed code
and released instructions for a huge variety of Arduino-based projects.
FIG.4.1ARDUINO UNO
10
4.2.1Specifications
Microcontroller: ATmega328P
Operating Voltage: 5V
Input Voltage (recommended): 7-12V
Inout Voltage (limit): 6-20V
Digital I/O Pins: 14 (of which 6 provide PWM output)
PWM Digital I/O Pins: 6
Analog Input Pins: 6
DC Current per I/O Pin: 20 mA
DC current for 3.3V Pin: 50 mA
Flash Memory: 32 KB (ATmega328P) of which 0.5 KB used by
bootloader.
SRAM: 2 KB (ATmega328P)
EEPROM: 1 KB (ATmega328P)
Clock Speed: 16 MHz
4.2ULTRASONIC SENSOR
Ultrasonic sensor is an instrument that measures the distance to an
object using ultrasonic sound waves. An ultrasonic sensor uses a transducer to
send and receive ultrasonic pulses that relay back information about an object‘s
proximity. It is used to monitor the level of garbage level.
Ultrasonic sensor vibrates at a frequency above the range of human
hearing. This sensor determines the distance to a target by measuring time
lapses between the sending and receiving of the ultrasonic pulse.
11
The Ultrasonic Sensor is used to measure the distance with high accuracy
and stable readings. It can measure distance from 2cm to 400cm or from 1 inch
to 13 feet.
It emits an ultrasound wave at the frequency of 40KHz in the air and if the
object will come in its way then it will bounce back to the sensor. By using that
time which it takes to strike the object and comes back, you can calculate
Distance = Time * sound speed/2 (1)
Where Time = the time between an ultrasonic wave is received and transmitted.
It has four pins. Two are VCC and GND which will be connected to the 5V and
the GND of the Arduino while the other two pins are Trig and Echo pins which
will be connected to any digital pins of the Arduino.
12
4.2.1Specifications
Working voltage: +5VDC
Theoretical Measuring Range: 2cm to400cm
Practical Measuring Range: 2cm to100cm
Accuracy:3mm
Figure displaying the internal infrastructure of the servo motor and figure 4
shows the angular rotation of the servo motor that how it will perform its
angular rotations when a signal will be provided by microTiny and
lightweight with high output power. Servo can rotate approximately 180
degrees (90 in each direction), and works just like the standard kinds but
smaller. You can use any servo code, hardware or library to control these
servos. Good for beginners who want to make stuff move without
building a motor controller with feedback & gear box, especially since it
will fit in small places. It comes with a 3 horns (arms) and hardware
controller.
13
FIG4.3MICRO SERVO MOTOR
4.3.1Specifications
14
4.4BREAD BOARD
As the name suggests, the term breadboard can be derived from two
terms namely bread & board. Initially, this was used to cut the bread into pieces.
Further, it was called a breadboard & it was used in electronics projects and
electronic devices in the year 1970. A breadboard is also known as a solderless
board because the component used on the breadboard does not need any
soldering to connect to the board, so it can be reused.
If you make any mistake while connecting the components, you can place
or remove the components effortlessly. For beginners of electronics, this device
is very helpful to make mini-projects. If a designer builds a simple circuit that
they desire to analyze, then a breadboard gives a quick solution. The breadboard
diagram is shown below.
15
FIG4.4BREAD BOARD
4.5 DUSTBIN
A waste container is a container for temporarily storing waste, and is
usually made out of metal or plastic. The curbside dustbins usually consist of
three types: trash cans (receptacles made of metal or plastic), dumpsters (large
receptacles similar toskips) and wheelie bins (light, usually plastic bins that are
mobile). All of these are emptied by collectors, who will load the contents into a
garbage truck and drive it to a landfill, incinerator or consuming crush facility to
be disposed of.
16
4.6JUMPER WIRES
Jump wires (also called jumper wires) for solder less bread boarding can
be obtained in ready-to-use jump wire sets or can be manually manufactured.
The latter can become tedious work for larger circuits. Ready to-use jump wires
come in different qualities, some even with tiny plugs attached to the wire ends.
Jump wire material for ready-made or homemade wires should usually be 22
AWG (0.33 mm2 ) solid copper, tin-plated wire - assuming no tiny plugs are to
be attached to the wire ends. The wire ends should be stripped 3 ⁄16 to 5 ⁄16 in
(4.8 to 7.9 mm).
Shorter stripped wires might result in bad contact with the board's spring
clips (insulation being caught in the springs). Longer stripped wires increase the
likelihood of short-circuits on the board. Needle-nose pliers and tweezers are
helpful when inserting removingwires, particularly on crowded boards.
17
4.7. SOFTWARE REQUIREMENTS
4.7.1ARDUINO IDE
The Arduino project provides the Arduino integrated development
environment(IDE),which is a cross-platform application written in the
programming language Java. It is originated from the IDE for the language
Processing and Wiring. It is designed to introduce programming to artists and
other newcomers unfamiliar with software development.
4.7.2WORKING PRINCIPLE
After wiring and attaching all the devices and setting up to the Smart
Dustbin, now observe all the important setup whether they are well connected
or something missed. After connection set up now next step is to submit/upload
code in Arduino and supply power to the circuit. When system is powered ON,
Arduino keeps monitoring for any things that come near the sensor at give
range. When Ultrasonic sensor detect any object for example like hand or
others, here Arduino calculates its distance and if it less than a certain
predefines value than servo motor get activate first and with the support of the
extended arm of the lid. Lid will open for a given time than it will automatically
close.
18
4.7.3ADVANTAGES
19
They help to:
encourage recycling
collect and analyze area-specific data on waste volumes for better
planning
increase WiFi coverage with their function as a free public WiFi hotspot.
20
5.2 FUTURE SCOPE
Improved cleanliness
CO2reduction
Dynamic routing
Cost reduction
5.4 APPLICATIONS
With the upcoming concept of smart cities we can use this project as an
attempt to digitalize our way of living.
21
5.5 LIMITATIONS
The system needs protection from damage due to any external sources. Hence
it requires a good cover for protection.
If the sensor front get‘s covered in garbage, the sensor might not give
accurate readings.
When multiple sensors are installed, interference of one wave into another
could lead to errors in readings.
22
6. CONCLUSION
23
7. RESULT
24
8. REFERENCES
25
8) Ramji DR, Shinde JR, Venkateswarlu R. Smart Hands-Free Waste
Compactor Bin for Public Places.International Journal of Digital
Electronics. 2019;1(2):52-8.
9) Hassan SA, Jameel NG, Şekeroğlu B. Smart solid waste monitoring and
collection system. International Journal. 2016 Oct;6(10).
10) Sai PY. IOT Smart garbage monitoring system in cities-An effective
way to promote smart city.International Journal of Advanced Research in
Computer Science and Software Engineering. 2017 Feb;7(2).
26
9. APPENDIX
#include <Servo.h>
void setup() {
servo.write(0);
27
void loop() {
digitalWrite(TRIG_PIN, HIGH);
delayMicroseconds(10);
digitalWrite(TRIG_PIN, LOW);
else
Serial.print("distance: ");
Serial.print(distance_cm);
Serial.println(" cm");
delay(500);
28
10. PICTURE OF THE PROJECT
29