Project Instrumentation (Smart Trashbin)

31
Home Automation Project SMART TRASHBIN Created By : Group 9 Members : 1. Handy Mulyaguna (151611044) 2. Risana Dewi Saputri (151611059) 3. Siti Amimah (151611062)

Transcript of Project Instrumentation (Smart Trashbin)

Home Automation ProjectSMART TRASHBIN

Created By : Group 9Members : 1. Handy Mulyaguna (151611044)

2. Risana Dewi Saputri (151611059) 3. Siti Amimah (151611062)

Home Automation ProjectSMART TRASHBIN

Smart Trashbin

1

Background

Description,Tools&Material

ProcedureProgram & Series

Trial & Analysis

Conclusion & Suggestion

Science and technology are the things most needed by the people in this era of globalization in order to meet the necessities of life. Science and technology continue to evolve over time, so that the community needs can be easily met.

There are still a lot of trash scattered about the environment around us, but we know that with littering would lead to disaster and disease, By Utilizing Technology and Apply it on the Project Smart Trashbin aims to draw attention to the environment to dispose of waste in place. The Smart trashbin is truly smart, could provide a warning if the bins were full and can be opened automatically if our hands brought closer to the sensor. Smart Trashbin has led and lcd as an indicator if the bins were empty and full.

Background

2

Description

3

This Project worked if someone pass in front of the trash bin,ultrasonic sensor will detect the distance,we set the distance in less 10cm so if someone pass less 10 cm from the trashbin,ultrasonic sensor will work and moved the servo motor, so that the trash bin will be open,and the Green LED will On,and if the distance more that 10cm the trashbin will keep closed and the Red LED will On.

And if the volume of trash in the low position the Green LED will On and will show an output in LCD Display “BERSIH ITU SEHAT,TERIMAKASIH”,and the last the Red Led Will On if the volume of trash in high volume and the Buzzer will On,and the output in the lcd display is “ PERHATIAN !!! Sampah Penuh”.

Smart Trash Bin

Buzzer LCD Display Ultrasonic Sensor LED

Tools & Material

Arduino Uno

4

Male To Male Jumper

Male To Female Jumper Resistor Servo Motor

Tools & Material

Female to Female Jumper

5

PCB Trashbin

Tools & Material

6

7

Arduino Uno

Arduino/Genuino Uno is a microcontroller board based on the ATmega328P . 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.

8

BuzzerA buzzer or beeper is an audio signalling device, which may

be mechanical, electromechanical, or piezoelectric. Typical uses of buzzers and beepers include alarm devices, timers, and confirmation of user input such as a mouse click or

keystroke. Specification: 23mm diameter,  3.5 KHz drive external piezo buzzer. 5V – 12V.

9

LCD DisplayLCD (liquid crystal display) is the technology used for displays in notebook and other

smaller computers.

13

Specification LCD 16 x 2 

PIN 

DESCRIPTION

1 Ground

2 Vcc

3 Contrast Controller

4 “RS” Instruction/Register Select

5 “R/W” Read/Write LCD Registers

6 “EN” Enable

7 – 14 Data I/O Pins Data I/O Pins

15 Vcc

16 Ground

10

Ultrasonic SensorAn Ultrasonic sensor is a device that can measure the distance to an object by using

sound waves. It measures distance by sending out a sound wave at a specific frequency and listening for that sound wave to bounce back. By recording the elapsed time between the sound wave being generated and the sound wave bouncing back, it

is possible to calculate the distance between the sonar sensor and the object. Specification: HC-SR04 is an ultrasonic ranging module that provides 2 cm to 400 cm

non-contact measurement function. The ranging accuracy can reach to 3mm and effectual angle is < 15°. It can be powered from a 5V power supply.

 

11

Servo MotorA servomotor is a rotary actuator or linear actuator that allows for precise control of

angular or linear position, velocity and acceleration. It consists of a suitable motor coupled to a sensor for position feedback 

The Procedure

13

Prepared All the tools and material that we’ll needed to make this project.

First Stepfind out the module&code of every component.

After we find out all the module,we try the code of every component to test all the component to

make sure that no error,to test the script program we should use arduino apication

2th Step

Combain all the script porgram of every component become one scipt programs,and upload the script,before upload the script,connect Arduino to computer used USB cable.

3rd layer

Connect every cable on all the component,and conncet them to the pin on arduino,and

assamble all of the component on the prothoboard or PCB for the fix script program.

4th Step

Made the desain to trashbin,and placed all the component to the trashbin.

5th layerAfter we finnish do the step,try the

project,pass in the front of trashbin with distance less than 10 cm,and we can see an

output.

Last Step

Script Program

14

Script Program

15

Script Program

16

Script Program

17

22

Wiring

23

How System Work

MIKROKONTROLLER

ARDUINO UNO R3 ATmega

328 P

Servo Motor

Cover Trashb

in

Ultrasonic

HC-SR04

BuzzerLCD Display

LED Display

AKTUATOR

DISPLAY

TRANSDUCER

24

Trial Table

Exp : ( √ ), for Servo Motor rotating, and opened the cover trashbin.

( √ ), for LED Turn On. ( - ), for Servo Motor not rotating, and the cover trashbin keep closed. ( - ), for LED Turn Off.

No

Distance Servo LED(cm) 0 180° RED GREEN

1 1 - √ - √2 3 - √ - √3 6 - √ - √4 9 - √ - √5 12 √ - √ -6 15 √ - √ -7 18 √ - √ -8 20 √ - √ -

25

Analysis

At the time of the trash in a state of stand-by (the cover of trash can closed), which lights up green (no 1, indicator for the trash not full yet) and red light (no1, indicator for cover of the trashbin can closed) when our hand getting close ultrasonic sensor ( ultrasonic sensor 1), then the cover of trashbin opened and the lights turn green (1 & 2, No. 2 indicator for trash can opened) If the trash is empty, then the green light (no one on and the lCD will display the words "Bersih itu sehat. Terimakasih".

If the trash is full, the led will turn red light (no 2 will light up) and the LCD will display the phrase "Perhatian,Sampah Penuh".

26

Conclusion

Arduino Uno can be a controller in this experiment, depending on the script programthat has been created. Datasheet of component is really needed in the trials. The Ultrasonic censor can be detect the distance. The module of all materials is needed. On datasheet, If the distance of 1 to 9 cm, the cover trashbin can opened and green LED turn on. If the distance is more than 9 cm, then the cover trashbin will closed and red LED turn on, meanwhile the green LED turn off.

27

Suggestion

If we want detect the volume of the trash with 3 variable,low,middle,and high,it’s use 2 ultrasonic sensor and set with different distance.

We can used 2 buzzer,for volume of trash and for the cover of the trasbin when the cover of trashbin opened the buzzer will turn on.

28

Reference

https://www.youtube.com/watch?v=3mWDQg3NyoY

https://www.youtube.com/watch?v=S-zSRk9Ibrw

https://www.youtube.com/watch?v=YLIkgHJxIvI

https://www.youtube.com/watch?v=91_3U8ZacBY

29

Reference

https://www.youtube.com/watch?v=6mKbmshUB8w

https://publication.gunadarma.ac.id/handle/123456789/4600

https://www.youtube.com/watch?v=3RV3AI-3zeA

https://www.youtube.com/watch?v=oqV2xU1fee8

30

Check and like our video on YouTube :https://youtu.be/ww8x4HT5bEk

Our Link Project

Thank You!