Users Manual
CLASS 3
100
Coding the Line Tracer
Now you can code your own line tracer yourself. If the infrared sensor on the left of the two infrared sensors is
white and the infrared sensor on the right is black, operate the left DC motor. If the infrared sensor on the left is
black and the infrared sensor on the right is white, do. And, when the ultrasonic sensor detects the obstacle in
the line tracer in progress, the operation should stop. All the movements will stop even if they leave the black line.
Use the 'if & else' conditional, sensor input and DC motor operation blocks to create your script!
Activity