Every engineer must know the limitations documented in the FC-51's fine print.
: The onboard LM393 comparator processes this signal. If the reflected light intensity exceeds the threshold set by the potentiometer, the module triggers the OUT pin to LOW and lights up the onboard "Obstacle" LED. Common Applications Fc 51 Ir Sensor Datasheet