Interfacing KY-008 Laser Transmitter Module With Arduino
Maybe your like
Contents
- Sensors
-
Written by Mehran Maleki
KY-008 Laser Transmitter Module Features
This Laser module emits a small intense focused beam of visible red light. The operating voltage is 3-5 V and the required current is 40mA.
Note
Since the required current is 40 mA and the Arduino pins can supply this current, this module can be connected directly to Arduino. If need be more than 40mA, direct connection to Arduino will damage the Arduino. In that case, you need to use a laser driver to connect the laser module to Arduino.
KY-008 Laser Transmitter Module Pinout
This module has 3 pins:
- VCC: Module power supply – 5 V
- GND: Ground
- S: Signal pin (to activate and disactivate laser)
You can see the pinout of this module in the image below.
Required Materials
Hardware Components
| Arduino UNO R3 | × | 1 |
| KY-008 Laser Transmitter Module | × | 1 |
| Male to Female jumper wire | × | 1 |
Software Apps
| Arduino IDE |
Interfacing KY-008 Laser Transmitter Module with Arduino
Step 1: Circuit
The following circuit shows how you should connect Arduino to this module. Connect wires accordingly.
Step 2: Code
Upload the following code to Arduino.
/* Made on 18 Nov 2020 By Mehran Maleki @ ElectropeakHome*/ void setup() { pinMode(7, OUTPUT); } void loop() { digitalWrite(7, HIGH); delay(1000); digitalWrite(7, LOW); delay(1000); }
In this code, we first set the Arduino pin number 7 as the output, because we are going to control the laser with it. Then we turn the laser on and off every second.
Uploading above code, the laser connected to the Arduino will turn on and off every second.
Liked What You See? Get Updates And Learn From The Best SubscribeComments (3)
- Microprocessors and Sensors – Safa Fathima Reply
[…] (2021). Interfacing KY-008 Laser Transmitter Module with Arduino. [online] Available at: https://electropeak.com/learn/interfacing-5v-650nm-ky-008-laser-transmitter-module-with-arduino/ [Accessed 16 Mar. […]
March 16, 2023 at 9:32 pm -
nick Reply
The picture of the module pinout in the “Transmitter module” section and the “required Materials ” section seems to have been reversed, the other pictures in the article are all the correct way round. The very top picture is correct, the fritzing diagram of the circuit is correct.
August 27, 2024 at 3:07 pm-
Mohammad Damirchi Reply
Hi Nick, Due to the manufacturing timing, the pinout of the module may be reversed. It’s recommended to double-check the pin names on the module before connecting it.
August 28, 2024 at 5:49 am
-
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Be The First To Know
Subscribe Subscribe to receive monthly life-changing updates Tag » Arduino Ky-008 Laser Sensor Module
-
Project 007: Arduino KY-008 Laser Module Project
-
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 ...
-
Lasers! KY-008 Laser Module For Raspberry Pi & Arduino
-
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