Teacher Resources - Lift-Off with CodeX

Digital Textbook

Lift-Off with CodeX

A hands-on Python and physical computing curriculum for grades 4-12, taught through building the real systems a Mars habitat would need.

📚 4 Units 🎯 Grades 4-12 📱 CodeX 🔌 Peripherals Kit 💻 CodeSpace 🐍 Python
📋

About this Digital Textbook

Lift-Off with CodeX is a four-unit digital textbook that teaches Python through physical computing. Students write code in CodeSpace, Firia's browser-based Python IDE, then wire real servos, relays, pumps, switches, sensors, and LEDs to the CodeX handheld and program them to work together.

The curriculum follows a Mission to Mars narrative. Each project builds a system a Mars habitat would actually need: launch controls, hatch locks, alert systems, life support, solar tracking, an automated greenhouse, and surface exploration. Students do not just learn to code, they learn to build systems that interact with the physical world.

Each unit breaks down into short, guided missions. Every mission ships with a complete teaching package: learning targets, classroom-ready lesson plans, key concepts, vocabulary, success criteria, assessment opportunities, and standards alignment. Pacing is yours: teach the missions in sequence over a semester, or pull them individually to fit a CS, engineering, STEM, or science elective.

1

Unit 1: Launch Prep

This unit gets students out of the simulator and onto the breadboard. Across three guided missions plus a remix project and unit assessment, students meet the Lift-Off Peripherals Kit, learn to wire a component to CodeX safely, and write their first Python programs that control real hardware, from a single red LED to a full launch countdown and a motion-triggered lighting system.

🗺️

Missions in this Unit

  • Mission 1: Welcome to Lift-Off with CodeX: Students tour the peripherals kit, learn how components connect to CodeX, wire up their first red LED, and write meaningful, well-commented code to control it.
  • Mission 2: Lift-Off! Students add switches and buttons to the circuit, compare momentary and latching inputs, and program a working launch countdown sequence.
  • Mission 3: Conserve Energy! Students build a habitat lighting system using PWM for brightness, a potentiometer for analog input, and a motion sensor with a delayed shutdown timer.
  • Unit 1 Remix & Assessment: Students apply skills from Missions 1-3 in an original Lift-Off remix project, and demonstrate mastery through the Unit 1 Assessment (review questions and rubrics).
📐

Standards Addressed

CSTA Standards - Grades 3-5

1B-CS-01 1B-CS-02 1B-CS-03 1B-AP-09 1B-AP-10 1B-AP-11 1B-AP-15

CSTA Standards - Grades 6-8

2-CS-01 2-CS-02 2-CS-03 2-AP-11 2-AP-12 2-AP-13 2-AP-16 2-AP-17 2-AP-19

CSTA Standards - Grades 9-12

3A-CS-01 3A-CS-02 3A-CS-03 3A-AP-13 3A-AP-15 3A-AP-16 3A-AP-17

Additional Standards for Team Projects

2-AP-15Seek and incorporate feedback from team members and users to refine a solution that meets user needs.
2-AP-18Distribute tasks and maintain a project timeline when collaboratively developing computational artifacts.
2-AP-19Document programs in order to make them easier to follow, test, and debug.
3A-AP-19Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.
2

Unit 2: Habitat Systems

This unit builds the systems a Mars habitat cannot run without. Across three guided missions plus a remix project and unit assessment, students program addressable NeoPixel lighting, a microswitch-driven hatch lock, a temperature and sound alert system, and their first servo-driven life support hardware, learning state machines, sensor thresholds, and event detection along the way.

🗺️

Missions in this Unit

  • Mission 4: Hatch Lock! Students program NeoPixel color and animation, then use a microswitch to build a hatch lock that detects and responds to a button press.
  • Mission 5: Alert System! Students read raw temperature and sound sensor values, set alarm thresholds, and combine blinking lights and audio into a complete habitat alert system.
  • Mission 6: Life Support! Students learn how servos work, generate an analog control signal, and use software states to run a life support system that can be taken down for maintenance.
  • Unit 2 Remix & Assessment: Students apply skills from Missions 4-6 in an original Lift-Off remix project, and demonstrate mastery through the Unit 2 Assessment (review questions and rubrics).
📐

Standards Addressed

CSTA Standards - Grades 3-5

1B-CS-02 1B-CS-03 1B-DA-06 1B-AP-10 1B-AP-11 1B-AP-12 1B-AP-15

CSTA Standards - Grades 6-8

2-CS-02 2-CS-03 2-DA-08 2-DA-09 2-AP-11 2-AP-12 2-AP-13 2-AP-14 2-AP-16 2-AP-17 2-AP-19

CSTA Standards - Grades 9-12

3A-CS-02 3A-CS-03 3A-DA-09 3A-AP-13 3A-AP-14 3A-AP-15 3A-AP-16 3A-AP-17 3A-AP-18

Additional Standards for Team Projects

2-AP-15Seek and incorporate feedback from team members and users to refine a solution that meets user needs.
2-AP-18Distribute tasks and maintain a project timeline when collaboratively developing computational artifacts.
2-AP-19Document programs in order to make them easier to follow, test, and debug.
3A-AP-19Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.
3

Unit 3: Surface Operations

This unit puts students in charge of the hardware that keeps a crew alive on the surface. Across three guided missions plus a remix project and unit assessment, students build an automatic solar tracker, prepare a lander with an object sensor and landing gear, and automate a greenhouse that waters itself based on soil moisture feedback.

🗺️

Missions in this Unit

  • Mission 7: Solar Tracking! Students pair a 180 servo with a light sensor, debounce noisy readings, and build a solar panel that tracks a simulated sun automatically.
  • Mission 8: Prepare Lander! Students plan a multi-part system, build a crew display, read an object sensor to detect touchdown, and deploy the landing gear at the right moment.
  • Mission 9: Automatic Garden! Students wire a water pump and soil moisture sensor, then tune a feedback loop that waters a Mars greenhouse only when it needs it.
  • Unit 3 Remix & Assessment: Students apply skills from Missions 7-9 in an original Lift-Off remix project, and demonstrate mastery through the Unit 3 Assessment (review questions and rubrics).
📐

Standards Addressed

CSTA Standards - Grades 3-5

1B-CS-02 1B-CS-03 1B-DA-06 1B-DA-07 1B-AP-10 1B-AP-11 1B-AP-12 1B-AP-15

CSTA Standards - Grades 6-8

2-CS-02 2-CS-03 2-DA-07 2-DA-08 2-DA-09 2-AP-11 2-AP-12 2-AP-13 2-AP-14 2-AP-16 2-AP-17 2-AP-19

CSTA Standards - Grades 9-12

3A-CS-02 3A-CS-03 3A-DA-09 3A-DA-11 3A-AP-13 3A-AP-14 3A-AP-15 3A-AP-16 3A-AP-17 3A-AP-18 3A-AP-21

Additional Standards for Team Projects

2-AP-15Seek and incorporate feedback from team members and users to refine a solution that meets user needs.
2-AP-18Distribute tasks and maintain a project timeline when collaboratively developing computational artifacts.
2-AP-19Document programs in order to make them easier to follow, test, and debug.
3A-AP-19Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.
4

Unit 4: Mission Complete

This unit sends the crew out onto the surface and then asks students to build something of their own. Mission 10 combines an accelerometer, a distance sensor, resistors, lights, and sound into a rover exploration system with obstacle warnings and a controlled power-down. The Final Project then hands the peripherals kit back to students to design, build, and present an original Mars habitat system.

🗺️

Missions in this Unit

  • Mission 10: Exploring the Surface! Students detect hard knocks with the accelerometer, measure distance and convert it to centimeters, add timeouts and resistance, and build a full exploration rig with danger warnings, color, sound, and a clean power-down.
  • Final Project: Students design and build an original Mars habitat system of their own using the Lift-Off Peripherals Kit, then document and present the build. Includes project planning guidance, rubrics, and presentation criteria.
📐

Standards Addressed

CSTA Standards - Grades 3-5

1B-CS-02 1B-CS-03 1B-DA-06 1B-AP-08 1B-AP-11 1B-AP-12 1B-AP-13 1B-AP-15 1B-AP-17

CSTA Standards - Grades 6-8

2-CS-02 2-CS-03 2-DA-08 2-DA-09 2-AP-11 2-AP-12 2-AP-13 2-AP-14 2-AP-15 2-AP-16 2-AP-17 2-AP-18 2-AP-19

CSTA Standards - Grades 9-12

3A-CS-02 3A-CS-03 3A-DA-09 3A-AP-13 3A-AP-14 3A-AP-15 3A-AP-16 3A-AP-17 3A-AP-18 3A-AP-19 3A-AP-21 3A-AP-22 3A-AP-23

Additional Standards for Team Projects

2-AP-15Seek and incorporate feedback from team members and users to refine a solution that meets user needs.
2-AP-18Distribute tasks and maintain a project timeline when collaboratively developing computational artifacts.
2-AP-19Document programs in order to make them easier to follow, test, and debug.
3A-AP-19Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.