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



Tracking Endangered Species

Experiment #7 from Coding with mBot: Life Hacks


This activity challenges students to consider what the program is instructing the robot to do at each stage. Integrating two distinct functions—movement and waiting for IR messages—is a key element of this activity.


  • Practice writing code, uploading and running a program on mBot™, and troubleshooting code
    when problems arise.
  • Collaborate with others to create a solution.
  • Practice skills from earlier activities, including adding comments to programs.

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

Learn More