10pcs TCRT5000 Reflective Infrared Sensor

10pcs TCRT5000 Reflective Infrared Sensor

10pcs TCRT5000 Reflective Photoelectric Switch Infrared Optical Sensor

 

Rs 200.00

SKU: IR0001 Categories: , Tags: ,
  • Description
  • Datasheet
  • How to Use?
  • Reviews (1)

Description

Item Description

The TCRT5000 and TCRT5000L are reflective sensors which include an infrared emitter and phototransistor in a leaded package which blocks visible light. The package includes two mounting clips. TCRT5000L is the long lead version. The TCRT5000(L) has a compact construction where the emitting-light source and the detector are arranged in the same direction to sense the presence of an object by using the reflective IR beam from the object. The detector consists of a phototransistor.

Applications

  • Robotics – Object Detection or Line Tracking
  • Position sensor for shaft encoder
  • Detection of reflective material such as paper, IBM cards, magnetic tapes etc.
  • Limit switch for mechanical motions in VCR
  • General purpose – wherever the space is limited

Making sensor out of TCRT5000


Compact construction, sense the presence of an object by using the reflective IR beam from the object
Consist of a phototransistor
Snap-in construction for PCB mounting
Plastic polycarbonate housing construction which reduces crosstalk

Specifications:
Sensing Distance: 12mm
Operating Wavelength: 950 mm
Package Height: 7 mm
Sensing Method: Reflective
Reverse Voltage: 5V
Forward Current: 60mA
Forward Surge Current: 3A
Emitter Power Dissipation: 100mW
Collector Emitter Voltage: 70V
Emitter Collector Voltage: 5V
Collector Current: 100mA
Detector Power Dissipation: 100mW
Sensor Total Power Dissipation: 200mW
Operating Temperature: -25°C ~ +85°C

 

buy Infrared Sensor sri lanka

How to use TCRT5000 Reflective Infrared Sensor Download full Datasheet :  Download

Connect arduino Uno with TCRT5000 IR reflex sensors

To connect an arduino uno board with a TCRT5000 IR reflex sensor you need only few wires and a program written for control arduino. You only have to connect these pin as given below. and Upload the program to the arduino. For that  follow given steps.

First connect TCRT5000 IR reflex sensor and arduino

  1. sensor's VCC  -------------> +5v pin in arduino
  2. sensor's GND  -------------> GND pin in arduino
  3. sensor's DC  -------------> Any digital pin in arduino (can define by the program)
  If necessary you can use AC connection also. But if you want only a digital output you can use only DC

  sensor's AC  -------------> Any analog pin in arduino (can define by the program)

You can also connect a bulb for check it
In my program I have used digital pin 13 and digital ground

Next thing is the program. A sample code is given bellow using arduino software. It will show the number of color changes happens in-front of the IR sensor.

int ledPin = 13; // lED positive terminal connecting arduino pin
int inPin = 10; //digital input from the IR sensor
int signalss = 0; // variable to gat input fron IR
int n=0; // to count number of changes
 
void setup()
{
   Serial.begin(9600);
   pinMode(ledPin, OUTPUT);
   pinMode(inPin, INPUT);
}
 
void loop()
{
    signalss = digitalRead(inPin);
 
    if (signalss == HIGH)
    {
n = n + 1;
           digitalWrite(ledPin, HIGH);
        Serial.write("1");
Serial.print(n,DEC) // to print changes in Decimal
    } else
         {
               digitalWrite(ledPin, LOW);
           Serial.write("0");
        }
}

Then connect arduino to your pc and upload the program to arduino. Then you can check it with the bulb blinks or you can use serial monitor in arduno programmer.

To upload a program in to Arduino you have to forllow some steps.
  1. Connect arduino to pc using usb cable (cable is similar to usb cable use for printer)
  2. Go to device manager and find the comport that arduino connected
  3. Go to arduino software then do following changes

       Tools --> Serial port (change it to using port)

       Tools --> Programmer (to USBasp)

       Tools --> Board( to arduino uno)

  1. Then verify your code by  using the correct mark in software
  2. Then upload

1 review for 10pcs TCRT5000 Reflective Infrared Sensor

  1. 5 out of 5

    (verified owner)

    Good .


Add a review