Rocket Dual-Deploy Flight Computer (I2C)

Wire an LIS2DS12 accelerometer over I2C and drive two pyro channels from it: payload separation at apogee, then a timed parachute deploy. Accelerometer telemetry and both output pins are checked.

Placa
STM32 · HAL
Dificultad
Difícil
Tema
Applied Integration
Acceso
Plan completo

La tarea

Rocket Dual-Deploy Flight Computer

You are the avionics lead on Altair Rocketry Club, a fictional student team preparing a single-stage sounding rocket for a national technology competition. The airframe carries two pyrotechnic charges: the first separates the payload bay, the second deploys the main parachute a moment later. Once the rocket leaves the pad it cannot be sent commands (the ground station only receives telemetry), so firmware alone decides both events, from the accelerometer and a millisecond timer. This revision shipped without a working barometric altimeter.

Hardware

  • STM32F407 flight controller; startup initializes I2C1 and UART4 (TX only) before calling userCode().
  • LIS2DS12 3-axis accelerometer on I2C1. Address, register map, conversion: Datasheet tab.
  • Charge 1 (payload separation) on PD4, charge 2 (parachute) on PD12; startup does not configure port D. Both idle low; firing a charge means driving its line high and leaving it high.
  • Telemetry goes out on UART4. This board reaches the accelerometer only over I2C1; SPI transmit/receive calls are not available on this hardware and are rejected before the submission builds.
  • The breakout ships loose: connecting it is part of the job (see Wiring below).

Este es el inicio de la tarea. Inicia sesión con el plan completo para leer el resto y resolverla.

Qué incluye

  • Tu firmware se compila y ejecuta en una placa emulada y se comprueba con pruebas a nivel de hardware.
  • No necesitas placa de desarrollo ni toolchain local.

¿Nuevo en embebidos? Empieza por la hoja de ruta: Cómo aprender sistemas embebidos (en inglés)