ARDUINO logoLaser Transmitter Module
Model:KY-008
User Manual

ARDUINO KY-008 Laser Transmitter Module A0

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:

POWER   red
GND       Brown
Signal      Blue

ARDUINO KY-008 Laser Transmitter Module A1

Required Materials

ARDUINO KY-008 Laser Transmitter Module A2         ARDUINO KY-008 Laser Transmitter Module A3

ARDUINO KY-008 Laser Transmitter Module A4

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.

Step 1: Circuit

The following circuit shows how you should connect Arduino to this module. Connect wires accordingly.

ARDUINO KY-008 Laser Transmitter Module A5

Step 2: Code

Upload the following code to Arduino.

/*
Made on 18 Nov 2020
By Mehran Maleki @ Electropeak
Home
*/

void setup( ) {

pinMode(7, OUTPUT);

}

void loop( ) {
digitalWrite(7, HIGH);
delay(1000);

digitalWrite(7, LOW);
delay(1000);

}
Arduino

Copy

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.

Documents / Resources

ARDUINO KY-008 Laser Transmitter Module [pdf] User Manual
KY-008 Laser Transmitter Module, KY-008, Laser Transmitter Module, Transmitter Module, Module

References

Leave a comment

Your email address will not be published. Required fields are marked *