Vernier Software and Technology
Vernier Software & Technology

Manual Drive

Introduction

In this initial activity, students recreate the functionality of Mode A–Manual Drive of the Default Program. Students are given a quick introduction to mBlock programing as they create their first program. Students learn how to control mBot with the IR Remote Control as well as how to turn on the LEDs. In the following activities in this module, students reuse and build upon these programs.

Objectives

  • Learn about the three pre-programmed modes of operation of the Default Program.
  • Practice writing code, uploading and running a program on mBot, and troubleshooting code when problems arise.
  • Learn about using the IR Remote Control with mBot.
  • Practice using variables, "if-then-else" blocks, and loops in mBlock.
  • Learn about using the LEDs on mBot.
  • Write code to develop a basic manual-drive program for mBot.
  • Understand the importance of adding comments to programs.

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?

Download Complete Experiment

The downloadable file contains the student instructions in PDF and Word format as well as the teacher information.

Download Experiment

Computer Science Teachers Association (CSTA) Standards

2-AP-11
Create clearly named variables that represent different data types and perform operations on their values.
2-AP-12
Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals.
2-AP-13
Decompose problems and subproblems into parts to facilitate design, implementation, and review of programs.
2-AP-19
Document programs in order to make them easier to follow, test, and debug.

Coding with mBot: Self-Driving Vehicles

See other experiments from the lab book.

C1Manual Drive
C2Obstacle Avoidance
C3Guided Navigation
C4Safety Features
C5Cruise Control
C6Driving Outside the Lines
C7Security and Emergency Systems
C8Autonomous Parking and mBot-to-mBot Communication
C9Changing Lanes
M1Driving mBot
M2Teaching mBot to Drive by Itself
M3Point, Pivot, Swing!
M4Simplifying with Loops
M5Watch the Road
M6Walk the Line
M7Avoiding Obstacles
M8Use Your Lights!
M9Sounds and Security Systems
M10Driving Safely
M11Autonomous Parking
M12Put mBot to Work
M13Give mBot Some Personality

Experiment C1 from Coding with mBot: Self-Driving Vehicles Lab Book

<i>Coding with mBot: Self-Driving Vehicles</i> 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