TCRT5000 Optical sensor

1,25

Optical sensor for detecting reflective materials.

111 in stock

SKU: HE0107-910 Categories: , Tags: , , , , , Send:

Description

TCRT5000 Optical sensor for detecting reflective materials. e.g. picking up current meter pulses or letting a robot follow a line.

TCRT5000 specifications:
– Works on: 5v.
– detection distance: 12mm

Arduino code example:

The value can be read without a library on the analog port where it is connected using the command: analogRead(A0);

/* Leest de TCRT5000 sensor op de analoge pin A0 en dimt de LED op pin 11 
   als er een object dicht bij de sensor komt.
*/

const int led =  11;
int tcrt;
 
void setup() {
  Serial.begin(9600);
  pinMode(led, OUTPUT);
}
 
void loop(){
  tcrt = analogRead(A0);
  Serial.println(tcrt);
  analogWrite(led, tcrt/4);
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shipping within the Netherlands

This product will be delivered via PostNL letter post in a bubble envelope.
- €3.45 shipping costs for orders under €25.
- €2.95 shipping costs for orders between €25 - €45.
- Orders above € 45,- will be park for free sent by PostNL letter post.

  • Ordered before 16:30 PM on workdays, shipped the same day!
    Click here for costs outside the Netherlands.
  • Product question?

      Your Name (required)

      Your Email (required)

      your question

      You may also like ...