DIY | Easy Arduino Laser Tripwire Security System!

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • In this video I will teach you how to set up your own laser tripwire home security system!
    Patreon: / rgbfreak
    Instructables: www.instructabl...
    Code: pastebin.com/XE...
    Facebook: / rgbfreak
    Twitter: / rgbfreak
    Looking for a easier version of the tripwire? Check out my other tripwire video: • Video

Комментарии • 98

  • @RGBFreak
    @RGBFreak  4 года назад +1

    Looking for a cheap PCB manufacturer, China PCB manufacturer which is also capable of doing PCB assembly?
    Check out NextPCB: www.nextpcb.com/

  • @edralinbacalso3255
    @edralinbacalso3255 4 года назад +4

    Thank you sir of this video, I've done this and will functionally, it is very useful for my home security right now, your a brilliant idea and brilliant heart👌

  • @okkietube2
    @okkietube2 8 лет назад +5

    What is the quickest reaction time you could get with this setup? Is there an obvious delay (ms) from when the beam is broken?

  • @shifathasneem5876
    @shifathasneem5876 2 года назад +2

    Help ,,,,
    My buzzer is always beeping even lazer beam is not disturbed
    Waht is a solution please reply fast
    I hade done as the video and the program from ye discription link please help me 🙏

  • @OMNI_INFINITY
    @OMNI_INFINITY Год назад

    *Thanks. Built a "laser tripwire" for a prototype, but it seemingly only functions nicely in a dark room and seems VERY susceptible to changes in ambient lighting. Is that simply how it is unless using a much more powerful laser? What about adding a visible light filter or something such as that?*

  • @randysonnicksen9475
    @randysonnicksen9475 Год назад +1

    I have purchase the KY-008 laser with the associated sensor board. For my project I only need the 3 pin sensor but I'm unable to identify it, and I can't seem to find any references to it on all the sites that are selling it. Does anyone know the Mfr and Part Number of the detector which inserts into the 3 pin socket? Thanks!!!

  • @ma.annaliepiquero4006
    @ma.annaliepiquero4006 4 года назад +1

    Thank you so much for this tutorial..., I made it😊 👍👍👍.

  • @cardona6615
    @cardona6615 10 месяцев назад

    where can i buy a kit like this with all the pieces in the kit???

  • @gromit1943
    @gromit1943 8 лет назад +3

    Is there a schematic of the little modules (not the Arduino!) and the hookups?

    • @RGBFreak
      @RGBFreak  8 лет назад +2

      Yes all the pinouts can be found over here. Hope this helps you: www.instructables.com/id/DIY-Easy-Arduino-Laser-Tripwire-Security-System/

  • @deornesj
    @deornesj 5 лет назад +3

    Hey, will this code work with the Arduino Nano?? I'm still learning!

    • @emm1757
      @emm1757 5 лет назад +2

      yep cuz' same programing laungage and ive tried it

    • @deornesj
      @deornesj 5 лет назад +1

      @@emm1757 Thanks!

  • @007craft
    @007craft 3 года назад

    Whats the purpose of putting the laser on the Arduino? Assuming you're putting some distance between the laser and the receiver, rather then run a long cable over to the laser to power it from the Arduino, cant you just power the laser separately from across the room with wall or battery power? The laser has no purpose other than power to be connected to the Arduino correct?

    • @RGBFreak
      @RGBFreak  3 года назад

      That is correct. In this video it was only done for convenience

  • @zackdogol
    @zackdogol Год назад

    great video ! this helps me like a lot

  • @erzahind8920
    @erzahind8920 2 года назад

    how can i program this on PROTEUS?

  • @MrExprise
    @MrExprise 5 лет назад

    Is this just a standard LED? What's the range it could be spread across?
    I'm trying to set up something in our carport to stop people stealing my scooter.

    • @RGBFreak
      @RGBFreak  5 лет назад +1

      It's not an LED, but a laser diode

  • @bobjohnson9828
    @bobjohnson9828 3 года назад +1

    It keeps going off when the laser is touching it, and does not go off when the laser is not touching it

  • @jerardcaguicla6403
    @jerardcaguicla6403 2 года назад +1

    Uhmm sir i need help. Why does mine always beep when the laser hits the sensor. It works the opposite way of how it supposed to work. I followed the right direction. What's wrong?

    • @jerardcaguicla6403
      @jerardcaguicla6403 2 года назад

      even if the laser isn't hitting the sensor, as long as i start to power up the circuit, it immediately beeps

    • @DrShroom.
      @DrShroom. 2 года назад

      send cde

    • @Rawd123
      @Rawd123 21 день назад

      I have found that this problem can stem from the 3 prong connector that connects the little square light receiver to the board. If it is loose, it can produce opposite results (and lots of headaches).

  • @Dancopymus
    @Dancopymus 8 лет назад +1

    With this system, the buzzer has height is enough to scare off thieves?
    Thank you

  • @briankuhn7396
    @briankuhn7396 Год назад

    How could I make the laser unit wireless? I’d prefer not to run wires over the door. Thank you!

  • @seanbirch3641
    @seanbirch3641 4 года назад

    hi cud i power the laser off a battery instead of plugging it in to the arduino ? just to save me running the long wires around my door thanks

    • @CurmudgeonExtraordinaire
      @CurmudgeonExtraordinaire 4 года назад

      Yes, you *could* ('cud' is what cows regurgitate and chew) -- all you need is a photoresistor instead of that laser detector module and an externally powered laser module. I've seen the GL5528 for $1.52 for 20pcs on eBay and the "5V 5mW" laser modules for around $4 for 10pcs. I've tried running this laser module with a 26650 battery (initial voltage of 4.02V) and it is acceptable bright. I don't know what would be the minimum voltage necessary for this laser module to still be acceptably bright though. I started the test the other day and it's been running for over 24 hours and the voltage has dropped only slightly below 4V (3.97V, IIRC) and it still seems just as bright.
      www.monkeywrench.space/programming/default.htm?arduino-laser-tripwire.htm

    • @hanslubbe9702
      @hanslubbe9702 2 года назад

      @@CurmudgeonExtraordinaire Yes, you could ('cud' is what cows regurgitate and chew)
      i love it, people must wake up!

  • @sianjohnduca3785
    @sianjohnduca3785 4 года назад +1

    Great tutorial. Where can i practice coding for arduino without any background in coding or experience?

    • @CorruptMem
      @CorruptMem 3 года назад

      RUclips, or the examples shipped with the program

  • @Dancopymus
    @Dancopymus 8 лет назад +2

    It can be used instead of the Arduino attiny85?
    Thank you

    • @RGBFreak
      @RGBFreak  8 лет назад

      what?

    • @Dancopymus
      @Dancopymus 8 лет назад

      Here friend: highlowtech.org/?p=1695

    • @RGBFreak
      @RGBFreak  8 лет назад

      +Daniel Fernandes do you want to use a attiny? if so, yes that's possible :)

    • @Dancopymus
      @Dancopymus 8 лет назад

      Yes friend! Just change the pin settings in code? Thank you

    • @RGBFreak
      @RGBFreak  8 лет назад

      +Daniel Fernandes I only know it's possible, but I have never used one myself

  • @ariadnikarlafti114
    @ariadnikarlafti114 7 лет назад

    You said that you added a 3 second delay to the alarm and then you press the button and you reset the alarm, how exactly do you do that? I mean what kind of programme you use in order to do that? I m trying to make one on my own for a project in school... please respond 🙂

    • @niklasmuchfun
      @niklasmuchfun 5 лет назад

      its the reset button already pre mounted on the arduino borad

    • @CurmudgeonExtraordinaire
      @CurmudgeonExtraordinaire 4 года назад

      @@niklasmuchfun -- Yeah, I guess that would work, but it's a pretty kludgy way of doing it. Normally, you would be polling your pushbutton while also polling the pin that had the laser receiver module (or photoresistor) attached to it. I've found that for anything other than the most trivial Arduino projects, implementing them as state machines or with an event queue is helpful.

  • @thulasiramsaravanaa347
    @thulasiramsaravanaa347 4 года назад

    Do u have the code

  • @leandroaugusto5044
    @leandroaugusto5044 8 лет назад +1

    very good!

  • @memylastname9972
    @memylastname9972 3 года назад

    Where is the program?

  • @garryverniest5893
    @garryverniest5893 4 года назад

    What is the max distance that this would work reliably?

    • @CurmudgeonExtraordinaire
      @CurmudgeonExtraordinaire 4 года назад +4

      That is going to depend upon the power of the laser module that you are using, ambient light, and any lens that might be on the laser module. Another solution is to use a laser plus a photoresistor such as the GL5549. You could hook up the photoresistor to the Arduino model and have the laser always on and powered by battery or a power supply. The photoresistor would be hooked to one of the analog pins on the Arduino board and you would periodically poll it to determine whether the value that it was returning was above or below some worst case that you determine for your particular environment (e.g. bright ambient light). I bought some photoresistors for a project off of eBay a couple of years ago, although I'm not sure if they are the GL5549. By the time they made it here by way of a literal "slow boat from China", I had forgot what I had intended to do with them. I could not find a part number on them, so I'm not sure whether they are in fact the GL5549, but they look the same. I just got through trying one hooked to a multimeter to measure their resistance when used with one of the "5mW" laser modules that are sold for around $4 for 10 pcs (i.e. $0.40 each) on eBay. There was most definitely a good difference in the resistance when the laser was shining on them vs when it was not. I ended up with a bit over 100K ohms when my finger was over the sensor (i.e. equivalent to a dark room), around 3K ohms in a brightly lit room, and around 200 ohms when the laser was hitting the sensor in the bright room from around 7 ft away. It would be very easy to make a laser "tripwire" with an external laser module (i.e. not hooked up to the Arduino microcontroller) and a photoresistor that was hooked to the microcontroller. Of course, with the laser always on, it would be easy for someone to defeat such a "tripwire" -- all they would have to do is shine a bright light or another laser into the photoresistor while they are going through the area normally protected by the "tripwire". To get around that sort of thing, you need to have the laser model hooked to the microcontroller and you need to modulate the laser so that you are basically sending a signal with it that you receive on the photoresistor. Think of it like sending Morse code and then verifying that what you send is what you receive. It's definitely possible to do it, but it will add a bit of complexity to your code.

  • @areebabdullah5001
    @areebabdullah5001 5 лет назад

    Can we use Arduino Uno r3 if yes then everything done here will remain same?

  • @mr__mister_2860
    @mr__mister_2860 4 года назад

    can u make it whit a phototransistor?

    • @RGBFreak
      @RGBFreak  4 года назад

      Should be possible, yes

  • @eshbansuleman978
    @eshbansuleman978 8 лет назад

    I couldn't find the laser sensor module in my near electronics stores, can you tell me the exact model?

    • @DawsonSeibold
      @DawsonSeibold 8 лет назад +1

      I'm guessing he means a ohm resistor but i don't the amount of ohms resistor required.

    • @DawsonSeibold
      @DawsonSeibold 8 лет назад +1

      Oh sorry, it is not a ohm resistor it is a Photoresistor.

    • @eshbansuleman978
      @eshbansuleman978 8 лет назад

      thanks man, I thought so!

  • @ameenoxx1627
    @ameenoxx1627 8 лет назад +1

    good

  • @mohamadirsalgussalam5429
    @mohamadirsalgussalam5429 7 лет назад

    should i coding the arduino ? if yes, can you tell me how to coding the arduino ?

    • @lezned8789
      @lezned8789 7 лет назад +1

      Here is the link for the code:
      pastebin.com/XEV9yZ09

  • @areebabdullah5001
    @areebabdullah5001 5 лет назад

    Bro it's giving me this error (#define NOTE_F6 1397 #define NOTE_G4 392 int LED = 13; int LaserSensor = 2; int SensorReading = HIGH;) please help

  • @salimgazzeh3039
    @salimgazzeh3039 7 лет назад

    Please can we do the laser aside and have all the rest work perfectely and if yes what do we change in the code ?

  • @csselo
    @csselo 6 лет назад

    I want to use normal key laser . can it detect it?

  • @mikelee1906
    @mikelee1906 5 лет назад +2

    Does not seem practical in a real world use due to the wires needed to be connected. You would need 20 feet of wire for a real room situation. Perhaps use 433 MHz RF Transmit/Receive modules.

    • @kb3khs
      @kb3khs 5 лет назад +3

      Or..... a mirror

  • @martinedwards2720
    @martinedwards2720 7 лет назад

    What is that exact speaker module called?

    • @RGBFreak
      @RGBFreak  7 лет назад

      martin edwards I'm not using any speaker module. I attacked a regular speaker from an old device. It should work just fine

    • @martinedwards2720
      @martinedwards2720 7 лет назад

      Oh ok, well, how much would using a regular Arduino buzzer affect the noise that the code creates?

    • @AkhilscollectionOfficial
      @AkhilscollectionOfficial Год назад

      Is it work with peizo buzzer?

  • @RatanOjha
    @RatanOjha 5 лет назад

    How to increase the range?

    • @doktordzwonek9306
      @doktordzwonek9306 5 лет назад

      Use stronger laser and make the photoresitor threshold a little higher to get rid of noise. You can also buy IR laser with a lot more power and IR sensor, but remember that it gets dangerous for your eyes at some point

    • @CurmudgeonExtraordinaire
      @CurmudgeonExtraordinaire 4 года назад +1

      @@doktordzwonek9306 -- And with an IR laser, you don't see it, so you don't know the danger. Also, when you are increasing the distance, it gets even more important to have a very steady mount for both the laser module and the receptor (e.g. photoresistor). Although these laser modules do not project a pinpoint dot at distance, they don't expand *that* much either. If you are using it outside, the laser module needs to be particularly steady since any movement from wind or whatever is going to change it's point of aim by enough to make it appear that the beam has been broken. The photoresistor is maybe 1/8" to 1/4" in diameter, so it doesn't take much movement of the laser module to result in that sort of displacement of the beam if you are doing a very long distance.
      www.monkeywrench.space/programming/default.htm?arduino-laser-tripwire.htm

  • @stevenfernz96
    @stevenfernz96 5 лет назад

    can you list the requirements in a list???

    • @MrExprise
      @MrExprise 5 лет назад +1

      They are in the link/description.

  • @hungryfireworkshop7906
    @hungryfireworkshop7906 5 лет назад

    will you share your code?

  • @alextempletYT
    @alextempletYT 5 лет назад

    What is pin 12

  • @arshadsall-in-onesupport3481
    @arshadsall-in-onesupport3481 7 лет назад

    hello sir my alarm is going on beeping....as the lazer is falling on it please helpme

  • @fernandodgc
    @fernandodgc 8 лет назад +5

    life of the laser in continuous use ??? mmmm

    • @Nicksperiments
      @Nicksperiments 5 лет назад

      Fernando I was thinking the same thing. They last about 3-6 years. If you have the laser turn on and off really fast and only check the photoresistor when the laser it is on, you can get more lifetime. For example turn on for 1 ms and then turn off for 3 ms. Since it’s only actually on for 25% of the time, you’ll get about 4 times the lifetime out of it. This will also keep the laser cooler which also increases lifetime. They’re cheap and easy to replace though

    • @CurmudgeonExtraordinaire
      @CurmudgeonExtraordinaire 4 года назад

      The laser models that I bought claim to last for 5000 hours. They look very similar to the ones that he is using except that they are not on a PCB board, but instead the two battery / power supply wires coming from them. He's using a laser module that allows the modulation of the signal in order to send a message from the sending laser to the receiving laser detector. You really do not need that capability here. A basic external laser and a photoresistor hooked to the Arduino microcontroller will work.
      www.monkeywrench.space/programming/default.htm?arduino-laser-tripwire.htm

  • @Floki3030
    @Floki3030 Год назад

    You hide so much information, anyone can plug wires into breadboards a monkey can do that. What about the code and what how and why things work