Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

PROCESSPLAN

Proposed Process Plan Actual Plan Executed


Create a new circuit in Arduino - 5min Create a new circuit in Arduino - 5min

Add new components to the circuit Add new components to the circuit and
and create sample smart dust bin - create sample smart dust bin -
15min 15min

In Arduino connect the components- In Arduino connect the components-


5 min 5 min

Use LED indicators on the dust bin Use LED indicators on the dust bin to
to show the current fill level- 10min show the current fill level- 10min

Run the simulation- 10min Run the simulation- 10 min

Observe the Simulation - Observe the Simulation -

5min 5min

skill :20AI707 IOT Analytics Laboratory Date: 24.07.2023 Name.: SUJITH V


Reflection Sheet

S/N Problems Counter measures Statu


s
1 Add new components to Referring browser’s and rectify 0
the circuit and dustbin to it
show its current fill level

Date: 24.07.2023 Prepared By: SUJITH V

Status Legend :
Self-understood and resolved

Discussed with Trainer and resolved


Yet to discuss / find solution
OUTCOME BASED
LAB TASK
REPORT

20AI707-IOT ANALYTICS LABORATORY

OUTCOME BASED LAB TASK REPORT

Submitted by

SUJITH V
BANNARI AMMAN INSTITUTE OF TECHNOLOGY
(An Autonomous Institution Affiliated to Anna University,
Chennai) SATHYAMANGALAM-638401

JULY 2023

DECLARATION

I affirm that the lab task work titled “20AI707-IOT ANALYTICS


LABORATORY” being submitted as the record of original work done by us
under the guidance of NISHA DEVI K, Designation, Department of Artificial
Intelligence and Data Science.

SUJITH V
202AD146

I certify that the declaration made above by the candidates is true.

(Signature of the

Guide) Ms.

NISHA DEVI K
TABLEOFCONTENTS

CHAPTER NO. TITLE PAGE


NO.

1. EDGE DETECTION

1.1 OBJECTIVE 6

1.2 FLOWCHART 6

1.3 PROCEDURES 7

1.4 CODING 7

1.5 OUTPUT

1.6 CONCLUSION 1
0

1.7 REFERENCES 1
0
OUTCOME BASED
LABTASK
RUBRICS FORM (*to be filled by the lab handling
faculty only)

Student name:
Register number:
Name of the laboratory:
Name of the lab handling
faculty: Name of the task:
Experiments mapped:
1.
2.
3.

S.N Rubri Reward points awarded


o cs
1
2
3
4
5
Total (150 reward
points)
Create a smart dust bin that monitors its fill level. Use LED indicators on
the dust bin to show the current fill level. Empty the dust bin when notified.
OBJECTIVE:
To Create a smart dust bin that monitors its fill level. Use LED indicators on the dust bin to
show the current fill level. Empty the dust bin when notified.

FLOWCHART:
PROCEDURE:

Step 1: Set up the Hardware

Step 2: Code the Arduino

Step 3: Assemble the Dust Bin

Step 4: Test and Calibrate

Step 5: Emptying the Dust Bin

CODING:
#include <Servo.h> //servo library
Servo servo;
int trigPin = 2;
int echoPin = 3;
int servoPin = 9;

long duration, dist, average;


long aver[3];

void setup() {
servo.attach(servoPin);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
servo.write(0); //close dustbin cap on power on
delay(1000);
servo.detach();
}

void measure() {
digitalWrite(trigPin, LOW);
delayMicroseconds(5);
digitalWrite(trigPin, HIGH);
delayMicroseconds(15);
digitalWrite(trigPin, LOW);
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
dist = (duration/2) / 29.1; //obtain distance
}
void loop() {
for (int i=0;i<=2;i++) { //average distance
measure();
aver[i]=dist;
delay(50); //delay between measurements
}
dist=(aver[0]+aver[1]+aver[2])/3; //average distance by 3 measurements
if ( dist<40 ) {
//if hand on the distance 10...50 cm
servo.attach(servoPin);
delay(1);
servo.write(90);
delay(5000); //wait 5 seconds
servo.write(0);
delay(1000);
servo.detach();
}
}

OUTPUT:
CONCLUSION:
Thus the implementation of Creating a smart dust bin that monitors its fill level. Use
LED indicators on the dust bin to show the current fill level and emptying the dust bin
when notified is performed.

REFERENCES:
https://www.researchgate.net/publication/
361412318_DESIGN_AND_CONSTRUCTION_OF_A_SMART_DUSTBIN_SYSTEM_WITH_INTERNET_OF_THING
S_IoT_NOTIFICATION.
OUTCOME BASED LABTASK
RUBRICS FORM

Student name: SUJITH V

Register number:202AD146

Name of the laboratory: IOT Analytics Laboratory


Name of the lab handling faculty: Mrs. NISHA DEVI K

Name of the task: Create a smart dust bin that monitors its fill fill level. Use
LED indicators on the dust bin to show the current fill level. Empty the
dustbin when notified.

Experiments mapped:

1.
2.
3
S.N Rubri Maximum Awarded
o cs reward reward
points points
1
2
3
4
5
6
7
8 Project report 2
0
Total 1
5
0

Signature of Faculty name with date

You might also like