Security and Emergency Systems
Experiment #C7 from Coding with mBot: Self-Driving Vehicles
- Subject
- Engineering Outreach
Introduction
In this activity, students simulate various security and emergency systems using different sensors and devices on mBot:
- A car alarm (triggered by the Line-Follower Sensor)
- A security system (requires a “keyless entry” code be entered on the IR Remote Control)
- The sirens and warning lights on an emergency vehicle (using the Buzzer and the LEDs) Students also learn to use mBlock’s “timer” block to control code execution.
Objectives
- Practice writing, running, and troubleshooting mBot code.
- Learn how to use the “timer” block to control code execution, allowing for mBot to do multiple things simultaneously.
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 #C7 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.