
Restore backup 2026-08-18T23-50-42-462
Serra-Rocketry/flight-computer
[Telemetry] Onboard flight computer for rocket avionics.

[Telemetry] Onboard flight computer for rocket avionics.
Flight computer is an open-source printed circuit board by Serra-Rocketry, from the Serra-Rocketry/flight-computer repository on GitHub, published under the MIT licence. It is a 2-layer board of 140 × 60 mm with 44 parts on 57 nets, routed with 202 tracks and 0 vias.
It is built around the ESP32-S3-DEVKITC-1-N8R2, BMP585 and LSM6DS3, with the RFM95W-915S2 and BC547 among its other parts. Its parts include 7 ICs, 1 resistor, 1 transistor, 1 connector and 1 switch. It belongs with the ESP32 boards of this library.
v2.0 Flight Computer for Serra Rocketry (#11 - Dedalo).
OOP + FreeRTOS + 4-state FSM, validated against real flight data. Built for the ESP32-S3.
Real-time avionics firmware for a sounding rocket. Runs on an ESP32-S3 under FreeRTOS, reading barometric (BMP585), inertial (LSM6DS3) and GPS (NEO-8M) sensors to detect flight events and deploy the parachute at apogee.
firmware/
├── firmware.ino # setup()/loop() — orchestrates init*Task()
├── config.h # Pins, thresholds, radio parameters
├── sensors/ # ISensor implementations (BMP585, LSM6DS3, GPS)
├── flight/ # FreeRTOS tasks + FlightStateMachine
├── modules/ # Actuators/peripherals (servo, LoRa, buzzer, FS)
└── docs/architecture.md # v2.0 architecture (consolidated from REFACTORING_PLAN.md)Two FreeRTOS cores with queue-based communication:
| Core | Task | Priority | Rate | Responsibility |
|---|---|---|---|---|
| 1 | FlightControlTask | 20 | 5 Hz | Sensors + FSM + parachute + watchdog |
| 0 | TelemetryTask | 5 | 5 Hz | GPS enrichment + LoRa + file + Serial |
| 0 | LoggerTask | 1 | — | Async log queue with level filter |
firmware/firmware.inoAdafruit BMP5xx, Adafruit LSM6DS3, TinyGPS++,
ESP32Servo, LoRa by Sandeep MistryCtrl+R) and upload (Ctrl+U)python3 extras/FSM_tester/FSM_Tester.py # FSM against 1,873 real data points
python3 extras/validate_telemetry_format.py # 22-field telemetry alignment| Parameter | Value |
|---|---|
| FlightControl rate | 5 Hz (200 ms) |
| Telemetry rate | 5 Hz (200 ms) |
| Parachute confirm | 3 consecutive Vz < −2 m/s |
| Ground guard | 50 m AGL |
| LoRa frequency | 915 MHz (Brazil/Americas ISM) |
| LoRa config | SF7, BW 125 kHz, CR 4/5, CRC on, +17 dBm |
| Storage | SD card (SPI) → LittleFS fallback |
| Sensor queue | 25 slots (∼2.4 KB) |
| Log queue | 50 slots (∼7.2 KB) |
docs/software.md — Software architecture
|- docs/hardware.md — Hardware specs, pinout, BOM
|- docs/architecture.md — Architecture spec (consolidated)
|- docs/modules.md — Module reference
|- docs/flowchart.md — FreeRTOS + FSM flow diagramAGENTS.md — AI agent coding guideCONTRIBUTING.md — How to contributefirmware/ v2.0 firmware (OOP + FreeRTOS + FSM)
test/ Hardware validation sketches (sensors, servo, FSM)
docs/ software.md, hardware.md, telemetry-format.md, flowchart.md
hardware/ KiCad schematic + PCB + BOM
extras/ Scripts, FSM tester, format validator, emergency deployAll refactoring plan phases are complete — v2.0 is fully implemented and
documented. See CHANGELOG.md for the full release history.
Serra Rocketry — IPRJ/UERJ
This project is licensed under the MIT License - see the LICENSE file for details.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 29 | TestPoint_THTPad_D1.5mm_Drill0.7mm | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | 3.3V, 3.3V, 5V, 5V, BZZ, CS LORA, CS LORA, CS SD, CS SD, DIO0, DIO0, DIO0, DIO0, GND, GND, GND +13 |
| 2 | Parachute_Servo | Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_Vertical | M1, M2 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R1 |
| 1 | BC547 | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | BMP585 | electronics:BMP585 | U2 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | Conn_Coaxial_Small | Connector_Coaxial:BNC_TEConnectivity_1478204_Vertical | J1 |
| 1 | ESP32-S3-DEVKITC-1-N8R2 | ESP32-S3-DEVKITC-1-N8R8:ESP32-S3-DEVKITC-1-N8R8 | U5 |
| 1 | GPS M8N | electronics:GPS N8M | U6 |
| 1 | LSM6DS3 | electronics:LSM6DS3 | U3 |
| 1 | MINI 560 STEP DOWN | electronics:STEP DOWN MINI 560 | U7 |
| 1 | RBF | Button_Switch_THT:SW_XKB_DM1-16UP-1 | SW1 |
| 1 | RFM95W-915S2 | RF_Module:HOPERF_RFM9XW_THT | U1 |
| 1 | SD Card mini module | electronics:SD Card mini module | U4 |
The 43 most common of 44 parts.
It measures 140 × 60 mm and has 2 copper layers, 1.6 mm thick.
44 parts, built around the ESP32-S3-DEVKITC-1-N8R2, BMP585, LSM6DS3 and RFM95W-915S2. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Serra-Rocketry/flight-computer repository on GitHub, at the commit this page was made from: the board is hardware/electronics/electronics/electronics.kicad_pcb and its schematic hardware/Telemetria Foguete/Telemetria Foguete.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Serra-Rocketry/flight-computer
[Telemetry] Onboard flight computer for rocket avionics.


sandgum/Triangulate-ES_01-Watch
A 5mm thick smartwatch which uses an E-ink display and two OLEDs to display information while consuming very little power




vbartusevicius/weather-station
Open-source rooftop weather and air-quality station with no moving parts (Ø 96 × 235 mm, UV-stabilised ASA): ultrasonic wind, acoustic rain and hail, UV / sunlight / night-sky brightness, temperature, humidity…

tag-designs/hardware
Hardware designs for tags and bases

GarronAnderson/InsideMyHive-V2
an open-source bee box monitor, now low-power with (hopefully) better code