Flight Data Recorder - Software
Back
The software is broken up in to modules for...
Common_Pin_Assignments:
- Defines the BasicX-24 Input/Output pins.
Common:
- Handles global constant assignments.
- Handles Persistent Variables (the Persistent Variables are used to detect if there was a Hardware Reset for any reason while the Data Logger was collecting data – including a Watchdog Timer Reset.)
Main:
- Initializes all the modules.
- Performs a Self Test of all modules and reports Pass/Fail with the Piezo Siren and the Red LED on the BasicX-24.
- Detects Mode of operation (Collect Data, or Upload Data.)
- Main loop.
Timer:
- Controls the timing of every thing, currently set for 10 times a second.
Input Modules:
There are Input Modules for...
- Temperature
- Acceleration
- Barometric Pressure
- Igniter Voltage (not implemented yet,)
- Battery Monitor.
All Input Modules have an Initialize procedure, a Self Test function, a Read Data procedure, and functions to get access to the raw data and convert the raw data to standard units of measurement. All Read Data procedures read the data 32 times to perform a software filter and remove jitter.
Output Modules:
There are Output Modules are for...
- Camera Shutter
- Piezo Siren
All Output Modules have an Initialize procedure, and a Self Test function (for consistency, but the Self Tests just return True) and Procedures to control the hardware.
Data Logger:
The Data Logger works in three modes...
- While waiting for a "Launched" condition it outputs the Sensor Data to the Debug port for testing and troubleshooting.
- After a Launch condition is detected it saves the raw data to EEPROM for later retrieval.
- Upload Data to a Laptop for analysis.
2005/01/13 - Software development came to a grinding hault!:
The BasicX-24 Module stopped accepting downloads
The BasicX-24 Module stopped accepting downloads. See entry for 2005/01/13 on the Hardware page.
|
Download the Code:
(latest!)FDR_2005_10_15.Zip
(old)2005_01_11_Flight_Data_Recorder.Zip
(old)2004_12_27_Flight_Data_Recorder.Zip
Back