Lasers! KY-008 Laser Module For Raspberry Pi & Arduino
Maybe your like
NotEnoughTech HomeRaspberry Pi SensorsLasers! KY-008 laser module for Raspberry Pi & Arduino
12/09/2016 Raspberry PiRaspberry Pi Sensors Lasers! KY-008 laser module for Raspberry Pi & Arduino You can never go wrong with lasers!
Tech details:
- Wavelength: 650nm (red)
- Operating voltage: 5V
- Range: Unlimited* (in vacuum)
- Current draw: 30mA
Connectivity:
3 pin connector, pins as follows:
- VCC(+): 5V Supply
- N/A
- GND (-): Ground
You can connect this directly without risking any damage to your microcomputer.
What does it do?
Apart from destroying the space ships in numerous movies, laser module can be used in a much safer manner. Two main uses for KY-008 laser module involve ‘tripwire’ detecting and using it as a pointer. Lasers are a great way to draw distances and limits as they shoot straight often at very long distances. Coupled with a photoresistor or specialised laser detecting module can be used to detect a breach in the path of the laser. In theory lasers (as light do) can travel until they hit something, in practice laser light will scatter in the atmosphere, and while going through the (imperfect) lens which causes the scatter and increased dot size.
Last but not least, don’t look at the beam, this thing can obliterate space ships, imagine what it can do to your retina!
How to use it?

This is one of the simpler modules, that requires very minimal interaction. Unless you need to have an access to the power state of the laser, you could put the sensor in the separate circuit. To create the ‘tripwire’ behaviour only photo sensing module needs to be connected to your device.

The KY-008 laser module is connected only to the power pins unless you need to enable and disable the laser whenever not in use. The VCC (+) pin goes to the 5V pin on the Raspberry Pi (red) and (-)GND is connected to the ground pin (black). Alternatively, you can connect the laser module to any 5V power source and use the photosensor module to enable and disable sensing.
Sample code:
This module does not require code to operate.
PayPal
Nothing says "Thank you" better than keeping my coffee jar topped up!
Use PayPalPatreon
Support me on Patreon and get an early access to tutorial files and videos.
Become a Patron image/svg+xmlBitcoin (BTC)
Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU
Scan the QR Share FacebookTwitterPinterestWhatsApp- Tags
- 37in1 sensors for raspberry pi
- arduino
- ky-008
- ky-008 laser module
- laser
- raspberry pi
- sensors
M5Paper
Programable, ESP32 based awesome dev platform with 4.7 e-ink display by M5Stack
Shop NowMore HATs
Argon One M.2
Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO and M.2 SSD support
Shop NowMore cases on
Best Raspberry Pi Projects
How to use Raspberry PI as WOL (wake on lan) server
Mat Zolnierczyk - 27/02/2017 0 While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.
Slow Internet Warning
Mat Zolnierczyk - 14/10/2019 0 From time to time my Internet grinds to a stop. Since Raspberry Pi 4 comes with a 1Gbps Ethernet, I decided to take advantage of it and create a reporting system in NodeRED that will monitor and report when the ISP is not keeping the contractual agreements. Works with Alexa, Google Home, Android and Windows 10.
Raspberry Pi NAS: (NAS-pi) Network attached storage under $21* #part1
Mat Zolnierczyk - 09/10/2016 0 Getting a NAS drive under $21?
How fast Raspberry Pi NAS is?
Mat Zolnierczyk - 29/04/2019 0 Let's see how fast Raspberry Pi NAS really is?
Argon18: Argon ONE SSD modification
Mat Zolnierczyk - 04/07/2020 0 Argon One case just got better - now you can boot it from USB without ruining the design thanks to Argon 18: Argon One SSD modificationHOW TO...
How to boot Raspberry Pi 5 from NVMe M.2 SSD
Mat Zolnierczyk - 27/07/2024 0 This is how you can boot your Raspberry PI 5 from NVMe in 10 min! Check out these easy instructions Read more It took me 2 months to boot CM4 from NVMe
Mat Zolnierczyk - 19/12/2022 0 Complete beginners guide to Compute Module 4 boot from NVMe. Read more Raspberry Pi Zero 2 W vs other Zero boards
Mat Zolnierczyk - 31/10/2021 0 It's time to test the Raspberry Pi Zero 2 W against other Raspberry Pi boards from Zero series: power, WiFi, temperature and core performance Read more C/C++ and MicroPython SDK for Raspberry Pi Pico on Windows
Mat Zolnierczyk - 24/01/2021 0 A guide to SDK toolchain for Raspberry Pi Pico and C/C++ , Micropython on Windows. Read more A comprehensive guide to Grafana & InfluxDB
EDITOR PICKS
Qualcomm’s take over of Arduino and new a SBC
08/10/2025TRMNL: look ma’ no coding!
29/09/2025
Sonoff Dongle Max is maxed out!
24/09/2025POPULAR POSTS
Tuya SDK for beginners: Intro to Tuya Cloud API
19/07/2021
NEST your old thermostat under $5
05/11/2018Nora – Google Assistant in NodeRED
27/04/2020POPULAR CATEGORY
- Home Automation302
- Review265
- News148
- Raspberry Pi145
- Tasker132
- Featured Raspberry Pi106
- Smart Devices104
- Featured Tasker99
- NodeRED97
ABOUT USContact us: [email protected]FOLLOW US © We are using cookies to give you the best experience on our website.
You can find out more about which cookies we are using or switch them off in settings.
Accept Reject Loading Comments... Write a Comment... Email (Required) Name (Required) Website Close GDPR Cookie Settings
Powered by GDPR Cookie Compliance Privacy Overview This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary CookiesStrictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
Enable or Disable Cookies Enabled Disabled Enable All Save SettingsTag » Arduino Ky-008 Laser Sensor Module
-
Project 007: Arduino KY-008 Laser Module Project
-
Interfacing KY-008 Laser Transmitter Module With Arduino
-
Arduino KY-008 LASER Module - YouTube
-
Arduino KY-008 Laser Sensor Module
-
Laser Transmitter And Receiver Module With Arduino - SriTu Hobby
-
Icstation KY-008 Laser Transmitter 5mW 650nm Red Dot Laser ...
-
Acxico 2Sets Laser Sensor Module For Arduino AVR(KY-008 Laser ...
-
KY-008 Laser Module X Laser Detector X ISD1820 Voice Recording ...
-
KY 008 Laser Head Sensor Module - Microdaz Blog
-
KY-008 Laser Diode Module - MYBOTIC
-
5PCS 5V Sensor Module Board For Arduino AVR PIC KY-008 Laser ...
-
3PCS KY-008 3pin 650nm 5V Laser Transmitter Sensor Module For ...
-
KY-008 650nm 5V Laser Module - Hobby Components