Vernier Software and Technology
Vernier Software & Technology

Teaching mBot to Drive by Itself

Introduction

In this activity, students get their first experience writing code for mBot using the mBlock Blockly app. Coding movement into a program is required in many of the activities in this module. Ideally students will recognize that they can control mBot much more precisely with code than they can remotely using the Makeblock app.

Objectives

  • Become familiar with the mBlock Blockly app (for iOS or Android).
  • Write an mBot program using the mBlock Blockly app.
  • Practice coding movement commands.
  • Run a program on mBot.
  • Practice 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 M2 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