This is the Line Tracking Sensor designed for line following robots. 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.

Component Required

  • Raspberry Pi / Banana Pi / Orange Pi  (If your using Banana Pi or Orange Pi See first the GPIO Pins)
  • TCRT5000 Reflective Optical Sensor (Line Follower)
  • Solder Less Bread Board
  • Jumper Wire / DuPont Wire
  • LED (Any Color)
  • Resistor 220 Ohms

Wiring Diagram

Wiring Pi C-CODE

Python Code


Download the TCRT5000 Datasheet Here | PDF

Wiring with TCRT5000 Reflective Optical Sensor Module on Raspberry Pi
Tagged on:                         

Leave a Reply

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