Laser Module(HW-493): 두 판 사이의 차이
잔글편집 요약 없음 |
잔글편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
{{#seo:|title= | {{#seo:|title=ArduWiki : Arduino Laser Module Guide|title_mode=append|keywords=Arduino, Computer Science, Maker Learning, Performance Assessment, Laser Module, Arduino Project, Capstone Project, Arduino Example Code|description=Introduces how to control a laser module using Arduino (basic info, wiring, example code). Useful for computer science and maker classes.}} | ||
[[File:레이저모듈 대표이미지.jpg|center|class=coders100]] | [[File:레이저모듈 대표이미지.jpg|center|class=coders100]] | ||
A module that emits a laser with a wavelength of 650nm. | A module that emits a laser with a wavelength of 650nm. | ||
2025년 3월 27일 (목) 15:16 기준 최신판

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);
}
Example Code Result