The KY-008 Laser Transmitter module can be used as a laser pointer. It emits a dot shaped, red laser beam.
Compatible with Arduino, Raspberry PI, ESP32 and other popular microcontrollers.


KY-008 Specifications
This module consists of a 650nm red laser diode head, a resistor and 3 male header pins. Handle with caution, do not point the laser beam directly to the eyes.
Operating Voltage | 5V |
Output Power | 5mW |
Wavelenght | 650nm |
Operating Current | < 40mA |
Working Temperature | -10°C ~ 40°C [14°F to 104°F] |
Board Dimensions | 18.5mm x 15mm [0.728in x 0.591in] |
Connection Diagram
Connect the module signal pin (S) to pin 13 on the Arduino and ground (-) to GND.
The middle pin on the module is not used.
KY-008 | Arduino |
---|---|
S | Pin 13 |
middle | |
– | GND |

KY-008 Arduino Code
The following Arduino sketch is a laser blinker. It will continually turn the laser on and off in one second intervals.
int laserPin = 13;
void setup() {
pinMode(laserPin, OUTPUT); // Define the digital output interface pin 13
}
void loop() {
digitalWrite(laserPin, HIGH); // Turn on the laser head
delay(1000); // wait for one second
digitalWrite(laserPin, LOW); // Turn off the laser head
delay(1000);
}
I need to know the cost ?
Hi, you can get the KY-008 for less than a dollar on aliexpress or amazon.
yes i think for 0.99 dollars
Where can I find all the specifications to this module? (i.e. beam divergence, beam power density, etc.)
Hi Arduino Modules, please help me to figure out the durability of the KY-008 Laser transmitter module. Thank you so much.
Please kindly inform me of the maximum duration (how many hours) of the KY-008 laser transmitter and the maximum distance the signal from the transmitter can reach the receiver.
Thank you very much.
Great article! finally an answer to the mysterious middle pin.