Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

OBJECTIVES PIR sensors are useful to sense motion and als, Assignments of Introduction to Computing

ddddgggggggggggggggggggggggggggggggggggggggggggggg

Typology: Assignments

2020/2021

Uploaded on 06/12/2021

bipin-karki
bipin-karki 🇬🇧

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
INTRODUCTION:
The project that I’m going to introduce is Antitheft Detection Project. So, basically this project is
designed to develop automation security system for home and businesses. Due to weak security
system in in our room and offices, we are being vulnerable to many thefts and attacks to our
Properties. So, for reliable and systematic solution the Anti-theft Detection project is being created.
Personally, I have also gone through the insecure thoughts of someone entering to my house when
going outside. There is always a risk of being attacked and loss of some vital properties. There is a
traditional door lock system but it is not always reliable and secure. So., to fulfill the need of Secure
and reliable security system with real time notification, an Anti-theft Detection project is formed.
AIMS
The aims of this project is to develop an antitheft security system using Nodemcu and PIR motion
sensor.
OBJECTIVES
PIR sensors are useful to sense motion and also can detect whether the human has moved out of
the sensor range or not .PIR(passive Infrared radiation) is integrated in such a way that the system
works when there is any Physical Movement .So with the help PIR sensor, the objectives are:
Motion Detection
Testing the PIR sensor
Develop a User Notified security system through Blynk App
Discussion on Limitation and challenges of the Project
Discussion of future Works
PROBLEM JUSTIFICATION
There is a great need of strong and secure security system around our home and businesses.
Traditional door lock system is not that reliable and secure. Thieves and criminals can use the
modern tools to break those locks and attack homes and properties. Moreover, further damages can
be prevented if there is Real-time Security system. Criminals can easily break into someone’s house
and properties and attacks vulnerable children, steal from innocent people and might kill them too.
So to avoid these kind of huge loss of human and properties, a Real time Security system is
necessary to reduce the theft. Proposed Work provides the notification to the owner if any
Stranger’s Motion is detected.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download OBJECTIVES PIR sensors are useful to sense motion and als and more Assignments Introduction to Computing in PDF only on Docsity!

INTRODUCTION:

The project that I’m going to introduce is Antitheft Detection Project. So, basically this project is designed to develop automation security system for home and businesses. Due to weak security system in in our room and offices, we are being vulnerable to many thefts and attacks to our Properties. So, for reliable and systematic solution the Anti-theft Detection project is being created. Personally, I have also gone through the insecure thoughts of someone entering to my house when going outside. There is always a risk of being attacked and loss of some vital properties. There is a traditional door lock system but it is not always reliable and secure. So., to fulfill the need of Secure and reliable security system with real time notification, an Anti-theft Detection project is formed.

AIMS

The aims of this project is to develop an antitheft security system using Nodemcu and PIR motion sensor.

OBJECTIVES

PIR sensors are useful to sense motion and also can detect whether the human has moved out of the sensor range or not .PIR(passive Infrared radiation) is integrated in such a way that the system works when there is any Physical Movement .So with the help PIR sensor, the objectives are:  Motion Detection  Testing the PIR sensor  Develop a User Notified security system through Blynk App  Discussion on Limitation and challenges of the Project  Discussion of future Works

PROBLEM JUSTIFICATION

There is a great need of strong and secure security system around our home and businesses. Traditional door lock system is not that reliable and secure. Thieves and criminals can use the modern tools to break those locks and attack homes and properties. Moreover, further damages can be prevented if there is Real-time Security system. Criminals can easily break into someone’s house and properties and attacks vulnerable children, steal from innocent people and might kill them too. So to avoid these kind of huge loss of human and properties, a Real time Security system is necessary to reduce the theft. Proposed Work provides the notification to the owner if any Stranger’s Motion is detected.

COMPONENTS REQUIRED

 Node Mcu  PIR Motion Sensor  Bread Board  Male To female Jumper wire

SOFTWARE REQUIRED

 Arduino IDE  Blynk App

PROCEDURE

Following Procedures are followed while developing an Antitheft Detection Project:

Step 1: Collect the material The Required Components on the project such as Nodemcu, PIR sensor and male to female Jumper Wires were requested through the logistics and Received for the project after the approval of the module Teacher. Step 2: The HC-SR501 Passive Infrared (PIR) Motion Sensor PIR is an electronic sensor that detects the movement of the objects by measurement of the levels of IR Radiation. Thus same principle was used in my Anti-theft detection Project which notifies if any stranger enters the house. Step 3: The Setup After Collection all the required materials, finally all the components were joined and interconnected in the breadboard. The Pins of the PIR motion Sensor Were connected to the Respective PINs in the NodeMcu which is held together in the Breadboard. Step 4: Testing the Sensor After the connections are made successfully, the sensors are tested with the digital data and Programs. After looking through all the connections on the breadboard Properly, We had to make

As seen above the notification is added and the widget button for the on/off control has been added.

CIRCUIT DIAGRAM

NodeMCU PIR Sensor 1 GND GND 2 Vin VCC 3 D1 Out Pin

CODE EXPLANATION

Talking about the code, First of all I have included all the libraries which is Blynk app Library and And Node 12E module For the IDE. Firstly, Authentication is taken from the Blynk Application. Then, Network is created using SSD and Password to successfully transfer the data. Then Input Pin which is Pir pin has been declared. For Debugging, Serial function is created which is given a port of

  1. Delay time is set to 10 seconds. Main work of the program begins in the Loop. If Pin value is high the get function will notify the Blynk app to run .Then, the function will get the data from the Pir sensor, which is converted to Digital Data by the NodeMcu which is ultimately send to Blynk server to generate Notification.

LIMITATION AND FUTURE WORK

Major Limitation of the Project is that the PIR sensor could only detect the motion of the any human beings but couldn’t distinguish and differentiate between Dog and Human Beings. It might notified the same which cannot give the real data to the owner

Future Works

 Night Lightning with NodeMcu and PIR sensor A stranger going to the garage at night switch on the garage lights by detecting its presence using PIR sensor.  Data Logging Using Real time Clock ,PIR sensor and NodeMcu The time of the Data logging when there is (animal in garden) using a real time clock, PIR sensor and Nodemcu.

CONCLUSION

The Project has been done successfully. Throughout Project, I have learnt a lot about the Use of sensors and other necessary IoT components. It is also true that I have faced a lot of problems and Difficulties in doing the project .But with the help of the Module teacher and friends, I have been able to complete the project and also learnt a lot which I can apply in upcoming Projects. At the end of the project I was able to learn different basics concepts of IOT , bread board connection , many more .Also , I was able to apply my theoretical concept and ideas on the practical platform using the resources provided by the college. I would like to thank my module teacher.

References

Azure.microsoft.com. 2021. Azure IoT – Internet of Things Platform | Microsoft Azure. [online] Available at: https://azure.microsoft.com/en-us/overview/iot/ [Accessed 19 March 2021]. Electronicwings.com. 2021. Introduction to NodeMCU | NodeMCU. [online] Available at: https://www.electronicwings.com/nodemcu/introduction-to-nodemcu [Accessed 19 March 2021]. Sensormatic.com. 2021. [online] Available at: https://www.sensormatic.com/loss-prevention/eas/sensors [Accessed 19 March 2021]. PCMAG. 2021. Definition of breadboard. [online] Available at: https://www.pcmag.com/encyclopedia/term/breadboard [Accessed 19 March 2021]. Video demo: https://youtu.be/zIO5E6jO2Ao Git Hub: https://github.com/bipinkarki/IOT_Individual-Project.git