Build a space habitat controller lesson plan
Keep a Mars crew alive on one Uno: CO2 and its scrubber, cabin pressure and leaks, an interlocked airlock and alarms that latch.
Objectives and materials
By the end, students can
- CO2, the scrubber that removes it, and the pressure that holds it all in.
- An airlock that cannot be opened wrong, and alarms that get heard.
- Put it all together into one panel worth sharing.
Materials for the whole unit
- Arduino Uno R3
- Buzzer
- CO2 sensor, SCD41
- Fan module, L9110
- OLED display, 128x64
- Pressure, humidity and temperature, BME280
- Relay module
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
The air we bring
CO2, the scrubber that removes it, and the pressure that holds it all in.
| Lesson | Time | What students do |
|---|---|---|
| Air in a sealed roomCount the CO2 in a cabin with an SCD41, learn why 5000 ppm is the limit, and work out how long a crew takes to reach it. | 45 min |
|
| CO2 scrubbingPull CO2 out of the air with a scrubber fan, switched by two thresholds so it never chatters, and work out the chemistry a mission has to carry. | 45 min |
|
| PressureRead the cabin pressure, catch a leak from how fast it falls, and learn why oxygen is a share of the pressure, not a percentage. | 45 min |
|
Materials
- Arduino Uno R3
- Buzzer
- CO2 sensor, SCD41
- Fan module, L9110
- OLED display, 128x64
- Pressure, humidity and temperature, BME280
- Relay module
Check for understanding
Each student finishes "Pressure" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Patched".
Doors and alarms
An airlock that cannot be opened wrong, and alarms that get heard.
| Lesson | Time | What students do |
|---|---|---|
| Airlock logicTwo doors that are never open together: an interlock in one function, a state machine for pumping and filling, and the relay that runs the pump. | 55 min |
|
| AlarmsCAUTION and WARNING levels, alarms that latch until someone acknowledges them, and the worst problem always at the top. | 55 min |
|
Materials
- Arduino Uno R3
- Buzzer
- CO2 sensor, SCD41
- Fan module, L9110
- OLED display, 128x64
- Pressure, humidity and temperature, BME280
- Relay module
Check for understanding
Each student finishes "Alarms" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "The worst one first".
A Mars hab panel
Put it all together into one panel worth sharing.
| Lesson | Time | What students do |
|---|---|---|
| Project: a Mars hab panelPut it all together: CO2, pressure, the scrubber, the airlock and the alarms on one panel that keeps a crew alive. | 60 min |
|
Materials
- Arduino Uno R3
- Buzzer
- CO2 sensor, SCD41
- Fan module, L9110
- OLED display, 128x64
- Pressure, humidity and temperature, BME280
- Relay module
Check for understanding
Each student finishes "Project: a Mars hab panel" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".
Teach this unit as a class
Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.