Arduino Based Security System Using Passive Infrar
Arduino Based Security System Using Passive Infrar
1. Introduction
A security framework that can have the option to recognize and screen the zone and respond viably to
security danger is in incredible need. Because of the expanding number in wrongdoing and theft, the
requirement for a proficient security framework is fundamental. There are now loads of security
frameworks in the realm of innovation as of now, in the market for both indoor and outdoor
applications, for example, Ultrasonic identifiers, CCTV, microwave indicators, photoelectric finders,
infrared locators and so forth [1-3]. Anyway the greater part of these frameworks of being costly in the
market, or they require increasingly electrical force development, more memory space of usage of the
account framework and complex circuity, and so on. Accordingly an answer for conquer these issues
could be by utilizing a sensor of minimal effort which can identify the interlopers, and other security
astonishingly inside the sensor's discovery run and creates and yield [4].
This yield is can likewise be utilized to additionally flagging and actuating other security gadgets like
caution framework, helping framework and other comparable security danger gadgets. Which means
this framework can spare force utilizations on the grounds that these segments get activated just when
there are gate crashers and security dangers in the sensor's discovery run. A Passive Infrared radiation
motion sensor is security based system that saves the power consumption and the memory space of the
recording system. [5] Passive Infrared Radiation (PIR) sensor detects the change in infrared radiation
of warm blooded moving object in its detection range. According to the change in infrared radiation,
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
4th International Conference on Science and Sustainable Development (ICSSD 2020) IOP Publishing
IOP Conf. Series: Earth and Environmental Science 655 (2021) 012039 doi:10.1088/1755-1315/655/1/012039
there will also be a change in the voltages generated which was amplified and then used to turn ON
webcam or lighting through a relay system.
The use of motion detectors goes back to ancient societies that developed agriculture and motion
detection of people and things can be traced back to the early decades of the 20th century, with many
of the same principles still in use today [6]. The objective of this work is to develop a simplified
version of a PIR sensor which can be installed on campus and houses for lightening systems, shops
and malls for security systems and other major applications and places all over the globe. In order to
understand the full ideal of this project, we need to review the history of motion detection and how it
came to surface between the 20th and 21st century.
The Arduino Nano is a lot of like the Arduino UNO. They utilize a similar Processor (Atmega328p)
and consequently the two of them can have a similar program. One major distinction between both is
the size UNO is twice as large as Nano and consequently consumes more space on your venture.
Additionally Nano is breadboard agreeable while Uno isn't. To program an Uno you need Regular
USB link where with respect to Nano you will require a smaller than normal USB link. The Arduino
board is structured so that it is very simple for beginners to begin with microcontrollers [4]. There are
three different ways by which you can power up your Nano, by connecting the mini USB jack to a
telephone charger or PC through a cable and it will draw power required for the board to work. The
2
4th International Conference on Science and Sustainable Development (ICSSD 2020) IOP Publishing
IOP Conf. Series: Earth and Environmental Science 655 (2021) 012039 doi:10.1088/1755-1315/655/1/012039
VIN pin can be provided with an unregulated 6-12V to control the board. The on-board voltage
controller manages it to +5V. In the event that you have a managed +5V gracefully, at that point you
can legitimately give this o the +5V pin of the Arduino. There are 14 digital Pins and 8 Analog pins on
the Nano board. The digital pins can be utilized to interface sensors by utilizing them as info pins or
drive loads by utilizing them as yield pins.
Most PIR modules have a 3-pin connection at the side or bottom. The pin-out may vary between
modules. One is described as the ground pin, the other is the signal pin, and the last pin is for power.
Power is usually 3-5VDC input but may be as high as 12V. The PIR acts as a digital output, it can be
high voltage or low voltage, so all you need to do is listen for the pin to flip high (detected) or low (not
detected) by listening on a digital input on your Arduino. Power the PIR with 5V and connect ground
to ground. Then connect the output to a digital pin.
The input defines that Arduino should receive signal. While the output orders it to send signal out. The
Gsm works with signal connection, transmitting and receive signal both simultaneously. Once the set-
up has been completed, the Sensor can now work effectively. The loop stage is then assigned for the
codes to work repeatedly when there is detection. After the program was successfully uploaded to the
circuit, a test was carried out to determine if the PIR worked perfectly and it came out with positive
results as it detected motion. As a motion was detected, the Sensor became active, therefore gave a
3
4th International Conference on Science and Sustainable Development (ICSSD 2020) IOP Publishing
IOP Conf. Series: Earth and Environmental Science 655 (2021) 012039 doi:10.1088/1755-1315/655/1/012039
signal to the Arduino which gave an output signal to the led and thereby making the buzzer to sound
an alarming noise. Figure 4 shows a successful outcome of the motion test. The image here displays a
repetition command for when there is detection and when there is no detection. When a motion is
detected, the screen displays “Motion-detected warning break-in at home” as security alert
information.
4
4th International Conference on Science and Sustainable Development (ICSSD 2020) IOP Publishing
IOP Conf. Series: Earth and Environmental Science 655 (2021) 012039 doi:10.1088/1755-1315/655/1/012039
Figure 4 and 5 shows a successful result of the function of the Gsm module in the Circuit. During the
programming set-up stage, a phone number was assigned and stored in the code, therefore when there
is a break-in and motion is detected, the sensor sends a message to the house/shop owner. After the
build-up in Figure 5, the first casing appeared to be small for all the components to fit in, therefore
another casing had to be printed which took a few hours. And it was required to use the specified
voltage of 5 V as that is the required optimal power to run. Also, there was no current observation in
the circuit due to the addition of the capacitor to store excess electrical current. And observation was
the time delay for the buzzer to sound after detection, due to the fact that it must first send a SMS to
the owner.
4. Conclusion
Advancement in innovation and technology has significantly improved security in our regular day to
day existence. This research focuses on how to configure a simple home security framework using a
PIR sensor (Passive Infra-Red) in light of a microcontroller. This safety will work if the PIR (Passive
Infra-Red) sensor recognizes any individual that would not like to go into the house, and afterward the
micro-controller process and instructs a mobile phone to send an alarm signal in the form of Short
Message Service (SMS). This work has shown that utilization of Sensors ought to be utilized in shops
and homes in Nigeria and African nations in this way. This task can be of acceptable use and be mass
produced economically to be applied in different houses, shops, and even in vehicles.
Acknowledgment
The authors appreciate the full conference support received from Covenant University, Nigeria.
References
[1] PemaChodon, Devi Maya Adhikari, Gopal Chandra Nepal, RajenBiswa, SangayGyeltshen,
Chencho (2013). Passive Infrared (PIR) Sensor Based Security System. International
Journal of Electrical, Electronics and Computer Systems.(IJEECS) 14(2):1-6.
[2] Adagunodo T.A., Ajigbotosho J.J., Obafemi L.N., Usikalu M.R., Akinwumi S.A., Ayara W.A.
(2018). Construction of an in-situ Smart Device that Measures some Basic Environmental
Factors for Agricultural Monitoring. IOP Conference Series: Earth and Environmental
Science, 173: 012023. https://doi.org/10.1088/1755-1315/173/1/012023.
[3] Omotosho T. V., Abiodun D. T., Akinwumi S. A., Ozonva C., Adeyinka G., Obafemi L. N. (2017).
Design and Construction of a Pure Sine Wave Inverter”. International Conference on Science
and Sustainable Development (ICSSD 2017). Journal of Informatics and Mathematical
Sciences. Vol. 9, No. 1, pp. 397–404.
[4] Muzamil Ahmad, Muhammad Shoaib, AizazulHaq (2019):
An Efficient System for Human Detection Using PIR Sensor and Mobile Technology.
Computer Science. 1-3.
[5] Goni, I. and Hassan, R., (2019). Intelligent Arduino Home Based Security System Using Global
System for Mobile Communication (GSM) and Passive Infrared (PIR) Sensor.
Communications, 7(2), 45-49.
[6] Wibowo, Pristisal, SollyAryzaLubis, and ZuraidahTharoHamdani (2017). Smart Home Security
System Design Sensor Based on Pir and Microcontroller. International Journal of Global
Sustainability 1(1) 67-73.