ARDUINO KY-008 Laser Transmitter Module User Manual
- October 30, 2023
- ARDUINO
Table of Contents
Laser Transmitter Module
Model:KY-008
User Manual
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
GND
Signal
Required Materials
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.
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.
References
- electropeak.com/learn/wp-content/uploads/2021/01/5v-650nm-Laser-Head-Sensor-Module-circuit.jpg
- electropeak.com/learn/wp-content/uploads/2021/01/5v-650nm-Laser-Head-Sensor-Module-Pinout.jpg
- electropeak.com/learn/wp-content/uploads/2021/01/5v-650nm-Laser-Head-Sensor-Module-Required-Materials.jpg
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>