Laser Module(HW-493)
A module that emits a laser with a wavelength of 650nm.
Care should be taken when using it due to the strong light emitted.
Specifications
- Operating Voltage: 5V
- Operating Current: less than 40mA
- Wavelength: 650nm
Example Hardware Used
- Arduino Board
- Jumper Cables
- Laser Module
Connection
Laser Module | Arduino | |||
+ | 5V | |||
- | GND | |||
S | D7 |
Example Code
int laser = 13;
void setup() {
pinMode(laser, OUTPUT);
digitalWrite(laser, LOW);
}
void loop() { // Code to turn the light on and off every 0.5 seconds
digitalWrite(laser, HIGH);
delay(500);
digitalWrite(laser, LOW);
delay(500);
}