Vernier Software and Technology
Vernier Software & Technology

Daily Life on Mars

Figure from experiment 5 from Coding with Codey Rocky: Mission to Mars


While stories of Mars frequently feature stories of adventure, catastrophes, and wild escapes, the reality of living on Mars would be more mundane: growing food, collecting and analyzing data, and maintaining the machines that keep you alive.

In this activity, you will program Codey Rocky to perform daily tasks in your Mars settlement and learn a new way of organizing and simplifying your programs.


  • Write a series of custom blocks to perform daily tasks.
  • Practice troubleshooting when problems arise.

Sensors and Equipment

This experiment features the following Vernier sensors and equipment.

Additional Requirements

You may also need an interface and software for data collection. What do I need for data collection?

Computer Science Teachers Association (CSTA) Standards

Create programs that include sequences, events, loops, and conditionals.
Decompose (break down) problems into smaller, manageable subproblems to facilitate the program development process.
Test and debug (identify and fix errors) a program or algorithm to ensure it runs as intended.

Coding with Codey Rocky: Mission to Mars

See other experiments from the lab book.

1Houston, This is Codey
2Dance of the Martians
3Surviving the Desert of Mars
4Wild, Wild Mars
5Daily Life on Mars
6Surveying Mars

Experiment 5 from Coding with Codey Rocky: Mission to Mars Lab Book

<i>Coding with Codey Rocky: Mission to Mars</i> book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Go to top