Users Manual
SCRATCH CODING KIT
Coding the Line Tracer
When the left infrared sensor detects the line (detects the absorption of light), the line tracer moves to the left,
and when the infrared sensor on the right detects the line (detects the absorption of light), the line tracer will
move to the right. If you detect a line (if there is less reflection of light in fact) you will continue to go straight.
If the infrared sensor is no longer able to detect the line (if there is a lot of light reflection) or if it encounters an
obstacle, it will stop.
STOP
obstacle
Activity