How to use the red laser module KY-008 with the Arduino Uno | UATS A&S #3

  Рет қаралды 41,713

Michael Schoeffler

Michael Schoeffler

Күн бұрын

The Ultimate Arduino Tutorial Series: Actuators & Sensors #23
How to use the red laser module KY-008 with the Arduino Uno
In this tutorial, it shown how to build an optical barrier. The barrier detects any movement between the sender and the receiver. The sender is a laser module (Keyes KY-008) that emits red light (wavelength: 650nm). The laser detector/receiver is an unnamed module that returns either a LOW signal or a HIGH signal (no “analog values” in between).
Written tutorial available at: www.mschoeffler.de/2017/01/20/...
:: List of materials ::
-- Arduino Uno
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- Jumper wires (female/male)
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- KY-008 red laser module
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- Unnamed laser detector/receiver
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
Video Chapters:
0:00 Tutorial Introduction
0:49 Wiring
2:02 Programming
3:19 Example demonstration

Пікірлер: 26
@diogobarbosa2001
@diogobarbosa2001 4 жыл бұрын
Thanks alot!
@liszcgsedt
@liszcgsedt 4 жыл бұрын
Hi, and thanks for the tut. One question that puzzles me a bit though, much as it seems to be answered by Shaun: the transmitter has VCC, GND and SIG pins. My understanding is that the transmitter only needs power, that is VCC and GND ... although it can be powered (and toggled) from an Arduino digital pin. But in case I want a detector in the doorway, having both modules hooked to the same Arduino is rather inconvenient and I will be just fine powering the tranmitter from an external 5V source and only having the receiver hooked to the Arduino (along with a buzzer or whatever output I want). Correct? I mean, I wonder why it has all three pins where two seem to be enough...
@user-kf8kt4rq1o
@user-kf8kt4rq1o 2 ай бұрын
Hello sir can i ask if this sensor can detect the object like plastic bottle,can or paper
@ahmedmohamed9013
@ahmedmohamed9013 3 жыл бұрын
Does the laser and laser detector both comes with the 41 sensor module kit
@speedsoft
@speedsoft 2 жыл бұрын
is it possible to use this device on 3.3v? ive got a step motor using 5v already.?
@kozaczi
@kozaczi 3 жыл бұрын
Is the light much foucused? Is it like a laser pointers? From 2meters dot is which size?
@shaunr9950
@shaunr9950 5 жыл бұрын
Thanks for the video, Michael. Just one thing about the laser transmitter and it not being able to operate in normal light conditions. This is not correct. Your video shows the laser transmitter receiving current when Pin 2 (I think) is set HIGH. This means the transmitter is receiving power from the Arduino board, which is a relatively small power source and not able to fully power the laser light. The laser transmitter has a 3rd pin (+) which should be connected to a 5V power source independent of the Arduino board. This will provide the laser light with enough power to operate under all light conditions. I have the same laser transmitter and receiver set up on my desk, in bright office lights, and it is working just fine. I even went one step further and shone the light from my smartphone at close range onto the laser receiver and still, the laser was powerful enough for the receiver to detect it correctly.
@rondlh20
@rondlh20 4 жыл бұрын
Here the problem is that the sensor picks up too much background light, so increasing the laser power doesn't help... unless you change the sensor sensitivity. I would suggest to provide some shade for the sensor and use an analog input and use modulation.
@hankhomaomes2830
@hankhomaomes2830 6 ай бұрын
Sir, i m a newbie , I want to know if it is possible to make arduino uno/nano led strip such as wd2812b music sync via internal audio from the pc, I don't want to wire a mic module or audio in jack to a breadboard but simply play my spotify / youtube audio which will react to my LEDs.
@chihauccisoilconte4474
@chihauccisoilconte4474 4 жыл бұрын
Nice tutorial! I have a question: I tried to connect the laser diode to a pwm pin (D12 of Arduino Mega) and for some reason the laser blinks in stead of staying on, do you know why is that (and what can I do to fix this...)
@nachnamevorhanden3335
@nachnamevorhanden3335 5 ай бұрын
you can google what pwm actually is.
@simonemastroianni1985
@simonemastroianni1985 7 жыл бұрын
You can also use a photoresistor without buy the laser detector
@mschoeffler
@mschoeffler 6 жыл бұрын
Yes that's true. The laser detector has the only "advantage" that you do not have to enter a threshold value for your photoresistor. The detector module returns only LOW and HIGH (no analog values).
@gurpreetkourkamthekar8630
@gurpreetkourkamthekar8630 6 жыл бұрын
Can u send me the manual of laser transmitter and detector module? & it would be helpful if u show what's inside the detector , what principle it uses?
@mschoeffler
@mschoeffler 6 жыл бұрын
Unfortunately, I do not have a manual :( However, these kind of modules are based on phototransistors / photoresistors.
@JoeX92
@JoeX92 4 жыл бұрын
So, what's the middle connector of the laser transmiter for??
@rondlh20
@rondlh20 4 жыл бұрын
The middle pin is for +5V
@daniel_gaming783
@daniel_gaming783 4 күн бұрын
Is the laser harmful to your eyes?
@winter1616
@winter1616 4 жыл бұрын
if it goes on 0 can you let go an alarm of ? and how to instal AND wath is thad thing where evrithing is connected on ?
@tysonbastick1118
@tysonbastick1118 4 жыл бұрын
dude its an Arduino, yeah you can set the alarm to go off but thats a lil more complicated
@rajthakor7
@rajthakor7 6 жыл бұрын
Where we can see the results 1/0 ?
@rajthakor7
@rajthakor7 6 жыл бұрын
Thanks mate
@RoyAndrews82
@RoyAndrews82 7 жыл бұрын
So in order to turn the laser on, it's 5v on the S Pin and GND on the -- pin?
@mschoeffler
@mschoeffler 6 жыл бұрын
Yes, correct.
@syaidatulfarhana9095
@syaidatulfarhana9095 5 жыл бұрын
y the output always 1? n the laser detector can not detect the object
@rian6759
@rian6759 4 жыл бұрын
Can you related why the laser sensor can't opperate normal ? Because my modul ( laser sensor) can't receive signal from laser modul
Каха ограбил банк
01:00
К-Media
Рет қаралды 10 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 78 МЛН
RFID Readers RDM6300 and RDM630 (Arduino-Tutorial) | UATS A&S #15
13:15
Michael Schoeffler
Рет қаралды 51 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
Tutorial: MH Sensor Series/KY-033/TCRT5000 + LCM1602 IIC V1 | UATS A&S #13
6:40
Arduino Tutorial 31- How to Use the Infrared (IR) Remote
8:45
Enjoy Mechatronics
Рет қаралды 106 М.
KY-008 Laser and Laser Detector
2:52
labpeers
Рет қаралды 293 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 9 МЛН
KY-008 Laser Transmitter Module
3:23
ITcom Academy
Рет қаралды 5 М.
$3 laser transmits audio over 100m (arduino)
21:17
iforce2d
Рет қаралды 216 М.
Make your own GPS SMS Security Tracking System
8:35
GreatScott!
Рет қаралды 1,5 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 38 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
Что не так с яблоком Apple? #apple #macbook
0:38
Не шарю!
Рет қаралды 241 М.