Wish List 0

E18 D80Nk Adjustable Infrared Sensor Switch 3 80Cm

Rs. 118.00 Rs. 133.00

  • Product Code: SEN-IR
  • SKU -
  • Availability: In Stock
  • Price in reward points: 2
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
-The E18-D80NK Adjustable Infrared Sensor Switch 3-80cm is a hard and fast of transmitter and receiver in one of the photoelectric transfer sensor.
-The detection distance may be adjusted in line with the demand.
-The sensor has a detection variety of three-80cm.

-The Adjustable Infrared Sensor Switch is small, clean to use, inexpensive, smooth to gather and can be broadly used in a robot to avoid obstacles, interactive media, business meeting strains, and plenty of different activities.

-The switching sign output differs in accordance with the boundaries. It stays high whilst no barriers and stays low whilst there are boundaries.
-There is a vibrant light behind the probe to stumble on the scope of 3cm – 80cm.

Features :
1. Diffuse reflective type.
2. Digital output.
3. Adjustable detection distance.
4. Low consumption.
5. Compact size.

SPECIFICATIONS:
Light source         Infrared
Sensing Range        3cm to 80cm
Input Voltage (V)    5
Current Consumption  100mA
OVERVIEW:
-Sensing range  3 – 80cm.
-Input voltage  5VDC.
-Current Consumption  100mA.
-Cable length  1 m.
-Digital Output.
-Diffuse reflective type.

PACKAGE INCLUDES:

1 PCS x E18 D80Nk Adjustable Infrared Sensor 3-80 Cm


//SOURCE CODE TAKEN FROM BELOW LINK

//https://robojax.com/learn/arduino/?vid=robojax-E18-D80NK-IR-Switch


 /*


 * This is the Arduino code for LE18-D80NK Infrared Obstacle Avoidance Sensor

This code is to use E18-D80NK Infrared Sensor to detect obstacle and trigger an

event like starting or stopping motor or servo or relay or anything else.



 *  * 

 // Writeen by Ahmad S. for Robojax.com on 

// on Feb 22, 2018 at 20:50 om  city of Ajax, Ontario, Canada

 * Permission granted to share this code given that this

 * note is kept with the code.

 * Disclaimer: this code is "AS IS" and for educational purpose only.

 * 

 * watch LE18-D80NK  video for details https://youtu.be/MrYsmAwzfrM

 * Code is available at http://robojax.com/learn/arduino

the Wiring:

Brown: 5V DC

Blue:  GNG

Black: Signal, to PIN 2





 * 


*/

#define SENSOR 2 // define pint 2 for sensor

#define ACTION 9 // define pin 9 as for ACTION


/*

 * Permission granted to share this code given that this

 * note is kept with the code.

 * Disclaimer: this code is "AS IS" and for educational purpose only.

 * 

 */


void setup() {

  // E18-D80NK Obstacle Sensor Code by Robojax.com 2018022

  Serial.begin(9600);// setup Serial Monitor to display information

  pinMode(SENSOR, INPUT_PULLUP);// define pin as Input  sensor

  pinMode(ACTION, OUTPUT);// define pin as OUTPUT for ACTION

}


void loop() {

  // E18-D80NK Obstacle Sensor Code by Robojax.com 2018022

  int L =digitalRead(SENSOR);// read the sensor 

  

      if(L == 0){

    Serial.println(" Obstacle detected");

    digitalWrite(ACTION,HIGH);// send singal

    

     }else{


     Serial.println("  === All clear");

     digitalWrite(ACTION,LOW);// turn the relay OFF

     }

  delay(500);

 // E18-D80NK Obstacle Sensor Code by Robojax.com 2018022

}

 

15 days

Write a review

Please login or register to review