Это видео недоступно.
Сожалеем об этом.
How to use Laser Transmitter and Laser sensor for Arduino
HTML-код
- Опубликовано: 16 авг 2024
- This video shows you how to connected and use Laser transmitter module with laser sensor module to detect laser beam and turn ON or OFF a buzzer or relay or light.
Get this 360 Amazing Rotating Dashcam : bit.ly/360Dashcam
The best thank you for me is to not skip ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
** Purchase Arduino Start Kit **
Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
AliExpress: s.click.aliexp...
Banggood: www.banggood.c... or UNO board www.banggood.c...
eBay: ebay.us/B1JWLi
***** Purchase Authentic Arduino Uno from ***
Amazon USA: amzn.to/2KApAwK
Amazon Canada: amzn.to/37LZ8sW
All Europe Amazon: amzn.to/36YDSzn
*** Free Course ***
Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
Download the code: bit.ly/laser-tx...
How to use a breadboard (video) : robojax.com/L/?...
Purchase Laser Transmitter receiver (affiliated stores):
Amazon USA: amzn.to/2HFZpDl
Amazon Germany: TX: amzn.to/2TyZsna RX: amzn.to/3e3QBmA
Amazon Canada (TA and RX): amzn.to/35GUham TX only: amzn.to/2Tx8q4j
Amazon UK: TX: amzn.to/3jET9c9 RX: amzn.to/2TvBAAL
Amazon Italy: TX amzn.to/3kQwiMl RX: amzn.to/3mv1NeZ
Amazon France: RX: amzn.to/2TvkcvQ TX: amzn.to/31QMRQt
Amazon Spain: TX: amzn.to/37OPEgZ RX: amzn.to/2HNeO4v
アマゾンジャパン:
Laser Transmitter module Search (no affiliation) :
eBay: www.ebay.ca/sc...
www.amazon.ca/...
laser Receiver module (eBay):
www.ebay.ca/sc...
Tutorial by Ahmad Shamshiri form Canada
****************************
Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robo...
If you want to learn Arduino from proven instructor on **Udemy**: bit.ly/rj-udemy
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/lea...
#robojax #robojaxLaser
***** Free Arduino Course worth $200****
Arduino Step by Step Course (over 150 lectures) Starts here robojax.com/L/?id=338
hello sir, I just found out you're an engineer, this legitimizes it. Great dude
Hey, thanks!
Very nice project with great thorough explanation. I have all the parts so I can’t wait to try it. Thank you.
You are welcome. good luck with the project.
Hello, thank you!
With the appropriate code, could I turn this into a speed gate to measure the speed of a constant size object moving past it?
you are the best! simply and very informative! Greetings from Argentina
Great Video - Could you do the add the code needed to run a servo instead of a buzzer please. And the wiring for the servo too please. Thanks
Bro, thank you SO much. I was having some trouble with this but now I completely understand it because of you. THANK YOU!!!
You are welcome. I am glad you found it useful.
Bagai mana cara membuat alat hitung otomotif menggunakan sensor ky008
Muy buen vídeo mi hermano gracias, es justamente lo que andaba buscando. Lo necesito para alinear carros.
Me alegro que lo haya encontrado útil. No olvide suscribirse. gracias.
Thank you for great detailed explanation.
You are welcome. Here is the better version of this with wiring diagram ruclips.net/video/ggrSmv99Cxs/видео.html
Sorry i am a bit behind - just started experimenting with a laser module from 1 of those 37-in-1 kits .
I am interested in using this module to send messages via laser by turning laser on/off very quickly- would the receiver shown in your video react fast enough to enable the on/off pulses to be decoded at the receiving end?
This is very basic switch which turns off or on something. You need to your own code to send a command or message.
Does this work in direct sunlight? If it doesn't tell me a sensor which works in direct sunlight and also has a long range please
Do you know if it's possible to have a similar system but working in the non-visible spectrum (i.e. IR) so that the beam wouldn't be clearly visible at night? I'm looking to use it in a camera trap.
it should work. this transmitter has visible spectrum to it so we can see. Just find invisible TX module.
Great tutorial. Is it possible to adjust the sensitivity range of the receiver so only responds to the highest intensity of the laser emitter when it directly shines into the receiver's sensor?
Hi, Can you adjust the sensitivity?
What laser sensor and transmitter are you using? Great video. Keep it up
Thank you. There is no model number. I have just added the link to eBay and Amazon in the description of this video.
Hello, please how can I set it to high sensitivity? I mean how can I do that In series window would be for example 6 numerie numbers?
hola consulta es necesario tener la placa de arduino para que funcione perdon x mi ignorancia saludos
no you don't need Arduino board if you can use the output from RX (receiver).
Thanks for the project. Can you tell me if the sensor works if you put a translucent plastic in front of it or a light diffuser?
Thanks.
you are welcome. No. it must be transparent.
Please make a video on how to use LiFi and trasnfer data between arduinos
hey i like your video it is great information for us. and i would ask you to help us now build a audio sound transmitter receiver using light or laser as the transmitter. am modulation. could you do this and show how to do it and include the part list and links to buy them. i hope you will consider this as your next challenge. i have seen it one time but i dont understand how to make it myself i hope you can make it and show how you achieve it.
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!!!
Hello guys ! I have a problem who made me crazy, i buy the same module and the laser work goods but the receiver turn on when their is light but not from laser. Someone can help me please ?
Hi. is there a technology where the laser can detect a bulb light is off or on, from lets say 80 foot distance. Thank you
Hi, it can be done in a simple way using LDR to detect light ruclips.net/video/iNea_HM967A/видео.html but enclose the LED (light repentant resistor) in a dark STRAIGHT pipe so the light does not reach from to LDR from the sides except from the front. This the longer the pipe the farther you can aim to a bulb. Or you can use fancy camera system to monitor a bulb.
I want to add something to go carts that when it is hit by a laser from another driver that it causes you to lose power momentarily, is there a panel or something that makes the area that can detect the laser larger? really just like a 6"x6" square. I would also want to make something you can drive over to give you power ups, the disabling laser to the front as well as a boost or a laser that shoots rearward also. What would I need to do for that? Thanks!
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊.
One step further would be to send the laser a series of 0s and 1s and decode the information on the far end
yes. it would be interesting to send data.
I wonder if I could use something like this for my gold drywasher. When shoveling the dirt into the drywasher if there were somekind of sensors that could send a signal to block the flow of dirt until it clears up. Or maybe a weight sensor that could sense too much weight and shut the flow of dirt until it clears out...
This is very sensitive. Even small drop of water will trigger this and it would be very hard to use for that purpose.
Nice video :) Using interrupts instead of polling would improve the response time and free up clock cycles for other things.
Yes indeed it would. This is the simplest form so beginners learn. Thanks.
@@robojax You've got some great content. Thanks for sharing it with all of us :)
Hi Robojax. I would like to know if the receiver gives an analogue output. In other words; does the output amplitude change with intensity of laser light received, i.e. if the distance between transmitter and receiver varies, does the output vary too. I am asking this because I wish to make a short range vibration detector, where vibration amplitude is very small; in the sub millimeter range. If it is an analogue output, the variation will of course be very small, however, that can be amplified for visualising on an oscilloscope. The vibration frequencies I wish to detect are in the audible range, from about 200Hz to 4kHz. Any knowledge about this would be greatly appreciated.
the output from receiver is digital. either 0 or 5V.
hi robojax, with this sensor would it be possible to log differences in the brightness/purity of the laser? I'm looking into a way to set up a circuit that can read the differences between types of smoke for our robot smoker- between thick white billowing smoke and clean burning clear blue smoke... :) thanks for your video's they're great
Hi Max, Yes it should be possible. This module is however made to give HIGH or LOW. if you find an OpAmp (operational amplifier) you could get variation of voltage corresponding to the amount of ray received. Then use Arduino to represent it to different level of smoke.
I am using avr atmega8 and this detection circuit too . Want to know what kind of output it will give to the ic is it high or low , in terms of voltage ??
it works with any Arduino. it just gives HIGH or 5V.
Greate Vid, well explained
Thanks.
If uli want to use the keybad. When i inter the correct password the laser turn off.
Nice Video, Thank you so much. I am wondering about the output data type of the laser sensor used in your video. It seems 'High' or 'Low' result can be given.
You are welcome.
What is in the receiver of the three-dimensional or tripod piece that is the receiver of the slip?
that is the actual receiver. it detects the laser rays and proportionally outputs signal from on the pins.
Hi, first of all great video. Question: Can we also set the receivers in serie (or only the Diode)? We can use a line laser to send beam to all of them and if one is interupted it gives a signal. Hope you can help! This way you can create a dropping sensor with wide beam.
Hi, You are welcome. Yes you can use multiple receivers and each connected to different pins and achieve what you want but you can't connect them in series.
can this module also calculate the range from the beam's starting position to the obstacle when the laser hits?
For calculating range, see my other videos ruclips.net/user/robojaxTVsearch?query=laser
I bought the same module. Is there a way we can use a GPIO pin to control the laser turning ON and OFF?
Arduino can accept about 21mA load at each GPIO. I did measure the current for the TX. Measure the current and if it is below your the maximum output current of your board, then connect it, else. use a transistor or relay driver to drive the TX.
For the laser transmitter, what do I need to connect it to for it to work? As far as I understand it just needs to be powered, but how do I do it. I can't connect it to the Arduino because for my project the Arduino is connected to a wall with the sensor and the transmitter needs to be connected to a door that needs to open freely. Any help would be appreciated. Sorry for the newbie question :')
Transmitter needs 5V either put long wire from Arduino or just another 5V to activate it. The receiver however need to be connected to Arduino so you can take action when obstacle is detected.
how good is this in outdoor? will it pick up any disturbance?
For sure it will pick up disturbance but i haven’t tested it under sunlight .
@@robojax thanks for your quick response.. i am planning to do a Arduino based tripwire for a outdoor event.. any suggestions? please let me know if you got a change to test it outdoor.. thanks once again..
use a laser sensor and Arduino to measure a sheet metal part's dimensions. possible?
you can use laser but not this module. We have laser sensor but resolution is 1mm so you will read 2mm or 3mm. not 2.5mm or 2.7. Please subscribe. It is appreciated.
hi robojax do you have nay projects related to photoelectric sensor and stepper motor? I've been having a hard time to figure out how to combine their code my sensor is not responding accurately. Even if there is no object it shows TRUE in the monitor. :(
can it detetc all types of lasers...c an you tell us specifciation of laser whuich this sensor will be able to detect
this TX is 680nm laser.
can it still detect if an opaque object covers the laser? like a white-colored plastic bag.
Have not tested it. Don't know.
Just what I was looking for...
Is it possible to connect to 433mhz transmitter?
This way can use with home automation.
So, blocked laser creates a signal that is transmitted @ 433mh?
Thanks.
Subscribed.
Hi, Yes. you can, but your RF (433mhz) transmitter can't be turned on with Arduino. So Arduino can turn ON a relay and you will connect your RF TX via relay. here is my video on relay ruclips.net/video/g6k8sPJyif8/видео.html
How can we make that buzzer to a big speaker
you will need power amplifier module that can drive the speaker. then you can generate simple buzz using arduino when laser is triggered. The buzz output signal from Arduino is connected to the input of Amplifier to make buzz. Or get this module to play whatever sound you want, it plays it for you ruclips.net/video/IfK8z_o5vbk/видео.html or this module ruclips.net/video/KDc2Z43DzT0/видео.html
How can a make a door go ip and Down when the laser is cut? And can i have 2 laser configd
use a relay to turn ON or OFF door lock ruclips.net/video/g6k8sPJyif8/видео.html or if you use actuator, then here is the video for that ruclips.net/video/EaoB6lfnS7g/видео.html
Thank you
With the right code, could I turn this into a speed light gate?
Sorry what is speed light gate?
@@robojax when the laser ray gets blocked a timer starts and then when it gets unblocked (aka the object passing by) the timer stops. I’m assuming it would work
what is the max distance?
As for as you can see and spot the dot.
Can it turn on a led circuit with the power source being 24v?
This works with 5V
How can you regulate the system so the ambient light does not make it trigger by accident? Nice video.
Put a cylinder in the diameter of AA battery on the receiver so it receives only the beam from your TX. The longer the cylinder the better it will be.
Can I know what is the range of this sensor
I have answered this multiple times and seems people don’t read comments to see if someone else has asked the same question. The range is about one kilometre. But you can see it so the range is whatever distance you can see to aim. It is very hard to hold it sill and aim.
And how would I set it up for when the beam is broken it turns on ?
I believe that is what I've shown.
can this project distinguish between opaque and transparent object??
yes it can. It will not work with opaque item. If will pass through transparent object.
What would the code be if you were to do it the 1st way where the ray always shines? 0:39. What change would i have to make for it to work that way?
Thanks in advance
Just reverse the if else statement.
Does a normal low voltage laser work?
Yes any laser signal will trigger the receiver
How to put time interval between turn on and turn off? Thanks.
put delay. for 2 seconds use: delay(2000); inside the loop
can i use this project using two arduino?
This is how it should be. Yes
What if the detector is reading "high" even before the laser hits it? I've checked the wiring and don't seem to be able to get "no laser" reading.
Please share your code codeshare.io/ and once you post it, you will get a new URL (address), post the URL here using "reply" and I will help you.
codeshare.io/aVOkjP
It seems to default to 'detected' even without the laser hitting it.
@@ericschulz4451 Hi, I have the same issue and was wondering if you ever got it to work properly?
@@ericschulz4451 I haven't seen the code, just read through it without really thinking how to troubleshoot it, but maybe MAYBE if you used INPUT_PULLUP instead of INPUT and make it do sth when it gets low instead of high(hit with the laser) It should become the opposite.
What's the max distance you can shoot the laser and recieve the signal?
the farther the distance, the harder to aim. unless you use binocular to fine receiver. I have not tested it but it should be 100s of meter.
How can I turn the Arduino on and off wirelessly from like outside my garage ?
You can use the item shown here ruclips.net/video/TdaHNjMCFk8/видео.html connect your 9V or 12V AC adapter that powers up Arduino this module and turn ON/OFF via app from anywhere in the world.
Very nice Video! I have a question. Do the Laser Receiver-Diod only capture Laser ore other lights, like Sunlight ore a bright flashlight? Its important for me that the Sensor only capture Laser/Laserpointer...
Thanks. Because we do not send code, it is just laser rays, yes it will be affected by the sun rays which will have the same wavelength as the laser light. In order to prevent that, we should send certain code like turnning it ON/OFF in certain intervals and detect it making sore to ignore other signals.
@@robojax thx for the quick answer and the interesting Suggestion! I hope i dont kill my Laserpointer with Coding... but i will test it soon :-)
good luck. stay safe.
awsome video :) i was wondering the max distance of the laser to the sensors because i was thinking of attaching it to a drone with a lasser gun so its like laser drone shooting haha?
I don't know the working distance but I believe it should work for your application in terms of distance, but aiming would be very hard. because drone will not stay still in a location and even if it did, you won't be able to aim. but hey , no harm. Try it.
thanks
Do you have to wear laser safety glasses?
yes always.
Hello
Nice video, very good explanation. But the laser beam detects water?
Hello, I have not tested it but I believe if we have full water that blocks the ray, yes it should work. Because water will have refraction and the ray will go in other direction.
Nice video!
I wonder if i can use it to detect objects in a door of 3 meters
Thanks. Yes it can. it should work up to distance of 100m I believe.
Can this be done using an esp32 instead of an Arduino UNO?
Yes it can.
@@robojaxThanks! Any changes that I should make to the code/circuit to accomodate the esp?(Other than in Arduino IDE)
@@robojax But esp32 only can handle 3.3V while the laser sensor and receiver require 5?
Can you use 4 lasers and sensors with Arduino? If so, what would I need?
Yes you can. You will need 1 arduino and 4 times of the other items like TX, RX and wires. TX is transmitter and RX is receiver.
@@robojax Thank You for your quick Reply!
Wont work in daylight
IS THAT LASER SENSOR WORK FOR LIQUID LEVEL DETECTION IN TEST TUBE?
Have not tested it and don't know.
why my sensor read always read high?
May be the receiver is inserted incorrectly
will this work for detecting insects such as mosquitoes ?
it would be not practical. Insect must cross exactly where beam is. If that happens, yes it will work.
Hi Robojax, can we have multiple receivers configured to do multiple things...
No you can't use one Transmitter with multiple receiver. Laser have very narrow beam. Each should have its own transmitter.
appreciate if you can share your email id, i would like to seek your help in the project i am doing, my id :shiva143das@gmail.com
Other than replying to comments and providing video tutorial, I won't be able to help. Having said that, in every video I mention our website Robojax.com where you can click on contact page and send me email. Also if you click on the channel name under the video, you will see the channel main page and there is "about" link were you can contact the channel owner.
Robojax can you confirm this can work on a distance of 50Meters?? Has anyone tested this?
Hi, I have not tested it with that distance and can't confirm.
در قسمت گیرنده اون قطعه سه پیم یا سه پایه که گیرنده لیز هست چی هستش
همان کشاف اشعه لیزر است. وقتی اشعه به آن میخورد به جریان اجازه عبور میدهد. همه کاره همان است.
Amazing are u an engineer for robotics profesnialy or do you do it as a hobby
Thank you. I am electrical engineer and work in an University here in Canada .
No wonder amazing and very scientific explanation I am actually an engineer here at NASA JPL PRL for robotic exploration I was studying at CIT
Dear Sir. How much the maximum range of the lazer beem??
there is no limit. go as far as you can.
@@robojax thanks 🙏
I have problems, the deduction is worth 1 and if it's not cut too 1. Please help
unless your modules are defective, if you copy and past the provided code it should work. Check the wiring.
Robojax I have tried using a new module and the output is still 1 there is no 0 when truncated
whats the current draw of the receiver module?
I just measured it is 2.5mA. It was so small when I made the video, never thought someone would need it .
awesome thank you
Will this work on a 12v buzzer?
the modules both work with 5V. You can use 5V relay to turn ON or OFF 12V buzzer or alarm. I have a lot of relay videos ruclips.net/user/robojaxTVsearch?query=relay
Nice technology, so now we can finally make hypersonic missiles communicate beyond Mach 5
Hello and thanks for the video. Quick question, can I use 2 lasers and 2 receivers with 1 arduino and program it as: if both the receivers stop receiving laser lights at the same time = output (example green led, else red) ?
Hi, you are welcome. Yes you can. You would have to define different pins of Arduino for that.
@@robojax Thanks!
what is the range on this? would it detect from 100 meters away?
is the lazer light pass through water or not
I have not tested bit . it passes through glass. water have refraction. so it will be directed to another point. You won't be able to find your target. I
Will laser work? if I just supply it with5v dc
Please watch the video. I have explained it the video.
what is the maximum range
there is not limit. the powerful the transmitter (TX) and the more precise you can point it. remember you don't be able to aim to this tiny receiver (RX).
Can we use uno rev3
Any Arduino can be used.
did y'all here that frog at 6:28.
How to use that laser with 9V bettery??
Get a DC 5V regulator that accepts voltages from 6 to 20V and converts it to 5V . It will convert your 9V to 5V
Hi!....Can anyone tell me that this laser module can detect the distance?
Hi, the farther you go, the harder to aim. But if you can do it, it should work about 50m
الله يعطيك احمد من فلسطين
Made simple
what is the laser transmitterr connected to?
I have mentioned it at 01:48 (click on 01:48 to view it) and at 05:52 I have shown how to connect it.
Robojax thank you very much, but I have fixed it and it keeps saying detected but no "no laser".
FeelsDankMan
You don't need this.
My buzzer turns on as soon as I connect
Can you please help me resolve this
if you haven't changed the code, then wiring is wrong. check it.
@@robojax cross checked lot many times still not able to figure out the problem
عمل رائع جداً
من الجيد سماع ذلك.
nice, followed the tutorial for wiring and my shit starts smoking
what did you do? Positive and GND swapped?
Robojax nah positive and negative weren’t switched, I’m not sure what the problem was.
the voltage must have been very high. Or possible your moulde built with wrong connection.
is it possible for video?
?
I get compailation error please help me
Provide your error so I or someone else can help you.
Can u take the potato out when u talk please..
LOL. Tastes good.