Module Laser pour arduino (KY-008)

Module Laser pour arduino (KY-008)

Code produit: KY-008
Qté en Stock : 6
  • $1.99


Module Laser pour arduino


Specifications

The KY-008 Laser transmitter module consists of a 650nm red laser diode head and a resistor. Handle with caution, do not look directly into the laser head.

Operating Voltage5V
Output Power5mW
Wavelength650nm
Operating Currentless than 40mA
Working Temperature-10°C ~ 40°C [14°F to 104°F]
Dimensions18.5mm x 15mm [0.728in x 0.591in]


KY-008 Connection Diagram

Connect signal (S) to pin 13 on the Arduino and ground (-) to GND. Middle pin is not used.

Arduino KY-008 connection diagramclick to enlarge

Résultats de recherche d'images pour « ky-008 code »

Example Code


This Arduino sketch will repeatedly turn on and off the laser head every second.


int laserPin = 13;

void setup() {                
	pinMode(laserPin, OUTPUT);  // Define the digital output interface pin 13 
}

void loop() {
	digitalWrite(laserPin, HIGH); // Open the laser head
	delay(1000); // Delay one second
	digitalWrite(laserPin, LOW); // Close the laser head
	delay(1000); 
}


Écrire une critique

Remarque: HTML n`est pas traduit!
    Mal           Bien
Captcha