How to make a simple laser alarm with your own hands

27 August 2024 3 minutes Author: Cyber Witcher

In this article, we will consider how to create a laser alarm that will notify you when someone passes by it. It will be an excellent project for beginners in the field of electronics and programming. Laser alarm can be useful for the security of the premises or just as an interesting automation experiment.

Required components:

Connection diagram

summer

  • Anode (marked on the case, positive pin) → D3 pin of the ESP8266

  • Cathode → GND ESP8266

LED

  • Cathode (shorter lead) → GND ESP8266

  • Anode → to a 100 Ohm resistor. Resistor to pin D4 ESP8266

Light sensor module

  • D0 → пін D5 ESP8266 

  • GND → GND ESP8266

  • VCC → пін 3V3 ESP8266 

Laser

  • S → D6 pin of ESP8266

  • – → GND ESP8266 ESP8266

  • Central contact → pin 3V3

The laser must be placed directly in front of the light sensor so that the beam hits the photodiode. ESP8266 can be powered via a regular USB.

Firmware

**If you do not have the Arduino IDE installed, I advise you to watch the video tutorial, which shows how to install and configure it.

At this link you will find information on how to download the firmware to the ESP8266.**

Download the firmware from this link and download it to the ESP8266 according to the instructions above. Also, for work, you need to create a bot in Telegram and find out your id.

Importantly! You need to flash the ESP8266 before connecting all the components. If batteries or other parts are connected to it during the firmware, you risk burning (literally) your computer and ESP8266.

Principle of operation

It is quite simple: if the laser does not shine on the photodiode, the ESP8266 understands that someone (or something) is in its way, and warns about it. We hope that everything worked out for you!

If you have any problems or problems, you can contact us via: [email protected].

Hello, friends!

We are the Ukrainian Robotics Team – the national robotics team, and we have a big dream! We are working on creating a robot that will be able to adequately represent our country and win the FIRST Global Challenge 2024, which will be held on September 26-29, 2024 in Athens. This is an extraordinary opportunity for us to meet with the most talented teams from around the world, to exchange experience and improve our skills, as well as to show the world the amazing potential of Ukraine. But we need your help to make our dream come true! We are looking for $10,000 to fund our trip, which includes competition expenses, team transfers and accommodation.

Even a small amount will help us reach our goal!

If you want to support us and help take a step towards the future of Ukraine and robotics, choose one of the methods below that is convenient for you:

Monobank: https://send.monobank.ua/jar/4ViDeg6C3c

Monobank: 5375 4112 1926 1760

PayPal: [email protected]

Other related articles
Found an error?
If you find an error, take a screenshot and send it to the bot.