Recommended for Elementary through Middle School.
Self-driving vehicles have a number of features designed to keep occupants safe. In this activity, students program some of these features into mBot.
NOTE In this activity, students are presented with a set of scenarios 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.
- Practice writing code for mBot to complete a task (forward collision warning, automatic emergency braking).
- Apply an understanding of the mBot Ultrasonic Sensor to mimic the safety features of realworld autonomous vehicles.
- Learn how to use the mBot Light Sensor to detect low light conditions and trigger a change in mBot's speed.
- Troubleshoot coding issues when problems arise.
Sensors and Equipment
This experiment features the following Vernier sensors and equipment.
You may also need an interface and software for data collection. What do I need for data collection?