Avoiding Obstacles
Experiment #M7 from Coding with mBot: Self-Driving Vehicles
- Subject
- Engineering Outreach
Introduction
One of mBot’s defaults programs allows it to detect and move around obstacles. In this activity, students learn how to recreate part of the obstacle-avoidance behavior using data from the Ultrasonic Sensor.
Objectives
- Learn to how the Ultrasonic Sensor operates.
- Use the output of the Ultrasonic Sensor to trigger events an mBot program.
- Apply an understanding of the Ultrasonic Sensor to mimic the actions required of real-world autonomous vehicles.
- Practice writing code and troubleshooting when problems arise.
Sensors and Equipment
This experiment features the following sensors and equipment. Additional equipment may be required.
Option 1
mBot and STEM Activities Module
Option 2
mBot and STEM Activities Module
Ready to Experiment?
Ask an Expert
Get answers to your questions about how to teach this experiment with our support team.
- Call toll-free: 888-837-6437
- Chat with Us
- Email support@vernier.com
Purchase the Lab Book
This experiment is #M7 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.