main
Ascent R2 Hardware Validation Suite
This repository contains the hardware validation and calibration suite for the Ascent R2 flight computer. The suite is designed to perform comprehensive testing of newly assembled Ascent R2 PCBs to ensure proper hardware functionality and sensor calibration.
![]() |
![]() |
|---|---|
| Ascent R2 Flight Computer - Top View | Ascent R2 Flight Computer - Bottom View |
Purpose
The validation suite serves four primary purposes:
-
Hardware Verification
- Validates all components on a freshly soldered Ascent R2 PCB
- Tests communication interfaces (I2C, SPI)
- Verifies sensor initialization and basic functionality
- Checks pyrotechnic channels and safety systems
- Tests power management and voltage regulation
-
Software Library Validation
- Verifies the functionality of all custom driver libraries
- Tests sensor data acquisition and processing
- Validates communication protocols and data handling
- Ensures proper integration between different components
-
Sensor Calibration
- Performs comprehensive sensor calibration procedures
- Corrects for:
- Bias offsets
- Scale factor errors
- Non-orthogonality in multi-axis sensors
- Generates calibration parameters for flight software
-
Hardware Serialization
- Generates unique UUID for each Ascent R2 PCB
- Records detailed hardware manifest including:
- Individual sensor serial numbers and characteristics
- Radio transmitter identifiers
- Active IC specifications and versions
- Stores serialization data in write-protected flash memory block
- Provides permanent hardware reference for flight/ground station firmware
- Enables hardware-specific configuration and calibration loading
Components Validated
-
Sensors
- BNO055 9-DOF IMU
- BMP390L Barometric Pressure Sensor
- H3LIS331DL High-G Accelerometer
- SAM-M10Q GNSS Module
-
Storage
- W25Q512JV Flash Memory
-
Communication
- RFM95W LoRa Radio Module
-
Safety Systems
- Pyrotechnic channels
- Continuity verification
- Safety interlocks
Directory Structure
/lib- Driver libraries for all hardware components/src- Main validation and test procedures/datasheets- Component documentation and specifications/include- Header files and hardware definitions
Usage
- Connect the Ascent R2 flight computer to your development system
- Build and flash the validation suite
- Follow the on-screen prompts to perform validation tests
- Review test results and calibration data
- Save calibration parameters for use in flight software
- Record generated UUID and hardware serialization data
Development
This project is built using:
- ESP-IDF framework
- PlatformIO development environment
- Custom sensor drivers and calibration routines
For detailed information about the components and their documentation, see the README files in the respective directories.
Languages
C
91.9%
CMake
7.3%
Batchfile
0.8%


