QTR-1RC is a reflection sensor with a single infrared LED and a phototransistor pair. The onboard phototransistor uses a capacitor discharge circuit to calculate the reflected IR analog values by measuring the discharge time of the capacitor, using the digital input-output line on the microcontroller. Faster capacitor discharge times indicate more reflection.