This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Releases: MisterMartin/StratoCore_LPC
Releases · MisterMartin/StratoCore_LPC
v1.0.0
LPC Software Updates for Kiruna 2024 Campaign
This release is the code that was deployed for the LPC field program in June 2024, Kiruna, Sweden.
This release updates the LPC code that was last used around 2021. The major
system changes are:
- migration to the Teensy4.1 microcontroller
- addition of the NCAR RS41 Radisonde Sensor
- New TM message type for the RS41
- onboard storage of LPC and RS41 data
- over-the-air configuration of the Pulse Height Analyzer.
This release was flown with versions of the following repositories:
- StratoCore v2.1.0
- StrateoleXML v1.0.0
- RS41 v1.0.0
- PHA v5.2.0 (for the PHA Teensy)
Changes
- Migration to Teensy 4.1
- Very minor changes were needed.
- RS41 integration
- The RS41 class is instantiated in StratoLPC.
- The RS41 is powered on on entry to Flight mode, and powered off when leaving Flight mode.
- Measurements are made once per second, and a subset of the data are transmitted as a TM message every 5 minutes.
- Onboard storage
- Data storage on the SD card was implemented for both the LPC and the RS41.
- The LPC data is saved when the TM message is transmitted, and each message is saved in a separate file. The files can be read with TMdecoder.
- The RS41 data are saved every 10 minutes as a CSV file. All data fields from the sensor are saved.
- Telecommands
- Two telecommands were added: SetPHA and SetRS41REGEN.
- SetRS41REGN (id=117) causes an RS41 recondition to be started, when the LPC is in Flight mode. If it is not in Flight mode, the recondition will be initiated when that mode is entered.
- SetPHA (id=116) is used to send three parameters to the Pulse Height Analyzer: hiGainThreshold, hiGainBaselineOffset, and loGainBaselineOffset. Specify the values in this order in the telecommand.
- TM Messages
- Updates were made to the LPC TM, and the RS41 TM was added.
- Refactoring
- Very minor refactoring of the original source code was made in the interest of legibility. As much as possible, we avoided significant logic changes, to avoid inadvertently breaking something.