Laser Security Alarm System Using Arduin
Laser Security Alarm System Using Arduin
Security
The Elec-tricks Alarm
System Using
Arduino
Mentor: Sir Zia Ul Haq
Contents
1. Team details
2. Abstract
3. Introduction
4. Objective
5. Scope of the Project
6. Other Significance of Laser Security System
7. Components Required and their Prices
8. Orduino UNO Board
Microcontroller
14 Digital pins
6 Analog pins
Power Supply
USB Port
Reset Button
9. Laser Diode Module
10. LDR
11. Buzzer
12. Circuit Diagram
13. Methodology
14. Source Code/Program
15. References
pg. 1
Laser Security Alarm System Using Arduino
pg. 2
Laser Security Alarm System Using Arduino
Keywords: Arduino, microcontroller, light-dependent resistor, prototype, security, LDR, laser security
Introduction:
Having a sense of security is crucial in daily life.The fundamental need of every person is security.For a
peaceful life, it is essential that we feel secure and that everything is okay. However, in this dangerous world
where crime, terror, and threats are at their highest, how can one cultivate a sense of security? We have a
solution in the form of laser security systems, and more and more people are installing them as a result in order
to feel safe and secure. A laser security alarm is a tool used for safety. It has numerous applications in the
security and defense sectors, ranging from the protection of low-value household items to very high-value assets
of an organization. They were once very expensive options for security requirements. This type of security
system is becoming more accessible due to cost-cutting measures and rapid technological advancements.
In this project, we used the Laser Diode Module KY-008 to design a Laser Light Security System using
Arduino with Alarm. The idea behind the project is to build a security system. The buzzer alarm will begin to
ring whenever any object blocks the LASER ray. This project can be implemented anywhere; in addition to
buildings or other structures, it can also be used to secure other valuable items like jewelry, diamonds, priceless
antiques in museums, etc. With the help of a LASER beam security system, many people secure their homes,
offices, shops, warehouses, and other structures.
Objective:
This project's main goal is to create and put into use an Arduino-based laser-light security system, determine the
functions of an Arduino, laser, and light dependent resistor; Use the functions of the laser, light dependent
resistor, and Arduino; and Create a program that will sound the alarm when something blocks the laser's path.
Scope of Project:
The following scopes are included in the laser-based security system powered by Arduino:
pg. 4
Laser Security Alarm System Using Arduino
An Arduino UNO
Laser Diode Medule:
A laser diode module is a device that uses a semiconductor laser diode to produce laser light. Typically, it
consists of a housing, a lens, and a laser diode chip. Through the process of stimulated emission, in which
electrons are excited to a higher energy level and then emit photons as they return to a lower energy level, the
laser diode chip produces light. The lens in a laser diode module collimates or concentrates the laser beam into a
parallel beam. The housing supports the diode mechanically and shields it from harm from the outside world.
Numerous industries, such as telecommunications, barcode scanning, laser pointers, and medical equipment,
use laser diode modules. They are smaller, use less energy, and are more efficient than other kinds of lasers,
among other benefits. To prevent harm to the laser diode chip, they must be handled carefully as they can be
temperature-sensitive.
The specification of Laser Transmitter Module KY-008 is as follows:
Operating Voltage –
Output Power –
Wavelength –
Operating Current – less than
Working Temperature –
Dimensions –
pg. 5
Laser Security Alarm System Using Arduino
pg. 6
Laser Security Alarm System Using Arduino
Buzzer:
You can use this buzzer by simply providing it with a DC power supply that ranges from 4V to 9V.Simple 9V
batteries can also be used, but a regulated +5V or +6V DC supply is advised. The buzzer is typically connected
to a switching circuit that allows it to be turned ON or OFF at specific times and intervals. You can use this
buzzer by simply providing it with a DC power supply that ranges from 4V to 9V. A simple 9V battery can also
be used, but a regulated +5V or +6V DC supply is advised. The buzzer is typically connected to a switching
circuit to turn it ON or OFF at the appropriate time and interval.
The Buzzer
Circuit Diagram:
pg. 7
Laser Security Alarm System Using Arduino
Methodology:
It is a straightforward prototype that guarantees the home's proper safety and security. A spy camera, a laser
emitter module, a receiver LDR module, a loud piezo buzzer, a few connecting wires, an ESP WIFI module for
internet access, and finally a DC adapter for power source make up the prototype.
pg. 8
Laser Security Alarm System Using Arduino
pg. 9
Laser Security Alarm System Using Arduino
Simply the emitter emits the laser line and the LDR receives the bright striking laser light.
Source Code/Program:
int laserPin = 3;
void setup() {
pinMode(laserPin, OUTPUT);
pinMode(buttonPin, INPUT_PULLUP);
pg. 10
Laser Security Alarm System Using Arduino
Serial.begin(9600);
}
void loop() {
if (! alarmState) {
delay(1000);
digitalWrite(laserPin, HIGH);
delay(10);
unsigned long startTime = millis();
while (millis() – startTime < 1000) {
int sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
if (sensorValue > laserThreshold) {
alarmState = true;
break;
}
delay(10);
}
digitalWrite(laserPin, LOW);
} else {
tone(buzzerPin, 440);
if (! digitalRead(buttonPin)) {
alarmState = false;
noTone(buzzerPin);
}
delay(10);
}
}
References:
[1] Olarewaju .I. K, Ayodele, O. E, Michael. F. O, Alaba. E. S, Abiodun. R. O, 2017. “Design and Construction
of an Automatic Home Security System Based on GSM Technology and Embedded Microcontroller Unit”,
American Journal of Electrical and Computer Engineering, Vol. 1,No. 1, pp. 25-32, Doi:
10.11648/j.ajece.20170101.14
[2] Zungeru. A. M, Kolo. J. G, Olumide. I, September 2012. “A Simple and Reliable Touch Sensitive Security
System”, International Journal of Network Security & its Applications, ISSN 0975-2307, Volume: 4; Issue: 5;
pp. 149-165, DOI: 10.5121/ijnsa.2012.4512
pg. 11
Laser Security Alarm System Using Arduino
[3] British Security Industry Association (BISA),“Journal on security system section strategy for intruder alarm
system”, Page 1-3, April 2005. Accessed at
https://www.thenbs.com/PublicationIndex/documents?Pub%20=BSIA
[6] Suresh.S, J.Bhavya, S.Sakshi, K.Varun and G.Debarshi, “Home Monitoring and Security System”, ICT in
Business Industry & Government (ICTBIG)
[7] https://www.arduino.cc/
[8] https://chat.openai.com/chat
[10] E.Kanniga, M .Sundararajan, “Design of 8051 Microcontroller Based Security System with a Laser Beam
Network”, Indian Journal of Science and Technology, Vol 8
[11] Waqar Ali, Ghulam Dustgeer, Muhammad Awais, Munam Ali Shah, “IoT based Smart Home: Security
Challenges, Security Requirements and Solutions”, Proceedings of the 23rd International Conference on
Automation & Computing
pg. 12