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
Looking for a cheap PCB manufacturer, China PCB manufacturer which is also capable of doing PCB assembly?
Check out NextPCB: www.nextpcb.com/
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👌
What is the quickest reaction time you could get with this setup? Is there an obvious delay (ms) from when the beam is broken?
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 🙏
*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?*
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!!!
Thank you so much for this tutorial..., I made it😊 👍👍👍.
where can i buy a kit like this with all the pieces in the kit???
Is there a schematic of the little modules (not the Arduino!) and the hookups?
Yes all the pinouts can be found over here. Hope this helps you: www.instructables.com/id/DIY-Easy-Arduino-Laser-Tripwire-Security-System/
Hey, will this code work with the Arduino Nano?? I'm still learning!
yep cuz' same programing laungage and ive tried it
@@emm1757 Thanks!
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?
That is correct. In this video it was only done for convenience
great video ! this helps me like a lot
how can i program this on PROTEUS?
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.
It's not an LED, but a laser diode
It keeps going off when the laser is touching it, and does not go off when the laser is not touching it
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?
even if the laser isn't hitting the sensor, as long as i start to power up the circuit, it immediately beeps
send cde
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).
With this system, the buzzer has height is enough to scare off thieves?
Thank you
How could I make the laser unit wireless? I’d prefer not to run wires over the door. Thank you!
esp32
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
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
@@CurmudgeonExtraordinaire Yes, you could ('cud' is what cows regurgitate and chew)
i love it, people must wake up!
Great tutorial. Where can i practice coding for arduino without any background in coding or experience?
RUclips, or the examples shipped with the program
It can be used instead of the Arduino attiny85?
Thank you
what?
Here friend: highlowtech.org/?p=1695
+Daniel Fernandes do you want to use a attiny? if so, yes that's possible :)
Yes friend! Just change the pin settings in code? Thank you
+Daniel Fernandes I only know it's possible, but I have never used one myself
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 🙂
its the reset button already pre mounted on the arduino borad
@@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.
Do u have the code
very good!
Thank you!
Where is the program?
What is the max distance that this would work reliably?
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.
Can we use Arduino Uno r3 if yes then everything done here will remain same?
Yup!
@@RGBFreak okay thanks bro
can u make it whit a phototransistor?
Should be possible, yes
I couldn't find the laser sensor module in my near electronics stores, can you tell me the exact model?
I'm guessing he means a ohm resistor but i don't the amount of ohms resistor required.
Oh sorry, it is not a ohm resistor it is a Photoresistor.
thanks man, I thought so!
good
should i coding the arduino ? if yes, can you tell me how to coding the arduino ?
Here is the link for the code:
pastebin.com/XEV9yZ09
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
Please help bro
Please can we do the laser aside and have all the rest work perfectely and if yes what do we change in the code ?
yes
Kinane Neymar can you explain please i need tonne sure
Kinane Neymar to be
I want to use normal key laser . can it detect it?
Sure can. You only need the laser sensor
@@RGBFreak -- Or a photoresistor instead.
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.
Or..... a mirror
What is that exact speaker module called?
martin edwards I'm not using any speaker module. I attacked a regular speaker from an old device. It should work just fine
Oh ok, well, how much would using a regular Arduino buzzer affect the noise that the code creates?
Is it work with peizo buzzer?
How to increase the range?
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
@@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
can you list the requirements in a list???
They are in the link/description.
will you share your code?
Yes. There is a link in the description
@@RGBFreak Thanks
What is pin 12
The one after 11
hello sir my alarm is going on beeping....as the lazer is falling on it please helpme
life of the laser in continuous use ??? mmmm
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
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
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