Users Manual

SCRATCH CODING KIT
Activity
Line Tracer
Now you are going to make a comprehensive model using a variety of motors and sensors. Let's try to code the
motion of the model by using infrared sensor, ultrasonic sensor and DC motor learned in the previous. The name
of this model is the line tracer. A line tracer literally moves along a line. The line tracer you create moves along the
black line.
We will try to express motion by combining two infrared sensors, an input sensor, and an ultrasonic sensor and
two DC motors. The two infrared sensors will continue to search for the black line. One of the remaining ultrasonic
sensors stops working every time there are obstacle blocks. And if you get completely out of the black line, it will
stop all operation.
Can you imagine what kind of action it’ll be doing?