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
[crayon-6776a34468a02835958887/]
Python Code
[crayon-6776a34468a0b322504966/]
Downloads
Download the TCRT5000 Datasheet Here | PDF
Wiring with TCRT5000 Reflective Optical Sensor Module on Raspberry Pi