All paths

Model rocket flight computer

Bring up a barometer and an IMU, catch apogee, then fly a full state machine that logs to microSD.

Arduino Uno R3Free4 lessons4 h2 chapters2,130 XPMaker · Expert+400 XP

0 of 4 done

Start the course freeAltitude from air pressureBuild it as a kitRetails for about $41, free on Mokxi.Lesson plan for teachers
What you will build

2 projects, built step by step

4 lessons in 2 chapters, about 4 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Which way is up

Read an MPU6050 register by register: 1 g at rest, a tilt lockout for the pad, and launch detected as three readings over 2.5 g.

Open it in the simulator
Chapter 2 project

The flight computer

Put it all together: a self-test, an armed state, a seven-state flight, beeps you can hear in a field and every sample logged to microSD.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Sense the flight

Turn pressure into height and acceleration into launch.

  1. Open330 XP

    Altitude from air pressure

    Turn a BMP280 into an altimeter: read the pressure, zero the pad, climb with the slider and keep the highest point you reach.

    0 of 5 steps

  2. ProjectLocked560 XP

    Which way is up

    Read an MPU6050 register by register: 1 g at rest, a tilt lockout for the pad, and launch detected as three readings over 2.5 g.

    0 of 4 steps

Chapter 2

Fly and recover

Find apogee, open the door, and log every sample.

  1. Locked380 XP

    Catch the top of the flight

    Filter a noisy altitude, work out the climb rate, find apogee without being fooled, and let the parachute door go with a servo.

    0 of 6 steps

  2. ProjectLocked860 XP

    The flight computer

    Put it all together: a self-test, an armed state, a seven-state flight, beeps you can hear in a field and every sample logged to microSD.

    0 of 7 steps

Syllabus

Every lesson in the course

All 4 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Sense the flight

  1. Altitude from air pressureTurn a BMP280 into an altimeter: read the pressure, zero the pad, climb with the slider and keep the highest point you reach.
  2. Which way is upRead an MPU6050 register by register: 1 g at rest, a tilt lockout for the pad, and launch detected as three readings over 2.5 g.
Chapter 2

Fly and recover

  1. Catch the top of the flightFilter a noisy altitude, work out the climb rate, find apogee without being fooled, and let the parachute door go with a servo.
  2. The flight computerPut it all together: a self-test, an armed state, a seven-state flight, beeps you can hear in a field and every sample logged to microSD.
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

The kit for this course

Rocket Flight Computer Kit

An Uno, a barometer, a motion sensor, a microSD logger, a parachute servo and status lamps.

Open the kit
Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Model rocket flight computer

Is Model rocket flight computer free?

Yes. All 4 lessons of Model rocket flight computer are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Model rocket flight computer take?

About 4 hours: 4 lessons in 2 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Which way is up and The flight computer.

Where do I start?

With "Altitude from air pressure", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.