HY Studio Light Barrier / Infrarot-Sensor
HY Studio Light Barrier / Infrarot-Sensor
SKU:
P00000083
Only 1 left
CHF9.90
.
Product Description
Details
Light Barrier - OUTput switches to low as soon as there is an object detected between the sensors.
Very easy connection using 3 pins only: VCC, GND, OUT
Example-Sketch for Arduino:
/*
Play-Zone.ch Beispielcode
* Lichtschranke *
Arduino Pin 13 = LED
Arduino Pin 8 = OUT (Lichtschranke)
*/
void setup() {
pinMode(13, OUTPUT);
pinMode (8,INPUT);
}
void loop() {
digitalWrite(13, !digitalRead(8)); // Active Low, deshalb Signal invertieren
}
Additional Information
Additional Information
| SKU | P00000083 |
|---|---|
| Weight | 0.0100 |
| Manufacturer | OEM |
Reviews
Downloads
Questions or Suggestions?
Do you have a question about a product? Do you have a suggestion for the description or even found an error? Contact us!
