Angles and Patterns

The Driving Base uses motor encoders to make turns.


This works fine but each time the factory floor gets cleaned, the wheels of the Driving Base slip, which makes it lose its way. Using a Gyro Sensor can help the Driving Base determine its orientation to keep it on track.

In which situations would it be useful to detect changes in orientation so that a robot can navigate?

Build this extension.


The Gyro Sensor extension can be used to navigate along a carefully planned path accurately. Build it onto the Driving Base.

Try these programming stacks one after the other.

EV3 Classroom-Programs 1-5-program en-us

What do you see?

How can My Blocks be used to organize and reuse code?

Your turn!


Use blocks from the programming stacks that are already on the Programming Canvas to create a program that turns the Driving Base 90 degrees, drives forward, and finally drives in the specified pattern.

It’s time for a challenge!


Use the Gyro Sensor and My Blocks to program the Driving Base to drive in a square three times and then drive in a triangle.

How did you do?


What did you do well? Is there anything you could’ve done better?

Cool! Your programs are well organized!