Build a CubeSat flight computer lesson plan
Bring up a 1U CubeSat on the bench: sensors, a real power budget, CCSDS telemetry, beacons, safe mode and a ground pass.
Objectives and materials
By the end, students can
- An orbit, the sensors that watch the cube, and the power that keeps it alive.
- Frames with a sync marker and a CRC, then a beacon the ground can hear.
- Survive an eclipse in safe mode, then bring the log down in a pass.
Materials for the whole unit
- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED x 2
- LoRa module, SX1278 (Ra-02) x 2
- Nine-axis IMU, MPU-9250
- Pressure, humidity and temperature, BME280
- Pushbutton
- Resistor x 3
- Solar panel, 6 V 1 W
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 spacecraft
An orbit, the sensors that watch the cube, and the power that keeps it alive.
| Lesson | Time | What students do |
|---|---|---|
| Mission designWake a CubeSat flight computer, find its sensors and radio on the bus, and work out an orbit from Kepler: period, speed, eclipse and how long it stays up. | 60 min |
|
| SensorsRead housekeeping register by register: the temperature inside the cube against its limits, Earth's magnetic field, and the spin that says it is tumbling. | 60 min |
|
| Power budgetMeasure a real solar and battery circuit with an INA219, watch an eclipse, see why the blocking diode is there, and work out whether the satellite survives an orbit. | 60 min |
|
Materials
- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED x 2
- LoRa module, SX1278 (Ra-02) x 2
- Nine-axis IMU, MPU-9250
- Pressure, humidity and temperature, BME280
- Pushbutton
- Resistor x 3
- Solar panel, 6 V 1 W
Check for understanding
Each student finishes "Power budget" 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: "Point it badly".
Talking to the ground
Frames with a sync marker and a CRC, then a beacon the ground can hear.
| Lesson | Time | What students do |
|---|---|---|
| Telemetry framesPack housekeeping into CCSDS-style frames with a sync marker, a sequence count and a CRC-16, send them down, and watch the ground station catch a flipped bit. | 70 min |
|
| Beacon modeKeep the 45 minutes of radio silence after deployment, unfold the antenna, beacon a callsign and health, and answer a ping from the ground. | 60 min |
|
Materials
- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED x 2
- LoRa module, SX1278 (Ra-02) x 2
- Nine-axis IMU, MPU-9250
- Pressure, humidity and temperature, BME280
- Pushbutton
- Resistor x 3
- Solar panel, 6 V 1 W
Check for understanding
Each student finishes "Beacon mode" 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: "Why a callsign".
Flight
Survive an eclipse in safe mode, then bring the log down in a pass.
| Lesson | Time | What students do |
|---|---|---|
| Safe modeFly into a long eclipse until the battery sags under 3.50 V, shed the payload, and come back only above 3.80 V: a mode machine with hysteresis. | 60 min |
|
| Project: a ground passFly the whole mission: deploy, beacon, log every ten minutes, ride out an eclipse in safe mode, then make contact and download the log as a pass report. | 60 min |
|
Materials
- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED x 2
- LoRa module, SX1278 (Ra-02) x 2
- Nine-axis IMU, MPU-9250
- Pressure, humidity and temperature, BME280
- Pushbutton
- Resistor x 3
- Solar panel, 6 V 1 W
Check for understanding
Each student finishes "Project: a ground pass" 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: "Share your pass".
Teach this unit as a class
Start a class from this course and its 7 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.