Colours and Lines

Use coloured lines for navigation.


The factory floor is marked with lines connecting the different workstations. If this works, it will save a lot of time because we won’t have to hardcode each of the Driving Base’s movements!

What are the advantages and limitations of using coloured lines for navigation purposes?

Build this extension.


We’ll need the Colour Sensor Down extension in order to detect and follow lines. Build it onto the Driving Base.

Try the first two programming stacks.

EV3 Classroom-Programs 1-4-program en-gb

Set your robot near the line. What do you see?

Calibrate the Colour Sensor.


Run the programming stacks that calibrate the Colour Sensor and then rerun the line-following program.

Why is it important to calibrate the Colour Sensor?

It’s time for a challenge!


Program the Driving Base to follow the line faster and more smoothly.

How did you do?


What did you do well? Is there anything that you could have done better?

Now that’s smart! You can detect and follow lines to get around.