Source: https://mokxi.com/teachers/plans/build-cubesat
Updated: 2026-11-19

Lesson plan

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

3 chapters, 7 lessons, about 7 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

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

Chapter 1. About 3 h

## The spacecraft

An orbit, the sensors that watch the cube, and the power that keeps it alive.

Lesson | Time | What students do

Mission design Wake 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

- Wake the flight computer
- Is the radio alive
- How long is an orbit
- Into the shadow
- How long it stays up

Sensors Read 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

- Inside the cube
- The sunlit side
- The shadow side
- Earth's magnetic field
- Tumbling

Power budget Measure 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

- Sunlight in
- Eclipse
- The blocking diode
- The orbit budget
- Point it badly

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

Chapter 2. About 2 h 10 min

## 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 frames Pack 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

- Pack a frame
- Count every frame
- The ground station checks
- Decode it
- A bit flips
- Notice the gap

Beacon mode Keep 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

- Forty-five minutes of silence
- Heard on the ground
- On the air
- Ping
- Why a callsign

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

Chapter 3. About 2 h

## Flight

Survive an eclipse in safe mode, then bring the log down in a pass.

Lesson | Time | What students do

Safe mode Fly 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

- Nominal
- A long eclipse
- Shed the load
- Hysteresis
- More ways into safe mode

Project: a ground pass Fly 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

- Launch
- Make contact
- Download the log
- Fly an eclipse
- Share your pass

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

Your class

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

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
