IR Light reflection switch, useful for obstacle avoidance or line following, for obstacle avoidance you can place this module in front of the sender /receive diodes that will cause the out pin to be pulled low at distance of 1cm.

The board has two main components IR Transmitter and IR Receiver in one package named TCRT5000. The TCRT5000 are reflective sensors which include an infrared emitter and photo-transistor in a leaded package which blocks visible light. The package included two mounting clips. As you look at the board you can see a Potentiometer or Trimmer which used to adjust the sensitivity of the sensor.

Components Required

  • Raspberry Pi / Banana Pi / Orange Pi  (If your using Banana Pi or Orange See first the GPIO Pin Mapping)
  • IR Tracking Sensor / Line Following Module
  • Solder Less Bread Board
  • Jumper Wire / DuPont Wire

Wiring Guide

Compiling the Code

C Source Code

Python Source Code

 

Wiring TCRT5000 IR Tracking Sensor with Raspberry Pi
Facebooktwittergoogle_plusredditpinterestmail
Tagged on:                                     

Leave a Reply

Your email address will not be published. Required fields are marked *