Monday, January 1, 2018

How to Make Arduino Laser Security System at Home using Arduino and LDR

how to make laser security system
Do you know about Arduino Laser Security System? If you don't know anything, don't worry. Because today i will present a complete package of information about arduino laser security system.

We all want to live safely. So we always try to take necessary steps to keep it safe. Now a days there are a lot of electronic gadget can be found in market to increase the security of our home and office. Some of them is like CC TV Camera, Anti Theft Alarm, Smart Door locking system etc. But today i will show you how to make a powerful Laser Security System very easily.

Our laser security system is designed in microcontroller based platform. Because microcontroller now brings a modern era to develop electronics project using a few component. Also we can develop this project and can collect data for future analysis. Here i have used Arduino Uno R3 for this process. Arduino is now a popular microcontroller platform in the world. If you have a basic abc knowledge on programming you can make different types interesting project using this board. One of the best example of this is our arduino laser security system.

arduino uno r3

How Laser Security System work?

At first Let's know how this project work. Basically in this project we are using a special kind of light which is known as laser light. Laser is a alphabetical name. The abbreviation of LASER is Light Amplified by Stimulated of Radiation. It means Laser is the enlargement of light. But laser is not as normal light. It is a monochrome light. The light is Sharp and Thick. The laser light waves are same size. The most important feature of this light is that these lights do not spread on the way as like as normal light. This ray can be go too far as it is highly concentrated and one-way.

Using this special power of laser rays, we will basically create our arduino laser security system. Many of you have heard about Dark Sensor. For those who did not listen, there is a photo diode in this dark sensor circuit called LDR (Light Depending Resistor). It works like a normal conductor when it lamps up on LDR. Again if there is darkness then electricity is prevented to flow. Using this feature of LDR, we will create our project.

Some of you have already got the idea about the project. But there is no reason to fear those who are still unable to understand. I'm gonna give up. We will create a circuit using LDR which will sound when it is dark. Now we will set the target of laser dot on the LDR from a distance. So the laser light will fall on LDR. In this situation the circuit will not give any sound signal. But whenever anybody wants to cross the space between the laser light and the LDR, the laser ray will be interrupted to fall on the LDR. As a result, due to the absence of light, the circuit will give sound signal. I think now the idea is totally clear to all. Ok, let's learn how to make a laser security system.

Arduino Laser Security System

For making this system we will use the following components:
  • Arduino Uno R3
  • A Laser Light
  • A LDR
  • A Buzzer
  • A 1KOhm Resistor
  • Some Jumper Wire
  • A Breadboard
  • A Battery
arduino breadboard
arduino jumper wire
ldr, buzzer, resistor

Here, i am using Arduino Uno R3 Board. Because Arduino is a micro controller board. It means we can easily modify this board as our wish using computer programming. It will be very helpful to make our laser security system project more easily using little components.

Procedure: Connect the all components as like the circuit diagram given below. Here, i have used a arduino microcontroller board. You can collect this board from any local shop. I have collected my arduino board from Amazon. You can collect all other components from here.

laser security system

The connection of this circuit is very easy. At first i have connect the one leg of ldr with Vcc. Here Vcc means 5v. We know that ldr has no polarity. So you can connect any terminal of the ldr. Now connect the other leg of ldr with the 1 resistor. And the other leg of resistor will be connected with the GND. Now the connection point of ldr and resistor will be connected with the A0 pin of Arduino. Now we also need to connect a buzzer with arduino for making alarm. Connect the positive terminal of the buzzer with pin 12 of Arduino. And the other pin of Buzzer connect with GND. Now connect a battery with this circuit. Add another battery with the laser light. Our Arduino Based Laser Security System circuit is now ready. Now it's time to upload the code in Arduino to configure it. The code is very simple. Follow my video tutorial. Here, i have showed the full process of making circuit and explained the code.

Coding: Here i have used two code in my laser security system using Arduino. The first code is for calibration. In this code i have used the analogRead() function to read the value from Ldr. The analogRead() givea a value which range is 0 to 1024. I have used this code to understand what is the value when the laser is targeted on the ldr and what is the value when the laser light is not targeted or failed to fall on the ldr. This two values help me to make a condition for alarming the buzzer. Suppose the when the laser light is focused on the ldr the output value from analogRead() is 600 and when the laser light is failed to focus then the output value of analogRead() is 200. Now we can easily make a condition that if the value is less than 400 it means that surely someone are crossing the path between ldr and laser so that the light can not directly focus on ldr. So we should turn on our arduino laser security system alarm to notice that someone is crossing the area. Else the value is normally greater than 400 means there is no obstacle or human between the ldr and laser. So the alarm will turn off. In the second code i have used the value in my condition which i calibrated from first code. If you watch the tutorial it will be more clear to you.

Now it's time to use this circuit. For this turn your laser light on using battery and place it on the door frame. Place the LDR circuit on the other side of the door frame in such a way that the light from the laser light goes directly to the LDR. Now finish the job. The laser light will be interrupted if someone wants to enter the door. As a result, the Buzzer sound in the circuit will have to be sounded.

I hope everybody understand this project and will be able to make Laser Security System by Arduino. I also share the video tutorial. It will be very helpful to understand this project. If you have any question about this project feel free to ask me.

No more today. Stay safe and visit my blog everyday. Good Bye. 


  1. The coding page does not open. What can I do?

    1. Great Article
      Cyber Security Projects

      projects for cse

      Networking Security Projects

      JavaScript Training in Chennai

      JavaScript Training in Chennai

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  2. Fact is that everybody that uses a rangefinder knows how easy they are to use and how beneficial they can be, although the actual dynamics of laser rangefinders and how rangefinders work is understood very little by those who actually use them. link

  3. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! security camera installation

  4. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Serious Security Melbourne

  5. When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. Hikvision

  6. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks baby monitor

  7. The last location is the security camera that fits in somewhere between the super close-up, and the stage setting wide angle camera. Its role is for high priority locations.Reolink customer service

  8. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. Hikvision DS-2CD2365G1-I

  9. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks CCTV Installers Melbourne

  10. That is really nice to hear. thank you for the update and good luck. Melbourne CCTV systems

  11. Interesting site. A great deal of web journals I see nowadays don't generally give whatever I'm keen on, however I'm undoubtedly inspired by this one. Recently imagined that I would post and tell you poe security camera system

  12. I am impressed. I don't think Ive met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here. CCTV Sydney

  13. Excellent and very exciting site. Love to watch. Keep Rocking. outdoor camera, home security cameras

  14. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.

  15. A specialist guidance is a lot of fundamental, when it turns into a need to enlist an expert locksmith.Emergency Locksmith Gold Coast

  16. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. Home Security Systems

  17. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. Home Security Systems

  18. If you define security internally (and you're completely free to select this option), 24response many obstacles that seemed to hold you back will just melt away.

  19. I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! led headlights

  20. Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC. Complete Alarm Systems

  21. Spot in the event that it is in the best possible request, in the event that it is wedged or not balanced, to maintain a strategic distance from inconvenience . Schl├╝sseldienst in Aachen

  22. A PC security camera tops off the hard circle space quick since it creates part of the recordsSecurity camera installation

  23. Skip Energy is a Texas Electric Company situated in Houston. Bob Energy's objective is give more than low Texas Electric Rates to our clients. With inventive and adaptable plans, amazing client assistance, and prevalent client rewards, Bounce Energy offers an interesting way to deal with Texas power.electrician

  24. Security home cameras arrive in a choice of configurations that relies upon the mortgage holder needs. Some normal kinds incorporate c-mount cameras, shot and vault. tampa security cameras