LED and Resistor Kit (5 mm LEDs, 330 Ω)
To order, 2–3 weeksPrice on request

The TCRT5000L is a reflective optical sensor: one housing holds a 950 nm infrared LED and a phototransistor that picks up light reflected from a surface. It works at 0.2–15 mm from the surface (best at about 2.5 mm), so it reliably tells a black line from a white background. It has four long leads to solder to a board or wires; the LED needs a current-limiting resistor (for example 220 Ω at 5 V) and the phototransistor a 10 kΩ pull-up. The bare component is handy for making your own line-sensor board, such as a row of 5 or 8 sensors. It is used in line-following robots, RPM counters and paper-detection circuits.