Module 2 · Line Tracking
Lesson 1 · The Reflectance Sensor — Knowledge ChecksAnswer key
Your sensor reads 0.8. What is it most likely over?
High values (near 1.0) mean little light came back — a dark surface absorbs it. White gives low values near 0.0.
Your 'off line' (white) values average 0.2 and your 'on line' (black) values average 0.8. What threshold should you choose?
Halfway between 0.2 and 0.8 is 0.5. A reading above it means the line; below it means white.
Why does the XRP have two reflectance sensors instead of one?
Two independent readings let the robot tell whether it's drifting left or right of the line — essential for following it later.