Experiencing Bluetooth® issues with Go Direct® sensors on Chromebooks? Get help here.

Experiments​

Introduction

For safety reasons, when self-driving vehicles first hit the road, they will most likely be tasked jobs such transporting goods or cleaning streets rather than carrying passengers. In this activity, students program mBot to clear a parking lot of snow using the Line-Follower Sensor to keep mBot in the parking lot.

NOTE In this activity, students are presented with a scenario designed to engage their creativity and challenge their coding skills; step-by-step directions are not included as the activity is intended for students who are familiar with programming mBot using the mBlock Blockly app.

Objectives

  • Practice writing code for mBot to complete a task (clearing a parking lot of snow).
  • Use the mBot Line-Follower Sensor to detect a line and mimic the actions of real-world vehicles.
  • Troubleshoot coding issues when problems arise.

Sensors and Equipment

This experiment features the following sensors and equipment. Additional equipment may be required.

Ready to Experiment?

Ask an Expert

Get answers to your questions about how to teach this experiment with our support team.

Purchase the Lab Book

This experiment is #M12 of Coding with mBot: Self-Driving Vehicles. The experiment in the book includes student instructions as well as instructor information for set up, helpful hints, and sample graphs and data.

Learn More

SAVE/SHARE YOUR CART