0% found this document useful (0 votes)
94 views

How To Make A Laser Security System Using Arduino PDF

This document provides instructions for making a laser security system using an Arduino and light dependent resistor (LDR). It works by using a laser pointer to shine light on the LDR. When the laser beam is broken, the LDR's resistance changes and triggers the Arduino to sound a buzzer. The document outlines the needed materials, includes a schematic diagram and Arduino code, and suggests adding mirrors to have the laser bounce around and detect if any beams are broken.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

How To Make A Laser Security System Using Arduino PDF

This document provides instructions for making a laser security system using an Arduino and light dependent resistor (LDR). It works by using a laser pointer to shine light on the LDR. When the laser beam is broken, the LDR's resistance changes and triggers the Arduino to sound a buzzer. The document outlines the needed materials, includes a schematic diagram and Arduino code, and suggests adding mirrors to have the laser bounce around and detect if any beams are broken.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

instructables

How to Make a Laser Security System Using Arduino and LDR

by 10dayrehab

You’ve probably seen a movie where a valuable item is protected by a grid of laser beams. The beams look cool
and seem pretty hightech, but the principles behind them are actually very simple.

Step 1: How It Works

When the laser pen shines on the photoresistor, the falling on their sensor. When the photoresistor does
green LED will light up to signify that the circuit is not detect light from the laser, it will drop its
ready. When the laser beam is broken, the LED turns resistance and trigger the Arduino to send voltage to
off and the buzzer sounds. the pin controlling the buzzer. Laser beams that are
visible in daylight or even in the dark are very
As we know from Projects 13 (“Weather Station”) and powerful and can be extremely dangerous. In this
18 (“Intruder Sensor”), photoresistors produce project we’ll use a low-powered laser pen instead.
variable resistance depending on the amount of light

How to Make a Laser Security System Using Arduino and LDR: Page 1
Step 2: Step 1: You Will Need:

Hardware:

LED
Laser
Photoresistor
Piezo
Buzzer
Breadboards
Arduino uno
Resistor 10
Resistor220
Resistor for led.
jumper wire

Software:

Arduino IDE

Step 3: Step 2: Watch the Video Tutorial

https://youtu.be/AmZJkF9jBwo

How to Make a Laser Security System Using Arduino and LDR: Page 2
Step 4: Step 3: Schematics

Arduino Laser Security System Circuit

Breadboard:———–Arduino Pins:———Breadboard
Buzzer——————–Pin9————————Gnd

Laser———————–5v————————–Gnd

Resistor——————A0—————————Gnd,Photocell

Photocell——————-5v————————-Resistor

Led———————-Pin6,Pin7

Note:I’ve used 220 Ohm resistors for all of my LEDs.

How to Make a Laser Security System Using Arduino and LDR: Page 3
Step 5: Step 4: Arduino Sketch

int sensorPin=A0;
int sensorValue=0;

int piezoPin=9;

void setup() {

pinMode(sensorPin,INPUT);

pinMode(7,OUTPUT);

pinMode(6,OUTPUT);

pinMode(piezoPin,OUTPUT);

digitalWrite(7,HIGH);

digitalWrite(6,LOW);

void loop() {

sensorValue=analogRead(sensorPin);

if(sensorValue<=1000)

digitalWrite(piezoPin,HIGH);

{tone(9,3047,400); noTone(8); }

digitalWrite(7,HIGH);

else {

digitalWrite(piezoPin,LOW);

digitalWrite(7,LOW);

sensorValue=1000;

If you add mirrors, you can have the laser bouncing all over the place and if any one of them is
broken it will set off the alarm.

How to Make a Laser Security System Using Arduino and LDR: Page 4

You might also like