Main centres: | 1-3 business days |
Regional areas: | 3-4 business days |
Remote areas: | 3-5 business days |
Description | IR Adjustable Trigger Sensor - E18-D80NKThe E18-D80NK is an Infrared distance switch, a high-sensitive photo reflectorto detect distance from an object. The range is from 3cm to 80cm and canadjusted via an integrated potentiometer. The output signal is an on ofsignal.  Quick Spec
ApplicationArduino Code Example - Pin 5 used as signal inputvoid setup() { Serial.begin(9600); //Start serial communication boud rate at 9600 pinMode(5,INPUT); //Pin 5 as signal input } void loop() { delay(500); if(digitalRead(5)==LOW) { // If no signal print collision detected Serial.println("Collision Detected."); } else { // If signal detected print collision detected Serial.println("No Collision Detected."); } }} Shipping List
|
More Info | Local Stock. |
More Products |