Arduino Projects

How to make a laser security Alarm | DIY Laser security room

A laser security alarm is one of the most secure alarms for the interruption of any object or any person. There are many rays of the same laser in the same room. i saw many places they use the mirror to reflect the rays and make a laser trap. whenever any thing comes in the contact of the laser the alarm will be started.

laser security Alarm

Introduction

Also, we have seen this kind of laser and activity in many movies too. a whole trap of laser is sensitive if you even touch the laser once the alarm will be start. So, we have made the same laser security alarm. all the data how we made this system how we have done the coding part we will going to share in this article.

I hope you will appreciate the whole work and support us. we just need you attention.

LASER stands for Light amplification by stimulated emission of radiation. this technique give the light a long path. the intensity of light is very much higher than ordinary light. which you can see clearly. Also we have use a lens over there which can amplify the magnitude of the light.

HTML Image as link
Qries

How to make laser security Alarm system

We are using the reflection technique to make the trap of the laser. we are using 6 mirror at the manner that the laser reflect to one by one mirror. at the last we are using a light detector sensor. on which the laser will be incident.

There is a sensor called LDR sensor. LDR stands for Light Dependent resistor. when the light incident on the sensor the sensor will give the output. So we have attached this sensor at the same place where the laser comes after reflect back from the mirrors.

So, to make this awesome DIY laser Security we need some components and the list is given below.

Required Components for laser security Alarm

  • Laser Light module:- Laser light is a kind of light delivered by a gadget called a laser. It is exceptionally directional and monochromatic, meaning it has a solitary tone or frequency. Laser light is made when energized iotas or atoms discharge photons that animate different particles to transmit more photons, coming about in an engaged
  • Arduino Uno:- Arduino Uno is a microcontroller development board that can control anything with the help of coding. it is a very good example of an embedded system where we control the electronics using Coding
  • LDR sensor:- LDR sensor is a kind of sensor that is photosensitive when any light is directly incident it converts it to an electrical signal.
  • Small mirrors:- We need some small pieces of mirrors that can easily reflect the laser
  • Wires:- a bunch of wires will be enough to complete this project
  • buzzer:- Buzzer is an electronic component that produces sound or we can say it converts the electrical signal to a sound signal. this buzzer will start making a sound when the laser will be disturbed.
  • RGB light:- RGB stands for RED GREEN and Blue. these colors are the basic color of any light so, here we need two colors green and red. the green light of RGB will always be on but when someone touches the laser the light turn RED.

Circuit Daigram for DIY Laser security room

Laser security Alarm CIRCUIT DIAGRAM

you can make the circuit as given the above circuit diagram of this project. onoy you have. toassembled the few components and according to this circuit diagram we will make the code in c/c++ language.

Arduino code for Laser security Alarm

void setup() {
  // put your setup code here, to run once:
pinMode(2, INPUT_PULLUP);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(6, OUTPUT);
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
int m = digitalRead(2);
Serial.println(m);
delay(100);
if(m==1)

{
  
  //Serial.print("LASER ON");
  digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(6, LOW);
  delay(500);
  
  }


else

{
  
 // Serial.print("LASER OFF");
  digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(6, HIGH);

  delay(500);
  
  
  
  }

  

}

Now you need to upload the given code into the arduino and make the connection carefully. If you have any query or if you want to learn more about the project you can visit our website homepage.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button