Attention: Safety Recall of Vernier Go Direct Charge Station. Click to learn more.

Shop

Experiments​

Cruise Control

Experiment #C5 from Coding with mBot: Self-Driving Vehicles

Introduction

During this activity, students explore one of the more popular safety features found in cars today, cruise control. Students use the Ultrasonic Sensor and the Line-Follower Sensor simultaneously to simulate Adaptive Cruise Control. Students also learn how to use subroutines to simplify their programs.

Objectives

  • Practice writing, running, and troubleshooting mBot code.
  • Apply an understanding of the mBot Ultrasonic and Line-Follower Sensors to mimic realworld safety features in newer cars.
  • Learn how to simplify code by using subroutines.

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 #C5 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