You are on page 1of 12

Rizvi College of Engineering

Department of Computer Engineering


SKL-OOP (JAVA) Mini Project Report
on

SECURITY ALARM SYSTEM BASED


ON PIR SENSOR
Submitted
by

Gausiya Ansari (201A066)


Atharva Gurnule (201A065)
Amaan Shaikh (201A064)
Cezzane Khan (201A069)

University of Mumbai (2020 –20201)

~1~
Abstract

Malaria is a blood disease caused by the Plasmodium parasites transmitted through the bite of
female Anopheles mosquito. Macroscopics commonly examine thick and thin blood smears
to diagnose disease and compute parasitemia. However, their accuracy depends on smear
quality and expertise in classifying and counting parasitized and uninfected cells. Such an
examination could be arduous for large-scale diagnoses resulting in poor quality. State-of-
the-art image-analysis based computer-aided diagnosis (CADx) methods using machine
learning (ML) techniques, applied to microscopic images of the smears using hand-
engineered features demand expertise in analyzing morphological, textural, and positional
variations of the region of interest (ROI). In contrast, Convolutional Neural Networks (CNN),
a class of deep learning (DL) models promise highly scalable and superior results with end-
to-end feature extraction and classification. Automated malaria screening using DL
techniques could, therefore, serve as an effective diagnostic aid. In this study, we evaluate the
performance of pre-trained CNN based DL models as feature extractors toward classifying
parasitized and uninfected cells to aid in improved disease screening. We experimentally
determine the optimal model layers for feature extraction from the underlying data. Statistical
validation of the results demonstrates the use of pre-trained CNNs as a promising tool for
feature extraction for this purpose.

~2~
Certificate

This is to certify that the mini project report entitled “SECURITY ALARM SYSTEM
BASED ON PIR SENSOR” has been submitted by Gausiya Ansari, Atharva Gurnule, Amaan
Shaikh amd Cezzane Khan under the guidance of Prof. Shaikh Mohd Ashfaque in partial
fulfillment of the requirement for the award of 2nd year Engineering in AI&DS Engineering
from University of Mumbai.

Certified By

Prof. Amit Redkar Nargis shah

Project Guide Head of Department

Prof. ____________ Prof. ______________

Internal Examiner External Examiner

Dr. Varsha Shah

Principal

Department of ComputerEngineering
Rizvi College of Engineering,
Off Carter Road, Bandra(W), Mumbai-400050

~3~
Index

Topic Page no.

Abstract 2

Table of contents 4

Project Description 5

Circuit Diagram 6

Components Requirements 7

Algorithm 8

Project Code 9

Result / Output 10

Conclusion 11

References 12

PROJECT DESCRIPTION

~4~
The main intention of this project is to provide security.
This project is based on PIR sensor with piezoelectric
sensor which generates a siren. PIR sensor senses the
infrared radiation which is emitted from the humans
and then gives a digital output. This digital output is
given to the Arduino UNO. after getting digital signal
from the PIR sensor, the Arduino UNO then triggers
the Piezo electric sensor. Thus it produces the sound
when only human is detected. 

CIRCUIT DIAGRAM

~5~
CIRCUIT COMPONENTS

 Arduino UNO
 PIR Sensor
 Piezo electric sensor
~6~
 Resistor (220 ohm)
 LED

~7~
ALGORITHM

~8~
PROJECT CODE
int buzzerPin = 8; //BUZZER INPUT PIN.
int ledPin = 13; //LED PIN.
int pirPin = A0; //MOTION SENSOR INPUT
PIN.
int sensorValue = LOW; //DEFAULT SENSOR STATE.

void setup() { //INITIAL


SETTINGS/ASSIGNMETN.
pinMode(buzzerPin, OUTPUT); //SET BUZZER AS OUTPUT.
pinMode(ledPin, OUTPUT); //SET LED AS OUTPUT.
pinMode(pirPin, INPUT); //SET PIR AS INPUT.
}
void loop() { //COMMAND TO BE
REPEATED.
sensorValue = digitalRead(pirPin); //READ PIR INPUT PIN.
if ( sensorValue == HIGH) { //IF MOTION IS DETECTED.
tone(buzzerPin, 1200); //BUZZ THE BUZZER.
digitalWrite(ledPin, HIGH); //ON LED.
delay(100); //TIME DIFFERENCE
BETWEEN HIGH(ON)& LOW(OFF).
noTone(buzzerPin); //SILENT BUZZER.
digitalWrite(ledPin, LOW); //OFF LED.
delay(100); //TIME DIFFERENCE
BETWEEN HIGH(ON)& LOW(OFF).
}
else { //IF NO MOTION IS
DETECTED.
noTone(buzzerPin); //SILENT THE BUZZER.
digitalWrite(ledPin, LOW); //OFF LED.
}
}

~9~
RESULT / OUTPUT

(BEFORE MOTION DETECTED)

(AFTER MOTION DETECTED)

~ 10 ~
CONCLUSION

Thus, we have designed a home security alarm system


using Arduino and PIR motion sensor, which is handy,
portable, cost-effective and highly effective as well. Such
alarm systems are hugely in demand for security purposes,
and thus the given system can be proved useful and
effective in view of the above features.

~ 11 ~
REFERENCES

~ 12 ~

You might also like