Wish List 0

Tcrt5000 Reflective Ir Sensor Photoelectric Switch

Rs. 11.00 Rs. 14.00

1. The TCRT5000 Reflective IR sensor photoelectric transfer is perfect for line tracking robotic automobile like DIY tasks. TCRT5000 is a reflective sensor which includes an infrared emitter and photo-transistor in a leaded package deal which blocks seen light.

2. These are the set of replacement IR LED along with both emitter and receiver for our Line Sensor Modules.

SPECIFICATIONS:

   Model                                                        :TCRT5000

   Operating Voltage Range                      :3.6~5 VDC

   Average Current Consumption (mA)   :60

   Distance Measuring Range                   :0.591" (15mm);

   Output Type                                            :Photo-transistor

   Working Temperature Range               :-25~85ºC

   Color                                                        :Black + blue

   Material                                                   :Plastic + iron

   Detecting method                                 :Reflective Transistor Properties

   Collector-Emitter                                   :Voltage: 70V;

   Collector Current                                  :100mA;

   Forward Current                                   :60mA.




OVERVIEW:

   -Model TCRT5000

   -Color Black + blue

  -Detecting range: 0.591″ (15mm);

  -Detecting method: Reflective;

  -Collector-Emitter: Voltage: 70V;

  -Collector Current: 100mA;

  -Forward Current: 60mA;

  -Output type: Photo-transistor;


  PACKAGE INCLUDES:

1 PCS x Tcrt5000 Reflective Ir Sensor Photoelectric

//SOURCE CODE TAKEN FROM BELOW LINK

//http://arduinolearning.com/code/tcrt5000-reflective-optical-sensor-module-example.php

const int tcrtPin = 2; //the tracking module attach to pin 2

const int ledPin = 13;

 

void setup()

{

  pinMode(tcrtPin, INPUT); // set trackingPin as INPUT

  pinMode(ledPin, OUTPUT); //set ledPin as OUTPUT

}

 

void loop()

{

  boolean val = digitalRead(tcrtPin); // read the value of tcrt5000

  if(val == HIGH) //if it is HiGH

  { 

    digitalWrite(ledPin, LOW);

  }

  else

  {

    digitalWrite(ledPin, HIGH);

  }

}

15 days

Write a review

Please login or register to review