KY-008 Arduino Laser Module
${{App.Price(price)}}
Specification{{specs.length > 1 ? 's' : ''}}:
{{spec.fdColor}}
{{spec.fdSize}}
Quantit{{quantity > 1 ? 'ies' : 'y'}}:
Pin Definition
+ 5v
s signal
- GND
Arduino laser sensor module KY-008
Operating voltage: 5V
Specifications: 15 * 24 mm
Light source wavelength: 650 nm
Weight: 2.2 g
Laser sensor module KY-008 ARDUINO raspberry pie
void setup ()
{
pinMode (13, OUTPUT); // define the digital output interface 13 feet
}
void loop () {
digitalWrite (13, HIGH); // open the laser head
delay (1000); // delay of one second
digitalWrite (13, LOW); // close the laser head
delay (1000); // delay of one second