SD
SD
SD
1: NAVED AHMAD
2: OMKAR SRIVASTAV
3: SOMESH PATEL
4: MEDHA SHUKLA
5: SRISHTI SINGH
DR ALKA VERMA
PROJECT GUIDE
DATE: 13 Dec 2022
ABSTRACT
1: Introduction
• About Domain/Area
• About the Definition
2: Hardware Overview
• Arduino Uno
• Ultrasonic Distance Sensor
• Servo Motor
• Battery
• Jumper Wire
3: Software Overview
• Integrated Code
4: Conclusion
5: Future Work
6: Bibliography
CHAPTER 1
INTRODUCTION
1: About Domain/Area –
1: ARDUINO UNO
Arduino is an open source, computer hardware and
software company, project, and user community that
designs and manufactures microcontroller kits for
building digital devices and interactive objects that can
sense and control objects in the physical world. The
project's products are distributed as open-source
hardware and software, which are licensed under the
GNU Lesser General Public License (LGPL) or the GNU
General Public License (GPL), permitting the
manufacture of Arduino boards and software
distribution by anyone. Arduino boards are available
commercially in preassembled form, or as do-it-
yourself kits. Arduino board designs use a variety of
microprocessors and controllers. The boards are
equipped with sets of digital and analog input/output
(I/O) pins that may be interfaced to various expansion
boards (shields) and other circuits. The boards feature
serial communications interfaces, including Universal
Serial Bus (USB) on some models, which are also used
for loading programs from personal computers.
Arduino/Genuine Uno is a microcontroller board based
on the ATmega328P (datasheet). It has 14 digital
input/output pins (of which 6 can be used as PWM
outputs), 6 analog inputs, a 16 MHz quartz crystal, 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. You can tinker with your UNO
without worrying too much about doing something
wrong, worst-case scenario you can replace the chip
for a few dollars and start over again. "Uno" means
one in Italian and was chosen to mark the release of
Arduino Software (IDE) 1.0. The Uno board and version
1.0 of Arduino Software (IDE) were the reference
versions of Arduino, now evolved to newer releases.
The Uno board is the first in a series of USB Arduino
boards, and the reference model for the Arduino
platform, for an extensive list of current, past or
outdated boards see the Arduino index of boards.
2: ULTRASONIC DISTANCE
3: Jumper wires-
The term "jumper wire" simply refers to a conducting
wire that establishes an electrical connection between
two points in a circuit. A jump 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.
INTEGRATED CODES
/*
SMART DUSTBIN
THIS IS A CODE FOR MAKING A SMART DUSTBIN WHICH OPENS AND CLOSES
AUTOMATICALLY.
CODE CREATED AND EDITED BY - AMEYA ANGADI
LAST EDITED ON - 02/05/2021
IF DISTANCE IS LESS THAN 20 CM THEN LID OF DUSTBIN IS OPENED FOR
3.5 SECONDS AND THEN CLOSED
*/
Servo servo;
int trig = 5;
int echo = 6;
int servoPin = 9;
long duration, distance, average;
long aver[3];
void setup() {
Serial.begin(9600);
servo.attach(servoPin);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
servo.write(0); //CLOSES CAP ON STARTING
delay(100);
servo.detach();
}
void measure() {
digitalWrite(trig, LOW);
delayMicroseconds(5);
digitalWrite(trig, HIGH);
delayMicroseconds(15);
digitalWrite(trig, LOW);
pinMode(echo, INPUT);
duration = pulseIn(echo, HIGH);
distance = (duration / 2) / 29.1; //CALCULATES DISTANCE
}
void loop() {
Serial.println(distance); //CAN BE DISABLED
for (int i = 0; i <= 2; i++) { //CALCULATES AVERAGE DISTANCE
measure();
aver[i] = distance;
delay(10);
}
distance = (aver[0] + aver[1] + aver[2]) / 3;
https://www.wikipedia.org
https://www.electronicshub.org/smart-dustbin-using-
arduino/
https://nevonprojects.com/smart-dustbin-with-iot-
notifications/
https://innovate.mygov.in/innovation/smart-dustbin/