Introduction
In this activity, students learn about variables and gain experience using flowcharts as a tool to help them think logically through their programming tasks. The flowchart example gives students exposure to the tool and helps students begin to understand some of the subtleties of the programming commands.
Objectives
- Practice writing code, uploading and running a program on mBotâ„¢, and troubleshooting code when problems arise.
- Understand when and how to use variables.
- Collect and use data from a potentiometer to set levels in the mBot program.
- Practice skills from previous activities, including adding comments to programs.
- Engineer the physical design of a robot, including consideration for the user interface.
- Practice using flowcharts.
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.
- Call toll-free: 888-837-6437
- Chat with Us
- Email support@vernier.com
Purchase the Lab Book
This experiment is #3 of Coding with mBot: Life Hacks. The experiment in the book includes student instructions as well as instructor information for set up, helpful hints, and sample graphs and data.