Skip to content

Releases: axpaul/FlightSoftware-Mastodonte

Release v1.0.0

26 Apr 23:59

Choose a tag to compare

FlightSoftware-Mastodonte — Release v1.0.0

This version delivers a complete and functional embedded flight sequencer for the Mastodonte rocket, running on the YD-RP2040 avionics board (RP2040-based). It ensures the execution of all mission-critical phases with state-based logic, hardware interfacing, and onboard logging.

Main Features

  • Deterministic flight state machine:
    • States: PRE_FLIGHT, PYRO_RDY, ASCEND, WINDOW, DEPLOY_ALGO, DEPLOY_TIMER, DESCEND, TOUCHDOWN, ERROR_SEQ
  • Visual and audible feedback through WS2812 RGB LED and buzzer
  • Event-triggered transitions based on GPIO interrupts (RBF, JACK, sensors)
  • Timestamped logging system with LittleFS flash storage
  • Manual log dump and erase via GP24 user button
  • Motor control via DRV8872 drivers (grouped activation with timeout)
  • Safety checks on boot (temperature, battery, flash capacity)

Usage Notes

  • Logs can be dumped or cleared at startup by interacting with the GP24 button:
    • Short press: Serial dump at 115200 baud
    • Long press (>5s): Log erase
  • Deployment logic supports both timer-based and sensor-triggered triggering
  • Flash writing is deferred using a background task or buffered mode

Dependencies

  • Arduino (Earle Philhower RP2040 core)
  • PlatformIO build system
  • External libraries: Adafruit NeoPixel

Known Limitations

  • No dual-core support implemented at this stage
  • Logging is disabled if flash usage exceeds 95% or system enters ERROR_SEQ