Introduction

In this activity, students learn how to use the mBot Line-Follower Sensor to trigger actions.

Objectives

  • Learn to how the mBot Line-Follower Sensor operates.
  • Use the output of the Line-Follower Sensor to trigger events in mBot’s code.
  • 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.