Vernier Software and Technology
Vernier Software & Technology

Walk the Line

Introduction

Most self-driving vehicles are able to detect and follow road markings. In this activity, students program mBot to use the Line-Follower Sensor to follow the edge of a black line.

Objectives

  • Use the output of the Line-Follower Sensor to allow mBot to navigate autonomously by following a line.
  • Apply an understanding of the mBot Line-Follower Sensor to mimic the actions required of real-world autonomous vehicles.
  • Practice writing code and troubleshooting when problems arise.

Sensors and Equipment

This experiment features the following Vernier sensors and equipment.

Option 1

Option 2

Additional Requirements

You may also need an interface and software for data collection. What do I need for data collection?

Experiment M6 from Coding with mBot: Self-Driving Vehicles Activities Module Lab Book

<i>Coding with mBot: Self-Driving Vehicles</i> Activities Module book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Go to top