Prototyping and Engineering Tips from Robogears
Line Follower Secret: For the best results in a line follower, mount the sensor about 3mm to 5mm above the ground. If it is too high or too low, the contrast between black and white surfaces will decrease.
Resistor Requirements: * For the Emitter (TX) side: Use a 220Ω resistor when connecting to 5V.
Cross-Talk Prevention: The TCRT5000 has a built-in physical barrier between the emitter and receiver, but if you are getting "noisy" readings, ensure there isn't a high-gloss surface reflecting light back into the sensor from the sides.
PCB Layout: Because the leads are close together, ensure your solder joints are clean to avoid shorting the emitter and receiver circuits.
Package Includes
Disclaimer
Images are for reference; actual markings on the housing may vary by batch. DO NOT exceed the 60mA current limit on the emitter side, as it will burn out the internal IR LED.