From 728952bc3d5eb76f5d0b69fed7e7fcdc4d63ec09 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 13:15:46 -0400 Subject: [PATCH 001/108] Create CubeSatSim_rttelemetry.csv --- .../FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv new file mode 100644 index 00000000..10175581 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -0,0 +1,47 @@ +46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION +0,MIN,SENSOR2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 +1,MIN,SENSOR3,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 +2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Battery Voltage,Battery Voltage +3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis +4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis +5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis +6,MIN,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Battery Current,Battery current +7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature +8,MIN,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel +9,MIN,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel +10,MIN,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y Panel +11,MIN,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y Panel +12,MIN,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z Panel +13,MIN,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z Panel +14,MIN,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X Panel +15,MIN,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X Panel +16,MIN,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y Panel +17,MIN,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y Panel +18,MIN,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z Panel +19,MIN,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z Panel +20,MIN,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery2 Voltage,Battery2 Voltage +21,MIN,SPIN,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,MIN,Pressure,12,bar,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure +23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +24,MIN,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,MIN,RSSI,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication +26,MIN,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU +27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,Angular Veolcity around X Axis +28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis +29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis +30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity +31,MIN,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current +32,MIN,DIODE_T,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Diode Temperature,Diode Temperature +33,MIN,Sensor1,12,signed scaled,cubesatsim_rpm,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +34,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status +35,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) +36,MIN,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator +37,MIN,PayloadStatus2,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 2 failure indicator +38,MIN,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,MIN,I2CBus1Failure,1,-,17,NONE,2,3,0,I2C Bus 1,I2C bus 1 failure indicator +40,MIN,I2CBus3Failure,1,-,17,NONE,2,4,0,I2C Bus 3,I2C bus 3 failure indicator +41,MIN,CameraFailure,1,-,17,NONE,2,5,0,Camera,Camera failure indicator +42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received +43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status +44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status +45,MIN,Pad,58,-,0,NONE,0,0,0,NONE,NONE From cf53830bbf8400f8b10714143440b074175c4c7f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 13:23:19 -0400 Subject: [PATCH 002/108] Update CubeSatSim_rttelemetry.csv revert --- .../FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 94 +++++++++---------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 10175581..4d7b8711 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,47 +1,47 @@ -46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION -0,MIN,SENSOR2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 -1,MIN,SENSOR3,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 -2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Battery Voltage,Battery Voltage -3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis -4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis -5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis -6,MIN,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Battery Current,Battery current -7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature -8,MIN,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel -9,MIN,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel -10,MIN,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y Panel -11,MIN,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y Panel -12,MIN,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z Panel -13,MIN,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z Panel -14,MIN,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X Panel -15,MIN,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X Panel -16,MIN,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y Panel -17,MIN,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y Panel -18,MIN,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z Panel -19,MIN,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z Panel -20,MIN,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery2 Voltage,Battery2 Voltage -21,MIN,SPIN,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,MIN,Pressure,12,bar,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure -23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude -24,MIN,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count -25,MIN,RSSI,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication -26,MIN,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU -27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,Angular Veolcity around X Axis -28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis -29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis -30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity -31,MIN,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current -32,MIN,DIODE_T,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Diode Temperature,Diode Temperature -33,MIN,Sensor1,12,signed scaled,cubesatsim_rpm,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 -34,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status -35,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -36,MIN,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator -37,MIN,PayloadStatus2,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 2 failure indicator -38,MIN,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator -39,MIN,I2CBus1Failure,1,-,17,NONE,2,3,0,I2C Bus 1,I2C bus 1 failure indicator -40,MIN,I2CBus3Failure,1,-,17,NONE,2,4,0,I2C Bus 3,I2C bus 3 failure indicator -41,MIN,CameraFailure,1,-,17,NONE,2,5,0,Camera,Camera failure indicator -42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received -43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status -44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MIN,Pad,58,-,0,NONE,0,0,0,NONE,NONE +46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,RT,BATT_A_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) +1,RT,BATT_B_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage +3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis +4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis +5,RT,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Z Panel,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis +6,RT,TOTAL_BATT_I,12,mA,cubesatsim_current,Battery,4,2,3,Current,Total INA219 Battery DC Current +7,RT,Temperature,12,C,cubesatsim_temperature,Experiments,6,2,3,BME280 Temp,STEM Payload Sensor BME280 Temperature +8,RT,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,+X Panel,7,1,3,Voltage,INA219 +X Panel Voltage +9,RT,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,-X Panel,10,1,3,Voltage,INA219 -X Panel Voltage +10,RT,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,+Y Panel,8,1,3,Voltage,INA219 +Y Panel Voltage +11,RT,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,-Y Panel,11,1,3,Voltage,INA219 -Y Panel Voltage +12,RT,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,+Z Panel,9,1,3,Voltage,INA219 +Z Panel Voltage +13,RT,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,-Z Panel,12,1,3,Voltage,INA219 -Z Panel Voltage +14,RT,PANEL_PLUS_X_I,12,mA,cubesatsim_current,+X Panel,7,2,3,Current,INA219 +X Panel Current +15,RT,PANEL_MINUS_X_I,12,mA,cubesatsim_current,-X Panel,10,2,3,Current,INA219 -X Panel Current +16,RT,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,+Y Panel,8,2,3,Current,INA219 +Y Panel Current +17,RT,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y Panel Current +18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current +19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current +20,RT,PSUVoltage,12,V,cubesatsim_voltage|FLOAT2,PSU,5,1,3,Voltage,INA219 Power Supply Voltage +21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure +23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude +24,RT,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,RT,RSSI,12,dBm,cubesatsim_rssi|INT,Radio,1,1,3,RSSI,Received Signal Strength Indication +26,RT,IHUTemperature,12,C,cubesatsim_temperature,Computer Hardware,2,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU +27,RT,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+X Panel,7,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around X Axis +28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis +29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis +30,RT,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity +31,RT,PSUCurrent,12,mA,cubesatsim_current,PSU,5,2,3,Current,INA219 Power Supply DC Current +32,RT,Sensor1,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Extra Sensor 1 (Diode Temperature) +33,RT,Sensor2,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status +35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator +37,RT,PayloadStatus1,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 1 failure indicator +38,RT,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,RT,I2CBus1Failure,1,-,17,Computer Hardware,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,RT,I2CBus3Failure,1,-,17,Computer Hardware,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,RT,CameraFailure,1,-,17,Computer Hardware,2,4,0,Camera,Camera failure indicator +42,RT,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received +43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status +44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status +45,RT,Pad,58,-,0,NONE,0,0,0,NONE,NONE From 020d4a37bd52e6fa9cacd5e26ede60fa30f225e6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 13:53:37 -0400 Subject: [PATCH 003/108] Update CubeSatSim_rttelemetry.csv added Sensor2 and 3 --- .../FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 4d7b8711..6991a025 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,11 +1,11 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,BATT_A_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) -1,RT,BATT_B_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 +1,RT,Sensor3,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor23,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis 5,RT,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Z Panel,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis -6,RT,TOTAL_BATT_I,12,mA,cubesatsim_current,Battery,4,2,3,Current,Total INA219 Battery DC Current +6,RT,BATT_I,12,mA,cubesatsim_current,Battery,4,2,3,Battery Current,Battery Current 7,RT,Temperature,12,C,cubesatsim_temperature,Experiments,6,2,3,BME280 Temp,STEM Payload Sensor BME280 Temperature 8,RT,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,+X Panel,7,1,3,Voltage,INA219 +X Panel Voltage 9,RT,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,-X Panel,10,1,3,Voltage,INA219 -X Panel Voltage @@ -19,9 +19,9 @@ 17,RT,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y Panel Current 18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current -20,RT,PSUVoltage,12,V,cubesatsim_voltage|FLOAT2,PSU,5,1,3,Voltage,INA219 Power Supply Voltage +20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,PSU,5,1,3,Battery2 Voltage,Battery2 Voltage 21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure +22,RT,Pressure,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude 24,RT,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,RT,RSSI,12,dBm,cubesatsim_rssi|INT,Radio,1,1,3,RSSI,Received Signal Strength Indication @@ -30,9 +30,9 @@ 28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis 29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis 30,RT,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity -31,RT,PSUCurrent,12,mA,cubesatsim_current,PSU,5,2,3,Current,INA219 Power Supply DC Current -32,RT,Sensor1,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Extra Sensor 1 (Diode Temperature) -33,RT,Sensor2,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +31,RT,BATT2_I,12,mA,cubesatsim_current,PSU,5,2,3,Battery2 Current,Battery2 Current +32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature +33,RT,Sensor1,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status 35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator From 4394884016161a8c77099a424d8d065f39f7f9ca Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 13:55:08 -0400 Subject: [PATCH 004/108] Update CubeSatSim_rttelemetry.csv typos --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 6991a025..598cd44b 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,6 +1,6 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 -1,RT,Sensor3,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor23,STEM Payload Extra Sensor3 +0,RT,Sensor2,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 +1,RT,Sensor3,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis From 3dca79e26b30b525da2671864cce26a03720d7a1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 13:56:42 -0400 Subject: [PATCH 005/108] Update CubeSatSim_rttelemetry.csv typos --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 598cd44b..7a59468c 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,6 +1,6 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,Sensor2,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 -1,RT,Sensor3,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 +0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 +1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis From e2f0240c37ba3146a39266747905139243061a7c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 13:59:19 -0400 Subject: [PATCH 006/108] Update CubeSatSim_rttelemetry.csv more --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 7a59468c..f4971490 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -21,7 +21,7 @@ 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current 20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,PSU,5,1,3,Battery2 Voltage,Battery2 Voltage 21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,RT,Pressure,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure +22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude 24,RT,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,RT,RSSI,12,dBm,cubesatsim_rssi|INT,Radio,1,1,3,RSSI,Received Signal Strength Indication From a159f3979bbfe0e4b21d89e195f2fcea60786e63 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:02:20 -0400 Subject: [PATCH 007/108] Update CubeSatSim_rttelemetry.csv more --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index f4971490..8ab29bdb 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,7 +1,7 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION 0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 -2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage +2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis 5,RT,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Z Panel,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis @@ -19,7 +19,7 @@ 17,RT,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y Panel Current 18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current -20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,PSU,5,1,3,Battery2 Voltage,Battery2 Voltage +20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage 21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude @@ -30,7 +30,7 @@ 28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis 29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis 30,RT,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity -31,RT,BATT2_I,12,mA,cubesatsim_current,PSU,5,2,3,Battery2 Current,Battery2 Current +31,RT,BATT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current 32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature 33,RT,Sensor1,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status From 25e421a8cc11e0b27a72a052eea3645ca91c7688 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:06:08 -0400 Subject: [PATCH 008/108] Update CubeSatSim_rttelemetry.csv added Sensor2 and 3 to Experiments --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 8ab29bdb..e6a9ed57 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,11 +1,11 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor2,STEM Payload Extra Sensor2 -1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Sensor3,STEM Payload Extra Sensor3 +0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,6,8,3,Sensor2,STEM Payload Extra Sensor2 +1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,NONE,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis 5,RT,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Z Panel,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis -6,RT,BATT_I,12,mA,cubesatsim_current,Battery,4,2,3,Battery Current,Battery Current +6,RT,BATT_I,12,mA,cubesatsim_current,Battery,4,2,3,Battery Current,INA219 Battery Current 7,RT,Temperature,12,C,cubesatsim_temperature,Experiments,6,2,3,BME280 Temp,STEM Payload Sensor BME280 Temperature 8,RT,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,+X Panel,7,1,3,Voltage,INA219 +X Panel Voltage 9,RT,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,-X Panel,10,1,3,Voltage,INA219 -X Panel Voltage From 3a19a5df7c87ee8074da9b2a92d92906918387ea Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:09:19 -0400 Subject: [PATCH 009/108] Update CubeSatSim_rttelemetry.csv remove exp1 status --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index e6a9ed57..d52370e9 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -36,7 +36,7 @@ 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status 35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator -37,RT,PayloadStatus1,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 1 failure indicator +37,RT,PayloadStatus1,1,-,17,NONE,0,0,0,Exp 3,STEM Payload status 1 failure indicator 38,RT,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator 39,RT,I2CBus1Failure,1,-,17,Computer Hardware,2,2,0,I2C Bus 1,I2C bus 1 failure indicator 40,RT,I2CBus3Failure,1,-,17,Computer Hardware,2,3,0,I2C Bus 3,I2C bus 3 failure indicator From 887cbc49a93a995e180be3b273b27343bbc9e695 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:12:29 -0400 Subject: [PATCH 010/108] Update CubeSatSim_rttelemetry.csv add to Experiments --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index d52370e9..9c36d97a 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,6 +1,6 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,NONE,6,8,3,Sensor2,STEM Payload Extra Sensor2 -1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,NONE,6,9,3,Sensor3,STEM Payload Extra Sensor3 +0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 +1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis From 8efc3376ededc647998bea88dce8f99142b0bcfa Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:18:07 -0400 Subject: [PATCH 011/108] Update CubeSatSim_rttelemetry.csv display as integers --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 9c36d97a..dd349bc8 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,6 +1,6 @@ 46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,Sensor2,12,V,cubesatsim_voltage|FLOAT2,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 -1,RT,Sensor3,12,V,cubesatsim_voltage|FLOAT2,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 +0,RT,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 +1,RT,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis @@ -32,7 +32,7 @@ 30,RT,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity 31,RT,BATT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current 32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature -33,RT,Sensor1,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +33,RT,Sensor1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status 35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator From 28d7e44d77edc279b615eb9921c1b8c4a45b32d5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:22:04 -0400 Subject: [PATCH 012/108] Update CubeSatSim_rttelemetry.csv swap Hardware and Software --- .../FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index dd349bc8..7490e768 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -20,12 +20,12 @@ 18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current 20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage -21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,2,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude 24,RT,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,RT,RSSI,12,dBm,cubesatsim_rssi|INT,Radio,1,1,3,RSSI,Received Signal Strength Indication -26,RT,IHUTemperature,12,C,cubesatsim_temperature,Computer Hardware,2,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU +26,RT,IHUTemperature,12,C,cubesatsim_temperature,Computer Hardware,3,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU 27,RT,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+X Panel,7,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around X Axis 28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis 29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis @@ -34,14 +34,14 @@ 32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature 33,RT,Sensor1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status -35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) -36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator +35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,2,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,2,4,0,Simulated Telemetry, Simulated Telemetry Indicator 37,RT,PayloadStatus1,1,-,17,NONE,0,0,0,Exp 3,STEM Payload status 1 failure indicator 38,RT,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator -39,RT,I2CBus1Failure,1,-,17,Computer Hardware,2,2,0,I2C Bus 1,I2C bus 1 failure indicator -40,RT,I2CBus3Failure,1,-,17,Computer Hardware,2,3,0,I2C Bus 3,I2C bus 3 failure indicator -41,RT,CameraFailure,1,-,17,Computer Hardware,2,4,0,Camera,Camera failure indicator -42,RT,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received +39,RT,I2CBus1Failure,1,-,17,Computer Hardware,3,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,RT,I2CBus3Failure,1,-,17,Computer Hardware,3,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,RT,CameraFailure,1,-,17,Computer Hardware,3,4,0,Camera,Camera failure indicator +42,RT,GroundCommands,4,-,1,Computer Software,2,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status 45,RT,Pad,58,-,0,NONE,0,0,0,NONE,NONE From 03d6598235e200fc7852b070cf9eed4d83eac2ba Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:25:23 -0400 Subject: [PATCH 013/108] Update CubeSatSim_rttelemetry.csv add C2CStatus --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 7490e768..d274ea1b 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -44,4 +44,5 @@ 42,RT,GroundCommands,4,-,1,Computer Software,2,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status +45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,Command & Control Status, Command & Control Status 45,RT,Pad,58,-,0,NONE,0,0,0,NONE,NONE From 7129fd829883094e6b45ccb2bdc3207d09e2aa34 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:27:35 -0400 Subject: [PATCH 014/108] Update CubeSatSim_rttelemetry.csv missing field --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index d274ea1b..390d3c5f 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -44,5 +44,5 @@ 42,RT,GroundCommands,4,-,1,Computer Software,2,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,Command & Control Status, Command & Control Status -45,RT,Pad,58,-,0,NONE,0,0,0,NONE,NONE +45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,0,Command & Control Status, Command & Control Status +46,RT,Pad,58,-,0,NONE,0,0,0,NONE,NONE From 8ef11e6549037a4b0e3ab16e47a0c6fe193a680e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:29:26 -0400 Subject: [PATCH 015/108] Update CubeSatSim_rttelemetry.csv fixed bounds --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 390d3c5f..2f41c2e5 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,4 +1,4 @@ -46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION 0,RT,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 1,RT,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage @@ -45,4 +45,4 @@ 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status 45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,0,Command & Control Status, Command & Control Status -46,RT,Pad,58,-,0,NONE,0,0,0,NONE,NONE +46,RT,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 2101a648ad4727a662ef2e050e5a05a55fb37ae9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:31:59 -0400 Subject: [PATCH 016/108] Update CubeSatSim_rttelemetry.csv name --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 2f41c2e5..68727e12 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -44,5 +44,5 @@ 42,RT,GroundCommands,4,-,1,Computer Software,2,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,0,Command & Control Status, Command & Control Status +45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,0,Command Control Status, Command & Control Status 46,RT,Pad,57,-,0,NONE,0,0,0,NONE,NONE From d3f93a017830dba9b7905ffe22153e15ea373202 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:32:46 -0400 Subject: [PATCH 017/108] Update CubeSatSim_rttelemetry.csv swapped back H and S --- .../FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 68727e12..a57f8e85 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -20,12 +20,12 @@ 18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current 20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage -21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,2,1,3,Spacecraft Spin,Calculated spin rate using solar cells +21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude 24,RT,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,RT,RSSI,12,dBm,cubesatsim_rssi|INT,Radio,1,1,3,RSSI,Received Signal Strength Indication -26,RT,IHUTemperature,12,C,cubesatsim_temperature,Computer Hardware,3,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU +26,RT,IHUTemperature,12,C,cubesatsim_temperature,Computer Hardware,2,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU 27,RT,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+X Panel,7,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around X Axis 28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis 29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis @@ -34,15 +34,15 @@ 32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature 33,RT,Sensor1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status -35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,2,2,0,Safe Mode, Safe Mode (Low Battery Voltage) -36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,2,4,0,Simulated Telemetry, Simulated Telemetry Indicator +35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator 37,RT,PayloadStatus1,1,-,17,NONE,0,0,0,Exp 3,STEM Payload status 1 failure indicator 38,RT,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator -39,RT,I2CBus1Failure,1,-,17,Computer Hardware,3,2,0,I2C Bus 1,I2C bus 1 failure indicator -40,RT,I2CBus3Failure,1,-,17,Computer Hardware,3,3,0,I2C Bus 3,I2C bus 3 failure indicator -41,RT,CameraFailure,1,-,17,Computer Hardware,3,4,0,Camera,Camera failure indicator +39,RT,I2CBus1Failure,1,-,17,Computer Hardware,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,RT,I2CBus3Failure,1,-,17,Computer Hardware,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,RT,CameraFailure,1,-,17,Computer Hardware,2,4,0,Camera,Camera failure indicator 42,RT,GroundCommands,4,-,1,Computer Software,2,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,2,5,0,Command Control Status, Command & Control Status +45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status 46,RT,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 278fcc486997fea0eab16ecb9869b96f780f0ef7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:34:33 -0400 Subject: [PATCH 018/108] Update CubeSatSim_rttelemetry.csv wrong number --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index a57f8e85..ffbb7a50 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -41,7 +41,7 @@ 39,RT,I2CBus1Failure,1,-,17,Computer Hardware,2,2,0,I2C Bus 1,I2C bus 1 failure indicator 40,RT,I2CBus3Failure,1,-,17,Computer Hardware,2,3,0,I2C Bus 3,I2C bus 3 failure indicator 41,RT,CameraFailure,1,-,17,Computer Hardware,2,4,0,Camera,Camera failure indicator -42,RT,GroundCommands,4,-,1,Computer Software,2,3,0,Ground Commands,Number of ground commands received +42,RT,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status 45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status From c19ca910001b751a1ff961a29a09ae981f3c5480 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:54:05 -0400 Subject: [PATCH 019/108] Create CubeSatSim_PSK_rttelemetry.csv initial file --- .../CubeSatSim_PSK_rttelemetry.csv | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv new file mode 100644 index 00000000..28f3eb89 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -0,0 +1,61 @@ +60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,realTime,BATT_A_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A,Battery A voltage (0-2.5V scale) +1,realTime,BATT_B_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,2,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage +3,realTime,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis +4,realTime,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis +5,realTime,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Z Panel,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis +6,realTime,battCurr,12,mA,cubesatsim_current,Battery,4,2,3,Current,INA219 Total Battery DC Current +7,realTime,Temperature,12,C,cubesatsim_temperature,Experiments,6,2,3,BME280 Temp,BME280 STEM Payload sensor temperature +8,realTime,posXv,12,V,cubesatsim_voltage|FLOAT2,+X Panel,7,1,3,Voltage,INA219 +X solar panel Voltage +9,realTime,posYv,12,V,cubesatsim_voltage|FLOAT2,+Y Panel,8,1,3,Voltage,INA219 +Y solar panel Voltage +10,realTime,posZv,12,V,cubesatsim_voltage|FLOAT2,+Z Panel,9,1,3,Voltage,INA219 +Z solar panel Voltage +11,realTime,negXv,12,V,cubesatsim_voltage|FLOAT2,-X Panel,10,1,3,Voltage,INA219 -X solar panel Voltage +12,realTime,negYv,12,V,cubesatsim_voltage|FLOAT2,-Y Panel,11,1,3,Voltage,INA219 -Y solar panel Voltage +13,realTime,negZv,12,V,cubesatsim_voltage|FLOAT2,-Z Panel,12,1,3,Voltage,INA219 -Z solar panel Voltage +14,realTime,posXi,12,mA,cubesatsim_current,+X Panel,7,2,3,Current,INA219 +X solar panel Current +15,realTime,posYi,12,mA,cubesatsim_current,+Y Panel,8,2,3,Current,INA219 +Y solar panel Current +16,realTime,posZi,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z solar panel Current +17,realTime,negXi,12,mA,cubesatsim_current,-X Panel,10,2,3,Current,INA219 -X solar panel Current +18,realTime,negYi,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y solar panel Current +19,realTime,negZi,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z solar panel Current +20,realTime,BATT2Voltage,12,V,cubesatsim_voltage|FLOAT2,BAT2,5,1,3,Voltage,INA219 Power Supply Voltage +21,realTime,spin,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,realTime,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,BME280 STEM Payload sensor pressure +23,realTime,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,BME280 STEM Payload sensor altitude +24,realTime,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,realTime,rssi,12,dBm,cubesatsim_rssi|INT,Radio,1,1,3,RSSI,Received Signal Strength Indication +26,realTime,IHUcpuTemp,12,C,cubesatsim_temperature,Computer Hardware,2,1,3,IHU Temp (Pi),Internal temperature of IHU from Pi +27,realTime,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+X Panel,7,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around X Axis +28,realTime,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Y Axis +29,realTime,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Z Axis +30,realTime,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,BME280 Humidity +31,realTime,BAT2Current,12,mA,cubesatsim_current,BAT2,5,2,3,Current,INA219 Power Supply DC Current +32,realTime,Sensor1,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload extra Sensor 1 (Diode Temperature) +33,realTime,Sensor2,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 2,STEM Payload extra Sensor 2 +34,realTime,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator +35,realTime,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,realTime,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator +37,realTime,PayloadStatus1,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 1 failure indicator +38,realTime,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,realTime,I2CBus1Failure,1,-,17,Computer Hardware,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,realTime,I2CBus3Failure,1,-,17,Computer Hardware,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,realTime,CameraFailure,1,-,17,Computer Hardware,2,4,0,Camera,Camera failure indicator +42,realTime,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received +43,realTime,RxAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status +44,realTime,TxAntenna,2,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status +45,realTime,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +46,realTime,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V +47,realTime,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected +48,realTime,rf6,12,-,0,NONE,0,0,0,None,None +49,realTime,rf7,12,-,0,NONE,0,0,0,None,None +50,realTime,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR +51,realTime,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) +52,realTime,pad,4,-,34,NONE,0,0,0,None,Unused +53,realTime,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance +54,realTime,pad1,1,-,0,NONE,0,0,0,NONE,Filler +55,realTime,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds +56,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information +57,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset +58,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset +59,realTime,pad2,28,-,0,NONE,0,0,0,NONE,Filler From 2430523a794146bb53e1a0e2adeafeb5eafdf280 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 14:59:29 -0400 Subject: [PATCH 020/108] Update CubeSatSim_PSK_rttelemetry.csv add Sensors 2,3 Bat2 --- .../CubeSatSim_PSK_rttelemetry.csv | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index 28f3eb89..8f62d4db 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -1,11 +1,11 @@ 60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,realTime,BATT_A_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A,Battery A voltage (0-2.5V scale) -1,realTime,BATT_B_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,2,3,Cell A+B,Battery A+B voltage (0-3.3V scale) -2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Cell A+B+C Voltage,INA219 Battery A+B+C Voltage +0,realTime,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 +1,realTime,Sensor3,12,integer,1,Experiments,6,8,3,Sensor3,STEM Payload Extra Sensor3 +2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,realTime,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,realTime,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis 5,realTime,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Z Panel,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis -6,realTime,battCurr,12,mA,cubesatsim_current,Battery,4,2,3,Current,INA219 Total Battery DC Current +6,realTime,BATT_I,12,mA,cubesatsim_current,Battery,4,2,3,Battery Current,INA219 Battery Current 7,realTime,Temperature,12,C,cubesatsim_temperature,Experiments,6,2,3,BME280 Temp,BME280 STEM Payload sensor temperature 8,realTime,posXv,12,V,cubesatsim_voltage|FLOAT2,+X Panel,7,1,3,Voltage,INA219 +X solar panel Voltage 9,realTime,posYv,12,V,cubesatsim_voltage|FLOAT2,+Y Panel,8,1,3,Voltage,INA219 +Y solar panel Voltage @@ -19,7 +19,7 @@ 17,realTime,negXi,12,mA,cubesatsim_current,-X Panel,10,2,3,Current,INA219 -X solar panel Current 18,realTime,negYi,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y solar panel Current 19,realTime,negZi,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z solar panel Current -20,realTime,BATT2Voltage,12,V,cubesatsim_voltage|FLOAT2,BAT2,5,1,3,Voltage,INA219 Power Supply Voltage +20,realTime,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage 21,realTime,spin,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,realTime,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,BME280 STEM Payload sensor pressure 23,realTime,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,BME280 STEM Payload sensor altitude @@ -30,9 +30,9 @@ 28,realTime,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Y Axis 29,realTime,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Z Axis 30,realTime,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,BME280 Humidity -31,realTime,BAT2Current,12,mA,cubesatsim_current,BAT2,5,2,3,Current,INA219 Power Supply DC Current -32,realTime,Sensor1,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload extra Sensor 1 (Diode Temperature) -33,realTime,Sensor2,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 2,STEM Payload extra Sensor 2 +31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current +32,realTime,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature +33,realTime,Sensor1,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 1,STEM Payload extra Sensor 1 34,realTime,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator 35,realTime,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,realTime,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator From af04538ad18cddd4c35e5e020871463348697b56 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 15:02:13 -0400 Subject: [PATCH 021/108] Update CubeSatSim_PSK_rttelemetry.csv fixed Sensor 3 --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index 8f62d4db..0036af8e 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -1,6 +1,6 @@ 60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION 0,realTime,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 -1,realTime,Sensor3,12,integer,1,Experiments,6,8,3,Sensor3,STEM Payload Extra Sensor3 +1,realTime,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,realTime,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,realTime,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis From fff7101d9b5c606240fd3dbf30f8022a0e4db070 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 15:05:08 -0400 Subject: [PATCH 022/108] Update CubeSatSim_PSK_rttelemetry.csv Add C&C --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index 0036af8e..b9289e44 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -1,4 +1,4 @@ -60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION 0,realTime,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 1,realTime,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage @@ -32,7 +32,7 @@ 30,realTime,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,BME280 Humidity 31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current 32,realTime,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature -33,realTime,Sensor1,12,signed scaled,cubesatsim_rpm,Experiments,6,7,3,Sensor 1,STEM Payload extra Sensor 1 +33,realTime,Sensor1,12,integer,1,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,realTime,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator 35,realTime,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,realTime,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator @@ -58,4 +58,5 @@ 56,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 57,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 58,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -59,realTime,pad2,28,-,0,NONE,0,0,0,NONE,Filler +59,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +60,realTime,pad2,27,-,0,NONE,0,0,0,NONE,Filler From e1f6dbd510abffb5b5863aeb4ecc4bcca8bd5863 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 15:07:00 -0400 Subject: [PATCH 023/108] Update CubeSatSim_PSK_rttelemetry.csv missing Experiments --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index b9289e44..8db4c180 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -32,7 +32,7 @@ 30,realTime,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,BME280 Humidity 31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current 32,realTime,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature -33,realTime,Sensor1,12,integer,1,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +33,realTime,Sensor1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,realTime,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator 35,realTime,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,realTime,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator From c22763ff31c958eb7ff11378e773f54fac80fd3d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 15:57:56 -0400 Subject: [PATCH 024/108] Update main.c add XS2 and XS3 --- main.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 15a31e6d..24c907c5 100644 --- a/main.c +++ b/main.c @@ -1359,8 +1359,8 @@ void get_tlm_fox() { // read payload sensor if available - encodeA(b, 0 + head_offset, batt_a_v); - encodeB(b, 1 + head_offset, batt_b_v); +// encodeA(b, 0 + head_offset, batt_a_v); // replaced by XS2 and XS3 below +// encodeB(b, 1 + head_offset, batt_b_v); encodeA(b, 3 + head_offset, batt_c_v); encodeB(b, 4 + head_offset, (int)(sensor[ACCEL_X] * 100 + 0.5) + 2048); // Xaccel @@ -1528,8 +1528,12 @@ void get_tlm_fox() { encodeB(b, 46 + head_offset, PSUCurrent); encodeA(b, 48 + head_offset, (int)(sensor[DTEMP] * 10 + 0.5) + 2048); - encodeB(b, 49 + head_offset, (int)(sensor[XS1] * 10 + 0.5) + 2048); - +// encodeB(b, 49 + head_offset, (int)(sensor[XS1] * 10 + 0.5) + 2048); + + encodeB(b, 49 + head_offset, (int)(sensor[XS1])); + encodeA(b, 0 + head_offset, (int)(sensor[XS2])); + encodeB(b, 1 + head_offset, (int)(sensor[XS3])); + FILE * command_count_file = fopen("/home/pi/CubeSatSim/command_count.txt", "r"); if (command_count_file != NULL) { char count_string[10]; From 16904169fb822ecfe2f4b4d3a74ebea48c10eb24 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 16:06:14 -0400 Subject: [PATCH 025/108] Update main.c test Sensor 1-3 --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index 24c907c5..5fc6b5e3 100644 --- a/main.c +++ b/main.c @@ -1529,6 +1529,10 @@ void get_tlm_fox() { encodeB(b, 46 + head_offset, PSUCurrent); encodeA(b, 48 + head_offset, (int)(sensor[DTEMP] * 10 + 0.5) + 2048); // encodeB(b, 49 + head_offset, (int)(sensor[XS1] * 10 + 0.5) + 2048); + + sensor[XS2] = 100.0; + sensor[XS2] = 1000; + sensor[XS3] = 500; encodeB(b, 49 + head_offset, (int)(sensor[XS1])); encodeA(b, 0 + head_offset, (int)(sensor[XS2])); From 687ef435a860ed29770a7e2739f207a73347e85f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 16:15:47 -0400 Subject: [PATCH 026/108] Update CubeSatSim_PSK_rttelemetry.csv move C2CStatus --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index 8db4c180..18cdf5b7 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -1,4 +1,4 @@ -61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION 0,realTime,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 1,realTime,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage @@ -43,8 +43,8 @@ 41,realTime,CameraFailure,1,-,17,Computer Hardware,2,4,0,Camera,Camera failure indicator 42,realTime,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,realTime,RxAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status -44,realTime,TxAntenna,2,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,realTime,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +44,realTime,TxAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status +45,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status 46,realTime,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 47,realTime,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected 48,realTime,rf6,12,-,0,NONE,0,0,0,None,None @@ -58,5 +58,4 @@ 56,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 57,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 58,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -59,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status -60,realTime,pad2,27,-,0,NONE,0,0,0,NONE,Filler +59,realTime,pad2,28,-,0,NONE,0,0,0,NONE,Filler From 1bac412d3b76f6c9988093e745993cdff59de001 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 16:18:59 -0400 Subject: [PATCH 027/108] Update CubeSatSim_PSK_rttelemetry.csv add one more bit --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index 18cdf5b7..3247c951 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -58,4 +58,4 @@ 56,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 57,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 58,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -59,realTime,pad2,28,-,0,NONE,0,0,0,NONE,Filler +59,realTime,pad2,29,-,0,NONE,0,0,0,NONE,Filler From 361b838b9907485ae703ba7a1283bb563fb14ead Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 16:37:05 -0400 Subject: [PATCH 028/108] Update CubeSatSim_PSK_rttelemetry.csv missing bits fixed --- .../CubeSatSim_PSK_rttelemetry.csv | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index 3247c951..a8fe3208 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -1,4 +1,4 @@ -60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION 0,realTime,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 1,realTime,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage @@ -45,17 +45,18 @@ 43,realTime,RxAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,realTime,TxAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status 45,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status -46,realTime,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V -47,realTime,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected -48,realTime,rf6,12,-,0,NONE,0,0,0,None,None -49,realTime,rf7,12,-,0,NONE,0,0,0,None,None -50,realTime,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR -51,realTime,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) -52,realTime,pad,4,-,34,NONE,0,0,0,None,Unused -53,realTime,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance -54,realTime,pad1,1,-,0,NONE,0,0,0,NONE,Filler -55,realTime,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds -56,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information -57,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset -58,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -59,realTime,pad2,29,-,0,NONE,0,0,0,NONE,Filler +46,realTime,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +47,realTime,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V +48,realTime,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected +49,realTime,rf6,12,-,0,NONE,0,0,0,None,None +50,realTime,rf7,12,-,0,NONE,0,0,0,None,None +51,realTime,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR +52,realTime,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) +53,realTime,pad,4,-,34,NONE,0,0,0,None,Unused +54,realTime,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance +55,realTime,pad1,1,-,0,NONE,0,0,0,NONE,Filler +56,realTime,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds +57,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information +58,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset +59,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset +60,realTime,pad2,27,-,0,NONE,0,0,0,NONE,Filler From 5026cd5b79e001724080f1ae8be753c658fbf001 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 16:55:12 -0400 Subject: [PATCH 029/108] Create CubeSatSim_PSK_mintelemetry.csv initial file --- .../CubeSatSim_PSK_mintelemetry.csv | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv new file mode 100644 index 00000000..88c3a15d --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -0,0 +1,61 @@ +60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,MIN,BATT_A_V,12,V,4,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) +1,MIN,BATT_B_V,12,V,4,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) +2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) +3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis +4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis +5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis +6,MIN,battCurr,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current +7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temp,STEM Payload Sensor Temperature +8,MIN,posXv,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X solar Panel voltage +9,MIN,posYv,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y solar Panel voltage +10,MIN,posZv,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z solar Panel voltage +11,MIN,negXv,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X solar Panel voltage +12,MIN,negYv,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y solar Panel voltage +13,MIN,negZv,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z solar Panel voltage +14,MIN,posXi,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X solar Panel current +15,MIN,posYi,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y solar Panel current +16,MIN,posZi,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z solar Panel current +17,MIN,negXi,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X solar Panel current +18,MIN,negYi,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y solar Panel current +19,MIN,negZi,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z solar Panel current +20,MIN,PSUVoltage,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Board Voltage,Power Supply Voltage +21,MIN,spin,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,MIN,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure +23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +24,MIN,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,MIN,rssi,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication +26,MIN,IHUcpuTemp,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU +27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,7,3,3,Rotation,Angular Veolcity around X Axis +28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis +29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis +30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity +31,MIN,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current +32,MIN,Sensor1,12,C,cubesatsim_rpm ,NONE,6,6,3,Diode Temperature,STEM Payload Extra Sensor 1 (Diode Temperature) +33,MIN,Sensor2,12,signed raw,cubesatsim_rpm ,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +34,MIN,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +35,MIN,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V +36,MIN,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected +37,MIN,rf6,12,-,0,NONE,0,0,0,None,None +38,MIN,rf7,12,-,0,NONE,0,0,0,None,None +39,MIN,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR +40,MIN,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) +41,MIN,pad,4,-,34,NONE,0,0,0,None,Unused +42,MIN,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance +43,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload Board Failure Indicator +44,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) +45,MIN,expFailure2,1,-,17,NONE,6,7,0,Exp 2,Experiment 2 Failure Indicator +46,MIN,expFailure3,1,-,17,NONE,6,8,0,Exp 3,Experiment 3 Failure Indicator +47,MIN,I2CfailureBatt,1,-,17,NONE,2,2,0,Battery I2C,Battery I2C Bus failure indicator +48,MIN,I2CfailurePSU1,1,-,17,NONE,2,3,0,PSU1 I2C,PSU2 I2C Bus failure indicator +49,MIN,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator +50,MIN,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry +51,MIN,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status +52,MIN,TxAntDeploy,2,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status +53,MIN,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator +54,MIN,pad1,1,-,0,NONE,0,0,0,NONE,Filler +55,MIN,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds +56,MIN,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information +57,MIN,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset +58,MIN,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset +59,MIN,pad2,28,-,0,NONE,0,0,0,NONE,Filler From 5b74384a6d761a0f1c92de6cc106079bc7a92cee Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 16:59:55 -0400 Subject: [PATCH 030/108] Update CubeSatSim_PSK_mintelemetry.csv add C2C and units for Sensors 1-3 --- .../CubeSatSim_PSK_mintelemetry.csv | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index 88c3a15d..c653bd6b 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -1,6 +1,6 @@ -60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,MIN,BATT_A_V,12,V,4,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) -1,MIN,BATT_B_V,12,V,4,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) +61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,MIN,Sensor2,12,integer,1,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) +1,MIN,Sensor3,12,integer,1,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) 2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) 3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis @@ -31,8 +31,8 @@ 29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis 30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity 31,MIN,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current -32,MIN,Sensor1,12,C,cubesatsim_rpm ,NONE,6,6,3,Diode Temperature,STEM Payload Extra Sensor 1 (Diode Temperature) -33,MIN,Sensor2,12,signed raw,cubesatsim_rpm ,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +32,MIN,DiodeTemp,12,C,cubesatsim_rpm ,NONE,6,6,3,Diode Temperature,STEM Payload Extra Sensor 1 (Diode Temperature) +33,MIN,Sensor1,12,integer,1,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 34,MIN,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 35,MIN,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 36,MIN,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected @@ -51,11 +51,12 @@ 49,MIN,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator 50,MIN,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry 51,MIN,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status -52,MIN,TxAntDeploy,2,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,MIN,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator -54,MIN,pad1,1,-,0,NONE,0,0,0,NONE,Filler -55,MIN,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds -56,MIN,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information -57,MIN,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset -58,MIN,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -59,MIN,pad2,28,-,0,NONE,0,0,0,NONE,Filler +52,MIN,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status +53,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +54,MIN,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator +55,MIN,pad1,1,-,0,NONE,0,0,0,NONE,Filler +56,MIN,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds +57,MIN,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information +58,MIN,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset +59,MIN,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset +60,MIN,pad2,28,-,0,NONE,0,0,0,NONE,Filler From 76aec178e3afe7926001370018a6b660e7cfa351 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 17:02:35 -0400 Subject: [PATCH 031/108] Create CubeSatSim_PSK_maxtelemetry.csv initial file --- .../CubeSatSim_PSK_maxtelemetry.csv | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv new file mode 100644 index 00000000..86e70442 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -0,0 +1,61 @@ +60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,MAX,BATT_A_V,12,V,4,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) +1,MAX,BATT_B_V,12,V,4,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) +2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) +3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis +4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis +5,MAX,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis +6,MAX,battCurr,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current +7,MAX,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temp,STEM Payload Sensor Temperature +8,MAX,posXv,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X solar Panel voltage +9,MAX,posYv,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y solar Panel voltage +10,MAX,posZv,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z solar Panel voltage +11,MAX,negXv,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X solar Panel voltage +12,MAX,negYv,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y solar Panel voltage +13,MAX,negZv,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z solar Panel voltage +14,MAX,posXi,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X solar Panel current +15,MAX,posYi,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y solar Panel current +16,MAX,posZi,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z solar Panel current +17,MAX,negXi,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X solar Panel current +18,MAX,negYi,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y solar Panel current +19,MAX,negZi,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z solar Panel current +20,MAX,PSUVoltage,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Board Voltage,Power Supply Voltage +21,MAX,spin,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,MAX,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure +23,MAX,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +24,MAX,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,MAX,rssi,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication +26,MAX,IHUcpuTemp,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU +27,MAX,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,7,3,3,Rotation,Angular Veolcity around X Axis +28,MAX,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis +29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis +30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity +31,MAX,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current +32,MAX,Sensor1,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Extra Sensor 1 +33,MAX,Sensor2,12,signed raw,cubesatsim_rpm,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +34,MAX,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +35,MAX,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V +36,MAX,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected +37,MAX,rf6,12,-,0,NONE,0,0,0,None,None +38,MAX,rf7,12,-,0,NONE,0,0,0,None,None +39,MAX,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR +40,MAX,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) +41,MAX,pad,4,-,34,NONE,0,0,0,None,Unused +42,MAX,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance +43,MAX,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload Board Failure Indicator +44,MAX,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) +45,MAX,expFailure2,1,-,17,NONE,6,7,0,Exp 2,Experiment 2 Failure Indicator +46,MAX,expFailure3,1,-,17,NONE,6,8,0,Exp 3,Experiment 3 Failure Indicator +47,MAX,I2CfailureBatt,1,-,17,NONE,2,2,0,Battery I2C,Battery I2C Bus failure indicator +48,MAX,I2CfailurePSU1,1,-,17,NONE,2,3,0,PSU1 I2C,PSU2 I2C Bus failure indicator +49,MAX,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator +50,MAX,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry +51,MAX,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status +52,MAX,TxAntDeploy,2,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status +53,MAX,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator +54,MAX,pad1,1,-,0,NONE,0,0,0,NONE,Filler +55,MAX,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds +56,MAX,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information +57,MAX,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset +58,MAX,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset +59,MAX,pad2,28,-,0,NONE,0,0,0,NONE,Filler From 1104c6ba6952e145da09e70a63a80fbbf55c22f2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 17:05:56 -0400 Subject: [PATCH 032/108] Update CubeSatSim_PSK_maxtelemetry.csv add C2CState and Sensor 1-3 units --- .../CubeSatSim_PSK_maxtelemetry.csv | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index 86e70442..c0c8f99c 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -1,6 +1,6 @@ -60,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,MAX,BATT_A_V,12,V,4,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) -1,MAX,BATT_B_V,12,V,4,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) +61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,MAX,Sensor2,12,integer,1,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) +1,MAX,Sensor3,12,integer,1,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) 2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) 3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis @@ -31,8 +31,8 @@ 29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis 30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity 31,MAX,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current -32,MAX,Sensor1,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Extra Sensor 1 -33,MAX,Sensor2,12,signed raw,cubesatsim_rpm,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +32,MAX,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Extra Sensor 1 +33,MAX,Sensor1,12,integer,1,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 34,MAX,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 35,MAX,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 36,MAX,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected @@ -51,11 +51,12 @@ 49,MAX,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator 50,MAX,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry 51,MAX,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status -52,MAX,TxAntDeploy,2,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,MAX,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator -54,MAX,pad1,1,-,0,NONE,0,0,0,NONE,Filler -55,MAX,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds -56,MAX,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information -57,MAX,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset -58,MAX,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -59,MAX,pad2,28,-,0,NONE,0,0,0,NONE,Filler +52,MAX,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status +53,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +54,MAX,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator +55,MAX,pad1,1,-,0,NONE,0,0,0,NONE,Filler +56,MAX,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds +57,MAX,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information +58,MAX,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset +59,MAX,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset +60,MAX,pad2,28,-,0,NONE,0,0,0,NONE,Filler From 1ab64bbeb5e7686247b935e0d3d51b029b02cec9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 22:22:03 -0400 Subject: [PATCH 033/108] Update CubeSatSim_PSK_maxtelemetry.csv added MAX --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index c0c8f99c..e6fdcf27 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -52,7 +52,7 @@ 50,MAX,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry 51,MAX,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status 52,MAX,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +53,MAX,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status 54,MAX,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator 55,MAX,pad1,1,-,0,NONE,0,0,0,NONE,Filler 56,MAX,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds From c190e9d8ee977bb8f60e5cb68ab4422c278d9b5e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 22:24:00 -0400 Subject: [PATCH 034/108] Update CubeSatSim_PSK_rttelemetry.csv fixed pad2 --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index a8fe3208..a7b61933 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -59,4 +59,4 @@ 57,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 58,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 59,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -60,realTime,pad2,27,-,0,NONE,0,0,0,NONE,Filler +60,realTime,pad2,28,-,0,NONE,0,0,0,NONE,Filler From bb323fb42f76158ecc23fb35b8ec4a60364002a0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 29 Aug 2024 22:24:29 -0400 Subject: [PATCH 035/108] Update CubeSatSim_PSK_mintelemetry.csv added MIN --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index c653bd6b..6aee5e48 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -52,7 +52,7 @@ 50,MIN,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry 51,MIN,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status 52,MIN,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +53,MIN,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status 54,MIN,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator 55,MIN,pad1,1,-,0,NONE,0,0,0,NONE,Filler 56,MIN,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds From 07974ceb5ffcd2ea01bbbb894e3e38b7af158e30 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 08:24:46 -0400 Subject: [PATCH 036/108] Update CubeSatSim_PSK_maxtelemetry.csv fixed NONE --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index e6fdcf27..0b88318a 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -52,7 +52,7 @@ 50,MAX,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry 51,MAX,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status 52,MAX,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,MAX,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +53,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status 54,MAX,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator 55,MAX,pad1,1,-,0,NONE,0,0,0,NONE,Filler 56,MAX,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds From d7d188b756ac1baef2f2c7c82a4472285077ab4e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 08:25:54 -0400 Subject: [PATCH 037/108] Update CubeSatSim_PSK_mintelemetry.csv fixed NONE --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index 6aee5e48..839db157 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -52,7 +52,7 @@ 50,MIN,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry 51,MIN,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status 52,MIN,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,MIN,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +53,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status 54,MIN,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator 55,MIN,pad1,1,-,0,NONE,0,0,0,NONE,Filler 56,MIN,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds From 9c735a141434d31189e2292e38217667931df4c3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 08:55:14 -0400 Subject: [PATCH 038/108] Create CubeSatSim_mintelemetry.csv initial file --- .../CubeSatSim_mintelemetry.csv | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv new file mode 100644 index 00000000..b1855e80 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -0,0 +1,47 @@ +46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION +0,MIN,BATT_A_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) +1,MIN,BATT_B_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) +3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis +4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis +5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis +6,MIN,TOTAL_BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current +7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature +8,MIN,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel +9,MIN,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel +10,MIN,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y Panel +11,MIN,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y Panel +12,MIN,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z Panel +13,MIN,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z Panel +14,MIN,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X Panel +15,MIN,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X Panel +16,MIN,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y Panel +17,MIN,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y Panel +18,MIN,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z Panel +19,MIN,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z Panel +20,MIN,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery2 Voltage,Power Supply Voltage +21,MIN,SPIN,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,MIN,Pressure,12,bar,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure +23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +24,MIN,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,MIN,RSSI,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication +26,MIN,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU +27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,Angular Veolcity around X Axis +28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis +29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis +30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity +31,MIN,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current +32,MIN,Sensor1,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Extra Sensor 1 +33,MIN,Sensor2,12,signed scaled,cubesatsim_rpm,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +34,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status +35,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) +36,MIN,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator +37,MIN,PayloadStatus2,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 2 failure indicator +38,MIN,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,MIN,I2CBus1Failure,1,-,17,NONE,2,3,0,I2C Bus 1,I2C bus 1 failure indicator +40,MIN,I2CBus3Failure,1,-,17,NONE,2,4,0,I2C Bus 3,I2C bus 3 failure indicator +41,MIN,CameraFailure,1,-,17,NONE,2,5,0,Camera,Camera failure indicator +42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received +43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status +44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status +45,MIN,Pad,58,-,0,NONE,0,0,0,NONE,NONE From 17b2bcf132218e1fe5c5054b4354768e6a796f5d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 08:58:51 -0400 Subject: [PATCH 039/108] Update CubeSatSim_mintelemetry.csv added additional fields --- .../FoxTelem_1.13e/CubeSatSim_mintelemetry.csv | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index b1855e80..78d4f430 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -1,6 +1,6 @@ -46,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION -0,MIN,BATT_A_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) -1,MIN,BATT_B_V,12,V,cubesatsim_voltage|FLOAT2,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION +0,MIN,Sensor2,integer,1,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) +1,MIN,Sensor3,V,integer,1,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) 2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) 3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis @@ -31,8 +31,8 @@ 29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis 30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity 31,MIN,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current -32,MIN,Sensor1,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Extra Sensor 1 -33,MIN,Sensor2,12,signed scaled,cubesatsim_rpm,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +32,MIN,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Diode Sensor +33,MIN,Sensor1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status 35,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) 36,MIN,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator @@ -44,4 +44,5 @@ 42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MIN,Pad,58,-,0,NONE,0,0,0,NONE,NONE +45,RT,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status +46,MIN,Pad,57,-,0,NONE,0,0,0,NONE,NONE From f212ae598b3579189fd3423f308ad12526d760c7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:00:21 -0400 Subject: [PATCH 040/108] Update CubeSatSim_mintelemetry.csv typo --- spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index 78d4f430..fc1fd3cd 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -1,6 +1,6 @@ 47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION -0,MIN,Sensor2,integer,1,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) -1,MIN,Sensor3,V,integer,1,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +0,MIN,Sensor2,12,integer,1,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) +1,MIN,Sensor3,12,integer,1,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) 2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) 3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis From b3be53a9ea22d8850d3328419fac67ee411a9897 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:02:51 -0400 Subject: [PATCH 041/108] Update CubeSatSim_mintelemetry.csv changed to MIN --- spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index fc1fd3cd..11c6ecc7 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -44,5 +44,5 @@ 42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status +45,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status 46,MIN,Pad,57,-,0,NONE,0,0,0,NONE,NONE From f9c823360bbd97102149a1fe98b1f790e804990f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:03:50 -0400 Subject: [PATCH 042/108] Update CubeSatSim_mintelemetry.csv renamed bat_i --- spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index 11c6ecc7..e6d28384 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -5,7 +5,7 @@ 3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis 5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis -6,MIN,TOTAL_BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current +6,MIN,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current 7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature 8,MIN,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel 9,MIN,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel From 19db070747ac5956df5f2fb80651333457ead3de Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:04:58 -0400 Subject: [PATCH 043/108] Create CubeSatSim_maxtelemetry.csv copied from MIN --- .../CubeSatSim_maxtelemetry.csv | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv new file mode 100644 index 00000000..70a7f0c3 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv @@ -0,0 +1,48 @@ +47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION +0,MAX,Sensor2,12,integer,1,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) +1,MAX,Sensor3,12,integer,1,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) +2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) +3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis +4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis +5,MAX,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis +6,MAX,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current +7,MAX,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature +8,MAX,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel +9,MAX,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel +10,MAX,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y Panel +11,MAX,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y Panel +12,MAX,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z Panel +13,MAX,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z Panel +14,MAX,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X Panel +15,MAX,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X Panel +16,MAX,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y Panel +17,MAX,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y Panel +18,MAX,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z Panel +19,MAX,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z Panel +20,MAX,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery2 Voltage,Power Supply Voltage +21,MAX,SPIN,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells +22,MAX,Pressure,12,bar,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure +23,MAX,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +24,MAX,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count +25,MAX,RSSI,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication +26,MAX,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU +27,MAX,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,Angular Veolcity around X Axis +28,MAX,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis +29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis +30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity +31,MAX,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current +32,MAX,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Diode Sensor +33,MAX,Sensor1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +34,MAX,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status +35,MAX,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) +36,MAX,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator +37,MAX,PayloadStatus2,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 2 failure indicator +38,MAX,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,MAX,I2CBus1Failure,1,-,17,NONE,2,3,0,I2C Bus 1,I2C bus 1 failure indicator +40,MAX,I2CBus3Failure,1,-,17,NONE,2,4,0,I2C Bus 3,I2C bus 3 failure indicator +41,MAX,CameraFailure,1,-,17,NONE,2,5,0,Camera,Camera failure indicator +42,MAX,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received +43,MAX,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status +44,MAX,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status +45,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status +46,MAX,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 2ebeafdd2405b7cc9db8d1a16b2a5fe0f6041c0f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:08:35 -0400 Subject: [PATCH 044/108] Update CubeSatSim_PSK_rttelemetry.csv added spaces --- .../FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index a7b61933..c6ed21b3 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -1,6 +1,6 @@ 61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,realTime,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 -1,realTime,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 +0,realTime,Sensor 2,12,integer,1,Experiments,6,8,3,Sensor 2,STEM Payload Extra Sensor 2 +1,realTime,Sensor 3,12,integer,1,Experiments,6,9,3,Sensor 3,STEM Payload Extra Sensor 3 2,realTime,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,realTime,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,realTime,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis @@ -19,7 +19,7 @@ 17,realTime,negXi,12,mA,cubesatsim_current,-X Panel,10,2,3,Current,INA219 -X solar panel Current 18,realTime,negYi,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y solar panel Current 19,realTime,negZi,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z solar panel Current -20,realTime,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage +20,realTime,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery 2,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage 21,realTime,spin,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,realTime,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,BME280 STEM Payload sensor pressure 23,realTime,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,BME280 STEM Payload sensor altitude @@ -30,9 +30,9 @@ 28,realTime,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Y Axis 29,realTime,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Z Axis 30,realTime,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,BME280 Humidity -31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current +31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery 2,5,2,3,Battery 2 Current,INA219 Battery 2 Current 32,realTime,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature -33,realTime,Sensor1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +33,realTime,Sensor 1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,realTime,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator 35,realTime,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,realTime,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator From a9db1005e5820076692ab4c3b402ea8fa9742e25 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:09:36 -0400 Subject: [PATCH 045/108] Update CubeSatSim_rttelemetry.csv added spaces --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index ffbb7a50..6e468415 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -1,6 +1,6 @@ 47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,RT,Sensor2,12,integer,1,Experiments,6,8,3,Sensor2,STEM Payload Extra Sensor2 -1,RT,Sensor3,12,integer,1,Experiments,6,9,3,Sensor3,STEM Payload Extra Sensor3 +0,RT,Sensor 2,12,integer,1,Experiments,6,8,3,Sensor 2,STEM Payload Extra Sensor 2 +1,RT,Sensor 3,12,integer,1,Experiments,6,9,3,Sensor 3,STEM Payload Extra Sensor 3 2,RT,BATT_V,12,V,cubesatsim_voltage|FLOAT2,Battery,4,1,3,Battery Voltage,INA219 Battery Voltage 3,RT,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+X Panel,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis 4,RT,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,+Y Panel,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis @@ -19,7 +19,7 @@ 17,RT,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y Panel Current 18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current -20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage +20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery 2,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage 21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude @@ -30,9 +30,9 @@ 28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis 29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis 30,RT,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity -31,RT,BATT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current +31,RT,BATT2_I,12,mA,cubesatsim_current,Battery 2,5,2,3,Battery 2 Current,INA219 Battery 2 Current 32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature -33,RT,Sensor1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +33,RT,Sensor 1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status 35,RT,SafeMode,1,-,STATUS_ON_OFF,Computer Software,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) 36,RT,SimulatedTelemetry,1,-,STATUS_ON_OFF,Computer Software,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator From d438b4b71b343b9f659c78332aa0e4d1db58803f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:11:44 -0400 Subject: [PATCH 046/108] Update CubeSatSim_rttelemetry.csv --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 6e468415..d5fd8e8a 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -44,5 +44,5 @@ 42,RT,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control, Command & Control Status 46,RT,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 0b066d5c33db05a217a45908986546c20dfa6f73 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:12:16 -0400 Subject: [PATCH 047/108] Update CubeSatSim_PSK_rttelemetry.csv --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index c6ed21b3..fa366377 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -44,7 +44,7 @@ 42,realTime,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,realTime,RxAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,realTime,TxAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control Status, Command & Control Status +45,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control, Command & Control Status 46,realTime,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 47,realTime,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 48,realTime,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected From f953fe116129ba9207cc49c461e386d9f542d868 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:14:44 -0400 Subject: [PATCH 048/108] Create READ.me --- spacecraft/FoxTelem_1.13e/READ.me | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/READ.me diff --git a/spacecraft/FoxTelem_1.13e/READ.me b/spacecraft/FoxTelem_1.13e/READ.me new file mode 100644 index 00000000..a7ff0428 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/READ.me @@ -0,0 +1,3 @@ +These files are for FoxTelem version 1.13e in the spacecraft directory. + +You can download this version of FoxTelem here: https://www.g0kla.com/foxtelem/downloads/test/ From 318c9967dd75c8335c22b86b9cbddeef07014710 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 09:15:11 -0400 Subject: [PATCH 049/108] Rename READ.me to README.md --- spacecraft/FoxTelem_1.13e/{READ.me => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename spacecraft/FoxTelem_1.13e/{READ.me => README.md} (100%) diff --git a/spacecraft/FoxTelem_1.13e/READ.me b/spacecraft/FoxTelem_1.13e/README.md similarity index 100% rename from spacecraft/FoxTelem_1.13e/READ.me rename to spacecraft/FoxTelem_1.13e/README.md From c3a9138b97580084a9932ab6c962376c1c7271aa Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 15:37:18 -0400 Subject: [PATCH 050/108] Update main.c sensor 1,2,3 testing --- main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 5fc6b5e3..a7d377b5 100644 --- a/main.c +++ b/main.c @@ -700,6 +700,9 @@ int main(int argc, char * argv[]) { token = strtok(NULL, space); } } + sensor[XS1] = 100; + sensor[XS2] = 200; + sensor[XS3] = 300; printf("\n"); // if (sensor[GPS1] != 0) { if ((sensor[GPS1] > -90.0) && (sensor[GPS1] < 90.0) && (sensor[GPS1] != 0.0)) { @@ -1529,10 +1532,6 @@ void get_tlm_fox() { encodeB(b, 46 + head_offset, PSUCurrent); encodeA(b, 48 + head_offset, (int)(sensor[DTEMP] * 10 + 0.5) + 2048); // encodeB(b, 49 + head_offset, (int)(sensor[XS1] * 10 + 0.5) + 2048); - - sensor[XS2] = 100.0; - sensor[XS2] = 1000; - sensor[XS3] = 500; encodeB(b, 49 + head_offset, (int)(sensor[XS1])); encodeA(b, 0 + head_offset, (int)(sensor[XS2])); From 3ce408d3ce159ba459674b787cb61da605f1d590 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 16:09:06 -0400 Subject: [PATCH 051/108] Update main.c sensor min max fix --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a7d377b5..a1d41a87 100644 --- a/main.c +++ b/main.c @@ -1427,7 +1427,7 @@ void get_tlm_fox() { encodeA(b_max, 39 + head_offset, (int)(other_max[IHU_TEMP] * 10 + 0.5)); encodeB(b_max, 31 + head_offset, ((int)(other_max[SPIN] * 10)) + 2048); - if (sensor_min[0] != 1000.0) // make sure values are valid + if (sensor_min[TEMP] != 1000.0) // make sure values are valid { encodeB(b_max, 4 + head_offset, (int)(sensor_max[ACCEL_X] * 100 + 0.5) + 2048); // Xaccel encodeA(b_max, 6 + head_offset, (int)(sensor_max[ACCEL_Y] * 100 + 0.5) + 2048); // Yaccel From 03e44548b25eb818932d034c42c731252ea63837 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 16:20:44 -0400 Subject: [PATCH 052/108] Update main.c sensor 1,2,3 max and min --- main.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/main.c b/main.c index a1d41a87..44010771 100644 --- a/main.c +++ b/main.c @@ -1426,7 +1426,7 @@ void get_tlm_fox() { encodeB(b_max, 37 + head_offset, (int)(other_max[RSSI] + 0.5) + 2048); encodeA(b_max, 39 + head_offset, (int)(other_max[IHU_TEMP] * 10 + 0.5)); encodeB(b_max, 31 + head_offset, ((int)(other_max[SPIN] * 10)) + 2048); - + if (sensor_min[TEMP] != 1000.0) // make sure values are valid { encodeB(b_max, 4 + head_offset, (int)(sensor_max[ACCEL_X] * 100 + 0.5) + 2048); // Xaccel @@ -1440,9 +1440,13 @@ void get_tlm_fox() { encodeB(b_max, 43 + head_offset, (int)(sensor_max[GYRO_Z] + 0.5) + 2048); encodeA(b_max, 48 + head_offset, (int)(sensor_max[DTEMP] * 10 + 0.5) + 2048); - encodeB(b_max, 49 + head_offset, (int)(sensor_max[XS1] * 10 + 0.5) + 2048); +// encodeB(b_max, 49 + head_offset, (int)(sensor_max[XS1] * 10 + 0.5) + 2048); encodeB(b_max, 10 + head_offset, (int)(sensor_max[TEMP] * 10 + 0.5)); encodeA(b_max, 45 + head_offset, (int)(sensor_max[HUMI] * 10 + 0.5)); + + encodeB(b_max, 49 + head_offset, (int)(sensor[XS1])); + encodeA(b_max, 0 + head_offset, (int)(sensor[XS2])); + encodeB(b_max, 1 + head_offset, (int)(sensor[XS3])); } else { @@ -1455,7 +1459,7 @@ void get_tlm_fox() { encodeB(b_max, 43 + head_offset, 2048); encodeA(b_max, 48 + head_offset, 2048); - encodeB(b_max, 49 + head_offset, 2048); +// encodeB(b_max, 49 + head_offset, 2048); } encodeA(b_min, 12 + head_offset, (int)(voltage_min[map[PLUS_X]] * 100)); encodeB(b_min, 13 + head_offset, (int)(voltage_min[map[PLUS_Y]] * 100)); @@ -1480,7 +1484,7 @@ void get_tlm_fox() { encodeB(b_min, 37 + head_offset, (int)(other_min[RSSI] + 0.5) + 2048); encodeA(b_min, 39 + head_offset, (int)(other_min[IHU_TEMP] * 10 + 0.5)); - if (sensor_min[0] != 1000.0) // make sure values are valid + if (sensor_min[TEMP] != 1000.0) // make sure values are valid { encodeB(b_min, 4 + head_offset, (int)(sensor_min[ACCEL_X] * 100 + 0.5) + 2048); // Xaccel encodeA(b_min, 6 + head_offset, (int)(sensor_min[ACCEL_Y] * 100 + 0.5) + 2048); // Yaccel @@ -1493,9 +1497,13 @@ void get_tlm_fox() { encodeB(b_min, 43 + head_offset, (int)(sensor_min[GYRO_Z] + 0.5) + 2048); encodeA(b_min, 48 + head_offset, (int)(sensor_min[DTEMP] * 10 + 0.5) + 2048); - encodeB(b_min, 49 + head_offset, (int)(sensor_min[XS1] * 10 + 0.5) + 2048); +// encodeB(b_min, 49 + head_offset, (int)(sensor_min[XS1] * 10 + 0.5) + 2048); encodeB(b_min, 10 + head_offset, (int)(sensor_min[TEMP] * 10 + 0.5)); encodeA(b_min, 45 + head_offset, (int)(sensor_min[HUMI] * 10 + 0.5)); + + encodeB(b_min, 49 + head_offset, (int)(sensor[XS1])); + encodeA(b_min, 0 + head_offset, (int)(sensor[XS2])); + encodeB(b_min, 1 + head_offset, (int)(sensor[XS3])); } else { @@ -1508,7 +1516,7 @@ void get_tlm_fox() { encodeB(b_min, 43 + head_offset, 2048); encodeA(b_min, 48 + head_offset, 2048); - encodeB(b_min, 49 + head_offset, 2048); +// encodeB(b_min, 49 + head_offset, 2048); } } encodeA(b, 30 + head_offset, PSUVoltage); From fb915839bff817633ae0b1a4e7692c6eee6253ab Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 16:26:25 -0400 Subject: [PATCH 053/108] Update CubeSatSim_PSK_mintelemetry.csv sensor 2,3 min --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index 839db157..fdb5b1be 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -1,6 +1,6 @@ 61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,MIN,Sensor2,12,integer,1,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) -1,MIN,Sensor3,12,integer,1,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) +0,MIN,Sensor2,12,integer,1,NONE,6,8,3,Cell A,Battery pair A voltage (0-2.5V scale) +1,MIN,Sensor3,12,integer,1,NONE,6,9,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) 2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) 3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis From bcafe0c5480821808152b48fca14eb5b09ed9e7e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 16:27:16 -0400 Subject: [PATCH 054/108] Update CubeSatSim_PSK_maxtelemetry.csv fix max sensor 2,3 --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index 0b88318a..76e186b8 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -1,6 +1,6 @@ 61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,MAX,Sensor2,12,integer,1,NONE,4,1,3,Cell A,Battery pair A voltage (0-2.5V scale) -1,MAX,Sensor3,12,integer,1,NONE,4,2,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) +0,MAX,Sensor2,12,integer,1,NONE,6,8,3,Cell A,Battery pair A voltage (0-2.5V scale) +1,MAX,Sensor3,12,integer,1,NONE,6,9,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) 2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) 3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis 4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis From 96e4f38b23d52d39d378c5c1b0cd0635ff459aa3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 16:33:30 -0400 Subject: [PATCH 055/108] Update CubeSatSim_PSK_mintelemetry.csv remove dup 6.7 6,8 --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index fdb5b1be..9e3bf77d 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -44,8 +44,8 @@ 42,MIN,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance 43,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload Board Failure Indicator 44,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -45,MIN,expFailure2,1,-,17,NONE,6,7,0,Exp 2,Experiment 2 Failure Indicator -46,MIN,expFailure3,1,-,17,NONE,6,8,0,Exp 3,Experiment 3 Failure Indicator +45,MIN,expFailure2,1,-,17,NONE,7,7,0,Exp 2,Experiment 2 Failure Indicator +46,MIN,expFailure3,1,-,17,NONE,7,8,0,Exp 3,Experiment 3 Failure Indicator 47,MIN,I2CfailureBatt,1,-,17,NONE,2,2,0,Battery I2C,Battery I2C Bus failure indicator 48,MIN,I2CfailurePSU1,1,-,17,NONE,2,3,0,PSU1 I2C,PSU2 I2C Bus failure indicator 49,MIN,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator From 4a59c102ae9a6012bde0004b8a4e4d5a35c74e19 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 16:36:50 -0400 Subject: [PATCH 056/108] Update CubeSatSim_PSK_maxtelemetry.csv fix min 6,8 6,9 --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index 76e186b8..1e5a9427 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -31,8 +31,8 @@ 29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis 30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity 31,MAX,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current -32,MAX,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Extra Sensor 1 -33,MAX,Sensor1,12,integer,1,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 +32,MAX,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Diode Sensor +33,MAX,Sensor1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,MAX,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 35,MAX,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 36,MAX,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected @@ -44,8 +44,8 @@ 42,MAX,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance 43,MAX,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload Board Failure Indicator 44,MAX,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -45,MAX,expFailure2,1,-,17,NONE,6,7,0,Exp 2,Experiment 2 Failure Indicator -46,MAX,expFailure3,1,-,17,NONE,6,8,0,Exp 3,Experiment 3 Failure Indicator +45,MAX,expFailure2,1,-,17,NONE,7,7,0,Exp 2,Experiment 2 Failure Indicator +46,MAX,expFailure3,1,-,17,NONE,7,8,0,Exp 3,Experiment 3 Failure Indicator 47,MAX,I2CfailureBatt,1,-,17,NONE,2,2,0,Battery I2C,Battery I2C Bus failure indicator 48,MAX,I2CfailurePSU1,1,-,17,NONE,2,3,0,PSU1 I2C,PSU2 I2C Bus failure indicator 49,MAX,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator From a306a5efe2fe7b657093d464c6dc7533449d6142 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 22:05:17 -0400 Subject: [PATCH 057/108] Update CubeSatSim_PSK_maxtelemetry.csv from rt --- .../CubeSatSim_PSK_maxtelemetry.csv | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index 1e5a9427..49526e8b 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -1,59 +1,59 @@ 61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,MAX,Sensor2,12,integer,1,NONE,6,8,3,Cell A,Battery pair A voltage (0-2.5V scale) -1,MAX,Sensor3,12,integer,1,NONE,6,9,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) -2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) -3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis -4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis -5,MAX,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis -6,MAX,battCurr,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current -7,MAX,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temp,STEM Payload Sensor Temperature -8,MAX,posXv,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X solar Panel voltage -9,MAX,posYv,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y solar Panel voltage -10,MAX,posZv,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z solar Panel voltage -11,MAX,negXv,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X solar Panel voltage -12,MAX,negYv,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y solar Panel voltage -13,MAX,negZv,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z solar Panel voltage -14,MAX,posXi,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X solar Panel current -15,MAX,posYi,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y solar Panel current -16,MAX,posZi,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z solar Panel current -17,MAX,negXi,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X solar Panel current -18,MAX,negYi,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y solar Panel current -19,MAX,negZi,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z solar Panel current -20,MAX,PSUVoltage,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Board Voltage,Power Supply Voltage +0,MAX,Sensor 2,12,integer,1,NONE,6,8,3,Sensor 2,STEM Payload Extra Sensor 2 +1,MAX,Sensor 3,12,integer,1,NONE,6,9,3,Sensor 3,STEM Payload Extra Sensor 3 +2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Battery Voltage,INA219 Battery Voltage +3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis +4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis +5,MAX,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis +6,MAX,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Battery Current,INA219 Battery Current +7,MAX,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,BME280 Temp,BME280 STEM Payload sensor temperature +8,MAX,posXv,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,INA219 +X solar panel Voltage +9,MAX,posYv,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,INA219 +Y solar panel Voltage +10,MAX,posZv,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,INA219 +Z solar panel Voltage +11,MAX,negXv,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,INA219 -X solar panel Voltage +12,MAX,negYv,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,INA219 -Y solar panel Voltage +13,MAX,negZv,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,INA219 -Z solar panel Voltage +14,MAX,posXi,12,mA,cubesatsim_current,NONE,7,2,3,Current,INA219 +X solar panel Current +15,MAX,posYi,12,mA,cubesatsim_current,NONE,8,2,3,Current,INA219 +Y solar panel Current +16,MAX,posZi,12,mA,cubesatsim_current,NONE,9,2,3,Current,INA219 +Z solar panel Current +17,MAX,negXi,12,mA,cubesatsim_current,NONE,10,2,3,Current,INA219 -X solar panel Current +18,MAX,negYi,12,mA,cubesatsim_current,NONE,11,2,3,Current,INA219 -Y solar panel Current +19,MAX,negZi,12,mA,cubesatsim_current,NONE,12,2,3,Current,INA219 -Z solar panel Current +20,MAX,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage 21,MAX,spin,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,MAX,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure -23,MAX,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +22,MAX,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,BME280 Pressure,BME280 STEM Payload sensor pressure +23,MAX,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,BME280 Altitude,BME280 STEM Payload sensor altitude 24,MAX,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,MAX,rssi,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication -26,MAX,IHUcpuTemp,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU -27,MAX,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,7,3,3,Rotation,Angular Veolcity around X Axis -28,MAX,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis -29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis -30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity -31,MAX,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current -32,MAX,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Diode Sensor -33,MAX,Sensor1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 -34,MAX,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted -35,MAX,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V -36,MAX,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected -37,MAX,rf6,12,-,0,NONE,0,0,0,None,None -38,MAX,rf7,12,-,0,NONE,0,0,0,None,None -39,MAX,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR -40,MAX,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) -41,MAX,pad,4,-,34,NONE,0,0,0,None,Unused -42,MAX,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance -43,MAX,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload Board Failure Indicator -44,MAX,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -45,MAX,expFailure2,1,-,17,NONE,7,7,0,Exp 2,Experiment 2 Failure Indicator -46,MAX,expFailure3,1,-,17,NONE,7,8,0,Exp 3,Experiment 3 Failure Indicator -47,MAX,I2CfailureBatt,1,-,17,NONE,2,2,0,Battery I2C,Battery I2C Bus failure indicator -48,MAX,I2CfailurePSU1,1,-,17,NONE,2,3,0,PSU1 I2C,PSU2 I2C Bus failure indicator -49,MAX,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator -50,MAX,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry -51,MAX,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status -52,MAX,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status -54,MAX,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator +26,MAX,IHUcpuTemp,12,C,cubesatsim_temperature,NONE,2,1,3,IHU Temp (Pi),Internal temperature of IHU from Pi +27,MAX,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around X Axis +28,MAX,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Y Axis +29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Z Axis +30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,BME280 Humidity,BME280 Humidity +31,MAX,BAT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery 2 Current,INA219 Battery 2 Current +32,MAX,DiodeTemp,12,C,cubesatsim_rpm,NONE,6,6,3,Diode Temp,STEM Payload Diode Temperature +33,MAX,Sensor 1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +34,MAX,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator +35,MAX,SafeMode,1,-,STATUS_ON_OFF,NONE,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,MAX,SimulatedTelemetry,1,-,STATUS_ON_OFF,NONE,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator +37,MAX,PayloadStatus1,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 1 failure indicator +38,MAX,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,MAX,I2CBus1Failure,1,-,17,NONE,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,MAX,I2CBus3Failure,1,-,17,NONE,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,MAX,CameraFailure,1,-,17,NONE,2,4,0,Camera,Camera failure indicator +42,MAX,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received +43,MAX,RxAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status +44,MAX,TxAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status +45,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +46,MAX,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +47,MAX,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V +48,MAX,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected +49,MAX,rf6,12,-,0,NONE,0,0,0,None,None +50,MAX,rf7,12,-,0,NONE,0,0,0,None,None +51,MAX,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR +52,MAX,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) +53,MAX,pad,4,-,34,NONE,0,0,0,None,Unused +54,MAX,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance 55,MAX,pad1,1,-,0,NONE,0,0,0,NONE,Filler 56,MAX,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds 57,MAX,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information From e303fc1b23f13631f2db2b6e8a3de96765551fcc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 22:09:49 -0400 Subject: [PATCH 058/108] Update CubeSatSim_PSK_mintelemetry.csv from rt --- .../CubeSatSim_PSK_mintelemetry.csv | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index 9e3bf77d..8b06f27c 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -1,59 +1,59 @@ 61,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION -0,MIN,Sensor2,12,integer,1,NONE,6,8,3,Cell A,Battery pair A voltage (0-2.5V scale) -1,MIN,Sensor3,12,integer,1,NONE,6,9,3,Cell A + B,Battery pairs A+B voltage (0-3.3V scale) -2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) -3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis -4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis -5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis -6,MIN,battCurr,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current -7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temp,STEM Payload Sensor Temperature -8,MIN,posXv,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X solar Panel voltage -9,MIN,posYv,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y solar Panel voltage -10,MIN,posZv,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z solar Panel voltage -11,MIN,negXv,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X solar Panel voltage -12,MIN,negYv,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y solar Panel voltage -13,MIN,negZv,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z solar Panel voltage -14,MIN,posXi,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X solar Panel current -15,MIN,posYi,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y solar Panel current -16,MIN,posZi,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z solar Panel current -17,MIN,negXi,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X solar Panel current -18,MIN,negYi,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y solar Panel current -19,MIN,negZi,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z solar Panel current -20,MIN,PSUVoltage,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Board Voltage,Power Supply Voltage +0,MIN,Sensor 2,12,integer,1,NONE,6,8,3,Sensor 2,STEM Payload Extra Sensor 2 +1,MIN,Sensor 3,12,integer,1,NONE,6,9,3,Sensor 3,STEM Payload Extra Sensor 3 +2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Battery Voltage,INA219 Battery Voltage +3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis +4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis +5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis +6,MIN,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Battery Current,INA219 Battery Current +7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,BME280 Temp,BME280 STEM Payload sensor temperature +8,MIN,posXv,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,INA219 +X solar panel Voltage +9,MIN,posYv,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,INA219 +Y solar panel Voltage +10,MIN,posZv,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,INA219 +Z solar panel Voltage +11,MIN,negXv,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,INA219 -X solar panel Voltage +12,MIN,negYv,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,INA219 -Y solar panel Voltage +13,MIN,negZv,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,INA219 -Z solar panel Voltage +14,MIN,posXi,12,mA,cubesatsim_current,NONE,7,2,3,Current,INA219 +X solar panel Current +15,MIN,posYi,12,mA,cubesatsim_current,NONE,8,2,3,Current,INA219 +Y solar panel Current +16,MIN,posZi,12,mA,cubesatsim_current,NONE,9,2,3,Current,INA219 +Z solar panel Current +17,MIN,negXi,12,mA,cubesatsim_current,NONE,10,2,3,Current,INA219 -X solar panel Current +18,MIN,negYi,12,mA,cubesatsim_current,NONE,11,2,3,Current,INA219 -Y solar panel Current +19,MIN,negZi,12,mA,cubesatsim_current,NONE,12,2,3,Current,INA219 -Z solar panel Current +20,MIN,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage 21,MIN,spin,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,MIN,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure -23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +22,MIN,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,BME280 Pressure,BME280 STEM Payload sensor pressure +23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,BME280 Altitude,BME280 STEM Payload sensor altitude 24,MIN,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,MIN,rssi,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication -26,MIN,IHUcpuTemp,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU -27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,7,3,3,Rotation,Angular Veolcity around X Axis -28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis -29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis -30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,Humidity -31,MIN,PSUCurrent,12,mA,cubesatsim_current,NONE,5,2,3,Current,Power Supply DC Current -32,MIN,DiodeTemp,12,C,cubesatsim_rpm ,NONE,6,6,3,Diode Temperature,STEM Payload Extra Sensor 1 (Diode Temperature) -33,MIN,Sensor1,12,integer,1,NONE,6,7,3,Sensor 2,STEM Payload Extra Sensor 2 -34,MIN,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted -35,MIN,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V -36,MIN,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected -37,MIN,rf6,12,-,0,NONE,0,0,0,None,None -38,MIN,rf7,12,-,0,NONE,0,0,0,None,None -39,MIN,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR -40,MIN,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) -41,MIN,pad,4,-,34,NONE,0,0,0,None,Unused -42,MIN,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance -43,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload Board Failure Indicator -44,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -45,MIN,expFailure2,1,-,17,NONE,7,7,0,Exp 2,Experiment 2 Failure Indicator -46,MIN,expFailure3,1,-,17,NONE,7,8,0,Exp 3,Experiment 3 Failure Indicator -47,MIN,I2CfailureBatt,1,-,17,NONE,2,2,0,Battery I2C,Battery I2C Bus failure indicator -48,MIN,I2CfailurePSU1,1,-,17,NONE,2,3,0,PSU1 I2C,PSU2 I2C Bus failure indicator -49,MIN,I2CfailurePSU2,1,-,17,NONE,2,4,0,PSU2 I2C,PSU2 I2C Bus failure indicator -50,MIN,TLMresets,4,-,1,NONE,2,6,0,Ground Resets,Number of times command stations reset stored telemetry -51,MIN,RxAntDeploy,1,-,16,NONE,1,3,0,RX Antenna,2m Antenna status -52,MIN,TxAntDeploy,1,-,16,NONE,1,2,0,TX Antenna,70cm Antenna status -53,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status -54,MIN,I2CfailureRF,1,-,17,NONE,2,5,0,RF I2C,RF I2C Bus failure indicator +26,MIN,IHUcpuTemp,12,C,cubesatsim_temperature,NONE,2,1,3,IHU Temp (Pi),Internal temperature of IHU from Pi +27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around X Axis +28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Y Axis +29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Z Axis +30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,BME280 Humidity,BME280 Humidity +31,MIN,BAT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery 2 Current,INA219 Battery 2 Current +32,MIN,DiodeTemp,12,C,cubesatsim_rpm,NONE,6,6,3,Diode Temp,STEM Payload Diode Temperature +33,MIN,Sensor 1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +34,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator +35,MIN,SafeMode,1,-,STATUS_ON_OFF,NONE,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,MIN,SimulatedTelemetry,1,-,STATUS_ON_OFF,NONE,3,4,0,Simulated Telemetry,Simulated Telemetry Indicator +37,MIN,PayloadStatus1,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 1 failure indicator +38,MIN,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator +39,MIN,I2CBus1Failure,1,-,17,NONE,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,MIN,I2CBus3Failure,1,-,17,NONE,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,MIN,CameraFailure,1,-,17,NONE,2,4,0,Camera,Camera failure indicator +42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received +43,MIN,RxAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status +44,MIN,TxAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status +45,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +46,MIN,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted +47,MIN,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V +48,MIN,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected +49,MIN,rf6,12,-,0,NONE,0,0,0,None,None +50,MIN,rf7,12,-,0,NONE,0,0,0,None,None +51,MIN,MuxTest,12,V,43,NONE,7,5,3,Sensor Power,Sensor Power Voltage at the ICR +52,MIN,LtVGACtl,12,V,42,NONE,1,4,3,VGA Control,Control Voltage to the Variable Gain Amplifier (VGA) +53,MIN,pad,4,-,34,NONE,0,0,0,None,Unused +54,MIN,IHUdiagData,32,-,18,NONE,3,2,0,Diagnostic Info,Diagnostic Data on IHU Performance 55,MIN,pad1,1,-,0,NONE,0,0,0,NONE,Filler 56,MIN,wodSize,8,000s,36,NONE,3,3,0,WOD Stored,Number of WOD data payloads kept for each of Science and Housekeeping. In hundreds 57,MIN,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information From 641b452e176efcbe807b06f5785b5504b4534ec8 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 22:16:10 -0400 Subject: [PATCH 059/108] Update CubeSatSim_maxtelemetry.csv from rt --- .../CubeSatSim_maxtelemetry.csv | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv index 70a7f0c3..10e0e4d6 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv @@ -1,48 +1,48 @@ -47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION -0,MAX,Sensor2,12,integer,1,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) -1,MAX,Sensor3,12,integer,1,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) -2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) -3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis -4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis -5,MAX,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis -6,MAX,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current -7,MAX,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature -8,MAX,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel -9,MAX,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel -10,MAX,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y Panel -11,MAX,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y Panel -12,MAX,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z Panel -13,MAX,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z Panel -14,MAX,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X Panel -15,MAX,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X Panel -16,MAX,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y Panel -17,MAX,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y Panel -18,MAX,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z Panel -19,MAX,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z Panel -20,MAX,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery2 Voltage,Power Supply Voltage +47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,MAX,Sensor 2,12,integer,1,NONE,6,8,3,Sensor 2,STEM Payload Extra Sensor 2 +1,MAX,Sensor 3,12,integer,1,NONE,6,9,3,Sensor 3,STEM Payload Extra Sensor 3 +2,MAX,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Battery Voltage,INA219 Battery Voltage +3,MAX,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis +4,MAX,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis +5,MAX,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis +6,MAX,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Battery Current,INA219 Battery Current +7,MAX,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,BME280 Temp,STEM Payload Sensor BME280 Temperature +8,MAX,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,INA219 +X Panel Voltage +9,MAX,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,INA219 -X Panel Voltage +10,MAX,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,INA219 +Y Panel Voltage +11,MAX,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,INA219 -Y Panel Voltage +12,MAX,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,INA219 +Z Panel Voltage +13,MAX,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,INA219 -Z Panel Voltage +14,MAX,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,INA219 +X Panel Current +15,MAX,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,INA219 -X Panel Current +16,MAX,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,INA219 +Y Panel Current +17,MAX,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,INA219 -Y Panel Current +18,MAX,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,INA219 +Z Panel Current +19,MAX,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,INA219 -Z Panel Current +20,MAX,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage 21,MAX,SPIN,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,MAX,Pressure,12,bar,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure -23,MAX,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +22,MAX,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure +23,MAX,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude 24,MAX,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,MAX,RSSI,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication -26,MAX,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU -27,MAX,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,Angular Veolcity around X Axis -28,MAX,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis -29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis -30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity -31,MAX,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current -32,MAX,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Diode Sensor -33,MAX,Sensor1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +26,MAX,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU +27,MAX,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around X Axis +28,MAX,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis +29,MAX,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis +30,MAX,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity +31,MAX,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery 2 Current,INA219 Battery 2 Current +32,MAX,DiodeTemp,12,C,cubesatsim_rpm,NONE,6,6,3,Diode Temp,STEM Payload Diode Temperature +33,MAX,Sensor 1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,MAX,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status -35,MAX,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -36,MAX,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator -37,MAX,PayloadStatus2,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 2 failure indicator +35,MAX,SafeMode,1,-,STATUS_ON_OFF,NONE,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,MAX,SimulatedTelemetry,1,-,STATUS_ON_OFF,NONE,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator +37,MAX,PayloadStatus1,1,-,17,NONE,0,0,0,Exp 3,STEM Payload status 1 failure indicator 38,MAX,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator -39,MAX,I2CBus1Failure,1,-,17,NONE,2,3,0,I2C Bus 1,I2C bus 1 failure indicator -40,MAX,I2CBus3Failure,1,-,17,NONE,2,4,0,I2C Bus 3,I2C bus 3 failure indicator -41,MAX,CameraFailure,1,-,17,NONE,2,5,0,Camera,Camera failure indicator +39,MAX,I2CBus1Failure,1,-,17,NONE,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,MAX,I2CBus3Failure,1,-,17,NONE,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,MAX,CameraFailure,1,-,17,NONE,2,4,0,Camera,Camera failure indicator 42,MAX,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MAX,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MAX,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status +45,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status 46,MAX,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 0c87fdb69d9cd43df0d9632fb78817c88c9cc724 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 22:17:52 -0400 Subject: [PATCH 060/108] Update CubeSatSim_mintelemetry.csv from max --- .../CubeSatSim_mintelemetry.csv | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index e6d28384..3941d7a8 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -1,48 +1,48 @@ -47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHOMIN_NAME,DESCRIPTION -0,MIN,Sensor2,12,integer,1,NONE,0,0,3,Cell A,Battery A voltage (0-2.5V scale) -1,MIN,Sensor3,12,integer,1,NONE,0,0,3,Cell A+B,Battery A+B voltage (0-3.3V scale) -2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Cell A+B+C Voltage,Battery A+B+C voltage (0-5.0V scale) -3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,Acceleration around X Axis -4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,Acceleration around Y Axis -5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,Acceleration around Z Axis -6,MIN,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Current,Total Battery DC current -7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,Temperature,STEM Payload Sensor Temperature -8,MIN,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,+X Panel -9,MIN,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,-X Panel -10,MIN,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,+Y Panel -11,MIN,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,-Y Panel -12,MIN,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,+Z Panel -13,MIN,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,-Z Panel -14,MIN,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,+X Panel -15,MIN,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,-X Panel -16,MIN,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,+Y Panel -17,MIN,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,-Y Panel -18,MIN,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,+Z Panel -19,MIN,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,-Z Panel -20,MIN,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery2 Voltage,Power Supply Voltage +47,TYPE,FIELD,BITS,UNIT,CONVERSION,MODULE,MODULE_NUM,MODULE_LINE,LINE_TYPE,SHORT_NAME,DESCRIPTION +0,MIN,Sensor 2,12,integer,1,NONE,6,8,3,Sensor 2,STEM Payload Extra Sensor 2 +1,MIN,Sensor 3,12,integer,1,NONE,6,9,3,Sensor 3,STEM Payload Extra Sensor 3 +2,MIN,BATT_V,12,V,cubesatsim_voltage|FLOAT2,NONE,4,1,3,Battery Voltage,INA219 Battery Voltage +3,MIN,SatelliteXAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,7,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around X Axis +4,MIN,SatelliteYAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,8,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Y Axis +5,MIN,SatelliteZAxisAcceleration,12,g,cubesatsim_acceleration|FLOAT2,NONE,9,4,3,Acceleration,STEM Payload Board MPU6050 Acceleration around Z Axis +6,MIN,BATT_I,12,mA,cubesatsim_current,NONE,4,2,3,Battery Current,INA219 Battery Current +7,MIN,Temperature,12,C,cubesatsim_temperature,NONE,6,2,3,BME280 Temp,STEM Payload Sensor BME280 Temperature +8,MIN,PANEL_PLUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,7,1,3,Voltage,INA219 +X Panel Voltage +9,MIN,PANEL_MINUS_X_V,12,V,cubesatsim_voltage|FLOAT2,NONE,10,1,3,Voltage,INA219 -X Panel Voltage +10,MIN,PANEL_PLUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,8,1,3,Voltage,INA219 +Y Panel Voltage +11,MIN,PANEL_MINUS_Y_V,12,V,cubesatsim_voltage|FLOAT2,NONE,11,1,3,Voltage,INA219 -Y Panel Voltage +12,MIN,PANEL_PLUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,9,1,3,Voltage,INA219 +Z Panel Voltage +13,MIN,PANEL_MINUS_Z_V,12,V,cubesatsim_voltage|FLOAT2,NONE,12,1,3,Voltage,INA219 -Z Panel Voltage +14,MIN,PANEL_PLUS_X_I,12,mA,cubesatsim_current,NONE,7,2,3,Current,INA219 +X Panel Current +15,MIN,PANEL_MINUS_X_I,12,mA,cubesatsim_current,NONE,10,2,3,Current,INA219 -X Panel Current +16,MIN,PANEL_PLUS_Y_I,12,mA,cubesatsim_current,NONE,8,2,3,Current,INA219 +Y Panel Current +17,MIN,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,NONE,11,2,3,Current,INA219 -Y Panel Current +18,MIN,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,NONE,9,2,3,Current,INA219 +Z Panel Current +19,MIN,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,NONE,12,2,3,Current,INA219 -Z Panel Current +20,MIN,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,NONE,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage 21,MIN,SPIN,12,rpm,cubesatsim_rpm,NONE,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells -22,MIN,Pressure,12,bar,cubesatsim_pressure,NONE,6,3,3,Pressure,STEM Payload Sensor Pressure -23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,Altitude,STEM Payload Sensor Altitude +22,MIN,Pressure,12,hPa,cubesatsim_pressure,NONE,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure +23,MIN,Altitude,12,m,cubesatsim_altitude,NONE,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude 24,MIN,Resets,12,-,12,NONE,3,2,3,Reset Count, Software Reset Count 25,MIN,RSSI,12,dBm,cubesatsim_rssi|INT,NONE,1,1,3,RSSI,Received Signal Strength Indication -26,MIN,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,Temperature,Internal Temperature of IHU -27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,Angular Veolcity around X Axis -28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,Angular Veolcity around Y Axis -29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,Angular Veolcity around Z Axis -30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,Humidity,STEM Payload Sensor Humidity -31,MIN,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery2 Current,Power Supply DC Current -32,MIN,DiodeTemp,12,signed raw,cubesatsim_rpm,NONE,6,6,3,Sensor 1,STEM Payload Diode Sensor -33,MIN,Sensor1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 +26,MIN,IHUTemperature,12,C,cubesatsim_temperature,NONE,2,1,3,IHU Temp (Pi),Internal Temperature of Pi IHU +27,MIN,SatelliteXAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,7,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around X Axis +28,MIN,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis +29,MIN,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,NONE,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis +30,MIN,Humidity,12,%,cubesatsim_temperature,NONE,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity +31,MIN,BATT2_I,12,mA,cubesatsim_current,NONE,5,2,3,Battery 2 Current,INA219 Battery 2 Current +32,MIN,DiodeTemp,12,C,cubesatsim_rpm,NONE,6,6,3,Diode Temp,STEM Payload Diode Temperature +33,MIN,Sensor 1,12,integer,1,NONE,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,MIN,STEMPayloadStatus,1,-,17,NONE,6,1,0,STEM Payload Status,STEM Payload Board Status -35,MIN,Nominal Mode,1,-,17,NONE,3,2,0,Nominal Mode, Nominal Mode (Not Safe Mode) -36,MIN,PayloadStatus1,1,-,17,NONE,6,7,0,Exp 2,STEM Payload status 1 failure indicator -37,MIN,PayloadStatus2,1,-,17,NONE,6,8,0,Exp 3,STEM Payload status 2 failure indicator +35,MIN,SafeMode,1,-,STATUS_ON_OFF,NONE,3,2,0,Safe Mode, Safe Mode (Low Battery Voltage) +36,MIN,SimulatedTelemetry,1,-,STATUS_ON_OFF,NONE,3,4,0,Simulated Telemetry, Simulated Telemetry Indicator +37,MIN,PayloadStatus1,1,-,17,NONE,0,0,0,Exp 3,STEM Payload status 1 failure indicator 38,MIN,I2CBus0Failure,1,-,17,NONE,2,2,0,I2C Bus 0,I2C bus 0 failure indicator -39,MIN,I2CBus1Failure,1,-,17,NONE,2,3,0,I2C Bus 1,I2C bus 1 failure indicator -40,MIN,I2CBus3Failure,1,-,17,NONE,2,4,0,I2C Bus 3,I2C bus 3 failure indicator -41,MIN,CameraFailure,1,-,17,NONE,2,5,0,Camera,Camera failure indicator +39,MIN,I2CBus1Failure,1,-,17,NONE,2,2,0,I2C Bus 1,I2C bus 1 failure indicator +40,MIN,I2CBus3Failure,1,-,17,NONE,2,3,0,I2C Bus 3,I2C bus 3 failure indicator +41,MIN,CameraFailure,1,-,17,NONE,2,4,0,Camera,Camera failure indicator 42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control Status, Command & Control Status +45,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status 46,MIN,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 16c4b19bf35b8a5a3adb26186d0773fe053fff24 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 22:24:05 -0400 Subject: [PATCH 061/108] Update CubeSatSim_PSK_rttelemetry.csv changed to Battery2 --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index fa366377..b751bacd 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -19,7 +19,7 @@ 17,realTime,negXi,12,mA,cubesatsim_current,-X Panel,10,2,3,Current,INA219 -X solar panel Current 18,realTime,negYi,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y solar panel Current 19,realTime,negZi,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z solar panel Current -20,realTime,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery 2,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage +20,realTime,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage 21,realTime,spin,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,realTime,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,BME280 STEM Payload sensor pressure 23,realTime,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,BME280 STEM Payload sensor altitude @@ -30,7 +30,7 @@ 28,realTime,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Y Axis 29,realTime,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular veolcity around Z Axis 30,realTime,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,BME280 Humidity -31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery 2,5,2,3,Battery 2 Current,INA219 Battery 2 Current +31,realTime,BAT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current 32,realTime,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature 33,realTime,Sensor 1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,realTime,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status, STEM Payload STEM Payload board failure Indicator From 6d87b38aceec60025842a65e3db953466a99877f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 30 Aug 2024 22:24:38 -0400 Subject: [PATCH 062/108] Update CubeSatSim_rttelemetry.csv changed to Battery2 --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index d5fd8e8a..a62a2dd4 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -19,7 +19,7 @@ 17,RT,PANEL_MINUS_Y_I,12,mA,cubesatsim_current,-Y Panel,11,2,3,Current,INA219 -Y Panel Current 18,RT,PANEL_PLUS_Z_I,12,mA,cubesatsim_current,+Z Panel,9,2,3,Current,INA219 +Z Panel Current 19,RT,PANEL_MINUS_Z_I,12,mA,cubesatsim_current,-Z Panel,12,2,3,Current,INA219 -Z Panel Current -20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery 2,5,1,3,Battery 2 Voltage,INA219 Battery 2 Voltage +20,RT,BATT2_V,12,V,cubesatsim_voltage|FLOAT2,Battery2,5,1,3,Battery2 Voltage,INA219 Battery2 Voltage 21,RT,SPIN,12,rpm,cubesatsim_rpm,Computer Software,3,1,3,Spacecraft Spin,Calculated spin rate using solar cells 22,RT,Pressure,12,hPa,cubesatsim_pressure,Experiments,6,3,3,BME280 Pressure,STEM Payload Sensor BME280 Pressure 23,RT,Altitude,12,m,cubesatsim_altitude,Experiments,6,4,3,BME280 Altitude,STEM Payload Sensor BME280 Altitude @@ -30,7 +30,7 @@ 28,RT,SatelliteYAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Y Panel,8,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Y Axis 29,RT,SatelliteZAxisAngularVelocity,12,dps,cubesatsim_rotation|INT,+Z Panel,9,3,3,Rotation,STEM Payload Board MPU6050 Angular Veolcity around Z Axis 30,RT,Humidity,12,%,cubesatsim_temperature,Experiments,6,5,3,BME280 Humidity,STEM Payload Sensor BME280 Humidity -31,RT,BATT2_I,12,mA,cubesatsim_current,Battery 2,5,2,3,Battery 2 Current,INA219 Battery 2 Current +31,RT,BATT2_I,12,mA,cubesatsim_current,Battery2,5,2,3,Battery2 Current,INA219 Battery2 Current 32,RT,DiodeTemp,12,C,cubesatsim_rpm,Experiments,6,6,3,Diode Temp,STEM Payload Diode Temperature 33,RT,Sensor 1,12,integer,1,Experiments,6,7,3,Sensor 1,STEM Payload Extra Sensor 1 34,RT,STEMPayloadStatus,1,-,17,Experiments,6,1,0,STEM Payload Status,STEM Payload Board Status From eb9ccff1c0a97b761b47f6b5be1513e465c6b24c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:08:20 -0400 Subject: [PATCH 063/108] Create STRING_LOOKUP_command_status.tab --- spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab diff --git a/spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab b/spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab new file mode 100644 index 00000000..73d91a95 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab @@ -0,0 +1,3 @@ +0,OFF +1,Carrier +2,DTMF/APRS From 5a3c8d14c4614d12eac4ed027aa12c7f338132a1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:10:57 -0400 Subject: [PATCH 064/108] Create CubeSat_Simulator_DUV.MASTER --- .../CubeSat_Simulator_DUV.MASTER | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER diff --git a/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER new file mode 100644 index 00000000..eda9df07 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER @@ -0,0 +1,57 @@ +#Fox 1 Telemetry Decoder Properties +#Sat Apr 11 13:20:20 EST 2020 +#File named .dat should be in the logfiles directory and is loaded by FoxTelem +#File named .MASTER should not be edited and is a backup copy in the installation directory +foxId=7 +displayName=CubeSatSim-FSK +name=CubeSatSim +model=0 +IHU_SN=7 +catalogNumber=0 +description=CubeSatSim, the AMSAT CubeSat Simulator, is a functional satellite model that generates real telemetry from solar panels, batteries, and temperature sensors. Use this for DUV FSK telemetry. For more information see http://cubesatsim.org +BATTERY_CURRENT_ZERO=-1.839 +EXP1=0 +EXP2=0 +EXP3=0 +EXP4=0 +numberOfLayouts=4 +layout0.filename=FOX1A_debug.csv +layout0.name=DEBUG +layout1.filename=CubeSatSim_maxtelemetry.csv +layout1.name=maxtelemetry +layout2.filename=CubeSatSim_rttelemetry.csv +layout2.name=rttelemetry +layout3.filename=CubeSatSim_mintelemetry.csv +layout3.name=mintelemetry +#layout4.filename=FOX1A_radtelemetry.csv +#layout4.name=radtelemetry +#layout5.filename=FOX1A_radtelemetry2.csv +#layout5.name=radtelemetry2 +#layout5.parentLayout=radtelemetry +lookupTable0.filename=FOX1A_rssiFM.tab +numberOfLookupTables=3 +lookupTable0=RSSI +lookupTable1.filename=FOX1A_ihuVBattSN7.tab +lookupTable1=IHU_VBATT +lookupTable2.filename=FOX1A_ihutempSN7.tab +lookupTable2=IHU_TEMP +numberOfStringLookupTables=1 +stringLookupTable0.filename=status_on_off.tab +stringLookupTable0=STATUS_ON_OFF +telemetryDownlinkFreqkHz=434900 +maxFreqBoundkHz=434950 +minFreqBoundkHz=434850 +measurementsFileName=measurements.csv +memsRestValueX=2087 +memsRestValueY=2101 +memsRestValueZ=2045 +passMeasurementsFileName=passmeasurements.csv +numberOfSources=1 +source0.name=amsat.cubesat_simulator.ihu.duv +source0.formatName=FSK 200bps (Fox1) +#source1.name=amsat.cubesat_simulator.ihu.highspeed +track=false +useIHUVBatt=true +user_format=FSK 200bps (Fox1) +useConversionCoeffs=true +conversionCurvesFileName=CubeSatSim_conversion_curves.csv From f278d494a6905a3c5b748dfff3874c5250439aa6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:13:01 -0400 Subject: [PATCH 065/108] Update and rename STRING_LOOKUP_command_status.tab to command_status.tab --- .../{STRING_LOOKUP_command_status.tab => command_status.tab} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename spacecraft/FoxTelem_1.13e/{STRING_LOOKUP_command_status.tab => command_status.tab} (100%) diff --git a/spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab b/spacecraft/FoxTelem_1.13e/command_status.tab similarity index 100% rename from spacecraft/FoxTelem_1.13e/STRING_LOOKUP_command_status.tab rename to spacecraft/FoxTelem_1.13e/command_status.tab From 819b33b3e1753b75f92b79be0131370335ce3a0a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:14:57 -0400 Subject: [PATCH 066/108] Update CubeSat_Simulator_DUV.MASTER add COMMAND_STATUS string lookup table --- spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER index eda9df07..05812fc6 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER +++ b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_DUV.MASTER @@ -35,9 +35,11 @@ lookupTable1.filename=FOX1A_ihuVBattSN7.tab lookupTable1=IHU_VBATT lookupTable2.filename=FOX1A_ihutempSN7.tab lookupTable2=IHU_TEMP -numberOfStringLookupTables=1 +numberOfStringLookupTables=2 stringLookupTable0.filename=status_on_off.tab stringLookupTable0=STATUS_ON_OFF +stringLookupTable1=COMMAND_STATUS +stringLookupTable1.filename=command_status.tab telemetryDownlinkFreqkHz=434900 maxFreqBoundkHz=434950 minFreqBoundkHz=434850 From f2e4ec62a7ffa2a67ff3d0e88237b22704cd1c8a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:20:49 -0400 Subject: [PATCH 067/108] Update CubeSatSim_rttelemetry.csv added COMMAND_STATUS --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index a62a2dd4..7b66db49 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -44,5 +44,5 @@ 42,RT,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control, Command & Control Status +45,RT,C2CStatus,1,-,COMMAND_STATUS,Computer Software,3,5,0,Command Control, Command & Control Status 46,RT,Pad,57,-,0,NONE,0,0,0,NONE,NONE From 9ff57f8aa9fef0aa8c72a8bef2ae4ca789c08f2a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:28:51 -0400 Subject: [PATCH 068/108] Update main.h add c2cStatus --- main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.h b/main.h index eb82e27b..166daa2e 100644 --- a/main.h +++ b/main.h @@ -152,7 +152,8 @@ int frameTime; long int newGpsTime; float axis[3], angle[3], volts_max[3], amps_max[3], batt, speed, period, tempS, temp_max, temp_min, eclipse; -int i2c_bus0 = OFF, i2c_bus1 = OFF, i2c_bus3 = OFF, camera = OFF, sim_mode = FALSE, SafeMode = FALSE, rxAntennaDeployed = 0, txAntennaDeployed = 0; +int i2c_bus0 = OFF, i2c_bus1 = OFF, i2c_bus3 = OFF, camera = OFF, sim_mode = FALSE, SafeMode = FALSE; +int rxAntennaDeployed = 0, txAntennaDeployed = 0, c2cStatus = 0; int sim_config = FALSE; // sim mode not set by configuration double eclipse_time; From 3325ab89af2d97fb958410ffd33f12b5a15c1790 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:37:57 -0400 Subject: [PATCH 069/108] Update main.c set c2cStatus --- main.c | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/main.c b/main.c index 44010771..97dfe43f 100644 --- a/main.c +++ b/main.c @@ -24,7 +24,20 @@ //#define HAB // uncomment to change APRS icon from Satellite to Balloon and only BAT telemetry int main(int argc, char * argv[]) { - + + FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); + if (command_file == NULL) { + fprintf(stderr,"Command and control is OFF\n"); + c2cStatus = 0; + } else { + command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); + if (command_file == NULL) { + fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); + c2cStatus = 1; + } else + fprintf(stderr,"Command and control DTMF or APRS is ON\n"); + c2cStatus = 2; + } char resbuffer[1000]; // const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'"; @@ -54,22 +67,14 @@ int main(int argc, char * argv[]) { } else { fprintf(stderr,"Pi Zero detected\n"); - FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); - if (command_file == NULL) { - pi_zero_2_offset = 500; - fprintf(stderr,"Command and control is OFF\n"); - } else { - command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); - if (command_file == NULL) { - pi_zero_2_offset = 500; - fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); - } + if (c2cStatus == 0) || (c2cStatus == 1) { + pi_zero_2_offset = 500; } if (uptime_sec < 30.0) { - FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); - pclose(rpitx_stop); - fprintf(stderr,"Sleep 10 sec"); - sleep(10); + FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); + pclose(rpitx_stop); + fprintf(stderr,"Sleep 10 sec"); + sleep(10); } } @@ -1560,7 +1565,7 @@ void get_tlm_fox() { (i2c_bus0 == OFF) * 16 + (i2c_bus1 == OFF) * 32 + (i2c_bus3 == OFF) * 64 + (camera == OFF) * 128 + groundCommandCount * 256; encodeA(b, 51 + head_offset, status); - encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2); + encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); if (txAntennaDeployed == 0) { txAntennaDeployed = 1; From 67596c69141705f8689fc19d3d130e27632a490b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:40:22 -0400 Subject: [PATCH 070/108] Update main.c c2cstatus checking --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 97dfe43f..bf7c185c 100644 --- a/main.c +++ b/main.c @@ -67,7 +67,7 @@ int main(int argc, char * argv[]) { } else { fprintf(stderr,"Pi Zero detected\n"); - if (c2cStatus == 0) || (c2cStatus == 1) { + if ((c2cStatus == 0) || (c2cStatus == 1)) { pi_zero_2_offset = 500; } if (uptime_sec < 30.0) { From 999d14aecd96948287c25e942dae294e45710bfe Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:49:35 -0400 Subject: [PATCH 071/108] Update CubeSatSim_rttelemetry.csv c2cstatus 2 bit --- spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv index 7b66db49..14389ff1 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_rttelemetry.csv @@ -44,5 +44,5 @@ 42,RT,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,RT,RXAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,RT,TXAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,RT,C2CStatus,1,-,COMMAND_STATUS,Computer Software,3,5,0,Command Control, Command & Control Status -46,RT,Pad,57,-,0,NONE,0,0,0,NONE,NONE +45,RT,C2CStatus,2,-,COMMAND_STATUS,Computer Software,3,5,0,Command Control, Command & Control Status +46,RT,Pad,56,-,0,NONE,0,0,0,NONE,NONE From 3679f039b4424a31ac7ae80e154908952c704923 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:50:01 -0400 Subject: [PATCH 072/108] Update CubeSatSim_maxtelemetry.csv c2cstatus 2 bit --- spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv index 10e0e4d6..d888016a 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv @@ -44,5 +44,5 @@ 42,MAX,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MAX,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MAX,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status -46,MAX,Pad,57,-,0,NONE,0,0,0,NONE,NONE +45,MAX,C2CStatus,2,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +46,MAX,Pad,56,-,0,NONE,0,0,0,NONE,NONE From e9a1a2e7fe8bbfcb402544eab28e5c079c9ecb62 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 09:50:32 -0400 Subject: [PATCH 073/108] Update CubeSatSim_mintelemetry.csv c2cstatus 2 bit --- spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index 3941d7a8..bc0eb974 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -44,5 +44,5 @@ 42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status -46,MIN,Pad,57,-,0,NONE,0,0,0,NONE,NONE +45,MIN,C2CStatus,2,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +46,MIN,Pad,56,-,0,NONE,0,0,0,NONE,NONE From ea5f0a24b12c3e4638ba1aee1eecf8d3850adbbb Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:01:57 -0400 Subject: [PATCH 074/108] Update main.c move startup message --- main.c | 106 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/main.c b/main.c index bf7c185c..f3b92f7f 100644 --- a/main.c +++ b/main.c @@ -25,59 +25,6 @@ int main(int argc, char * argv[]) { - FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); - if (command_file == NULL) { - fprintf(stderr,"Command and control is OFF\n"); - c2cStatus = 0; - } else { - command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); - if (command_file == NULL) { - fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); - c2cStatus = 1; - } else - fprintf(stderr,"Command and control DTMF or APRS is ON\n"); - c2cStatus = 2; - } - char resbuffer[1000]; -// const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; - const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'"; - FILE *file_test = sopen(testStr); // see if Pi Zero 2 - fgets(resbuffer, 1000, file_test); - fprintf(stderr, "Pi test result: %s\n", resbuffer); - fclose(file_test); - - FILE * uptime_file = fopen("/proc/uptime", "r"); - fscanf(uptime_file, "%f", & uptime_sec); - printf("Uptime sec: %f \n", uptime_sec); - fclose(uptime_file); - - fprintf(stderr, " %x ", resbuffer[0]); - fprintf(stderr, " %x \n", resbuffer[1]); - if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '0') || (resbuffer[3] != '0')) - { - // voltageThreshold = 3.7; - fprintf(stderr, "Pi Zero not detected (could be Pi Zero 2)\n"); - pi_zero_2_offset = 500; - if (uptime_sec < 30.0) { - FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); - pclose(rpitx_stop); - fprintf(stderr, "Sleep 5 sec"); - sleep(5); // try sleep at start to help boot - } - } - else { - fprintf(stderr,"Pi Zero detected\n"); - if ((c2cStatus == 0) || (c2cStatus == 1)) { - pi_zero_2_offset = 500; - } - if (uptime_sec < 30.0) { - FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); - pclose(rpitx_stop); - fprintf(stderr,"Sleep 10 sec"); - sleep(10); - } - } - printf("\n\nCubeSatSim v1.3.2 starting...\n\n"); wiringPiSetup(); @@ -131,6 +78,59 @@ int main(int argc, char * argv[]) { if (strcmp(hab_yes, "yes") == 0) { hab_mode = TRUE; fprintf(stderr, "HAB mode is ON\n"); + } + + FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); + if (command_file == NULL) { + fprintf(stderr,"Command and control is OFF\n"); + c2cStatus = 0; + } else { + command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); + if (command_file == NULL) { + fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); + c2cStatus = 1; + } else + fprintf(stderr,"Command and control DTMF or APRS is ON\n"); + c2cStatus = 2; + } + char resbuffer[1000]; +// const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; + const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'"; + FILE *file_test = sopen(testStr); // see if Pi Zero 2 + fgets(resbuffer, 1000, file_test); + fprintf(stderr, "Pi test result: %s\n", resbuffer); + fclose(file_test); + + FILE * uptime_file = fopen("/proc/uptime", "r"); + fscanf(uptime_file, "%f", & uptime_sec); + printf("Uptime sec: %f \n", uptime_sec); + fclose(uptime_file); + + fprintf(stderr, " %x ", resbuffer[0]); + fprintf(stderr, " %x \n", resbuffer[1]); + if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '0') || (resbuffer[3] != '0')) + { + // voltageThreshold = 3.7; + fprintf(stderr, "Pi Zero not detected (could be Pi Zero 2)\n"); + pi_zero_2_offset = 500; + if (uptime_sec < 30.0) { + FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); + pclose(rpitx_stop); + fprintf(stderr, "Sleep 5 sec"); + sleep(5); // try sleep at start to help boot + } + } + else { + fprintf(stderr,"Pi Zero detected\n"); + if ((c2cStatus == 0) || (c2cStatus == 1)) { + pi_zero_2_offset = 500; + } + if (uptime_sec < 30.0) { + FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); + pclose(rpitx_stop); + fprintf(stderr,"Sleep 10 sec"); + sleep(10); + } } // FILE * rpitx_stop = popen("sudo systemctl stop rpitx", "r"); From abc5b5498b2c3c2ec3ad1aa669e95305c7fa454c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:11:41 -0400 Subject: [PATCH 075/108] Update main.c print c2cStatus --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index f3b92f7f..38f80b7b 100644 --- a/main.c +++ b/main.c @@ -1565,6 +1565,7 @@ void get_tlm_fox() { (i2c_bus0 == OFF) * 16 + (i2c_bus1 == OFF) * 32 + (i2c_bus3 == OFF) * 64 + (camera == OFF) * 128 + groundCommandCount * 256; encodeA(b, 51 + head_offset, status); + fprintf("c2cStatus: %d \n", c2cStatus); encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); if (txAntennaDeployed == 0) { From 6992b96fab9449e7bcdb02b9bf74f0c805048fee Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:14:54 -0400 Subject: [PATCH 076/108] Update main.c fix printf --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 38f80b7b..a57384ea 100644 --- a/main.c +++ b/main.c @@ -1565,7 +1565,7 @@ void get_tlm_fox() { (i2c_bus0 == OFF) * 16 + (i2c_bus1 == OFF) * 32 + (i2c_bus3 == OFF) * 64 + (camera == OFF) * 128 + groundCommandCount * 256; encodeA(b, 51 + head_offset, status); - fprintf("c2cStatus: %d \n", c2cStatus); + printf("c2cStatus: %d \n", c2cStatus); encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); if (txAntennaDeployed == 0) { From bb3a9da6d3f48bd81ea22ed69312796e9b8d5b32 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:21:22 -0400 Subject: [PATCH 077/108] Update main.c fix c2cstatus print --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index a57384ea..d031f500 100644 --- a/main.c +++ b/main.c @@ -89,10 +89,12 @@ int main(int argc, char * argv[]) { if (command_file == NULL) { fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); c2cStatus = 1; - } else + } else { fprintf(stderr,"Command and control DTMF or APRS is ON\n"); c2cStatus = 2; + } } + printf("c2cStatus: %d", c2cStatus); char resbuffer[1000]; // const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'"; From 4aa8febd55aabdbd693365681a8c6da1d5203e3d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:26:40 -0400 Subject: [PATCH 078/108] Update main.c check c2cStatus each time --- main.c | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index d031f500..3ecef964 100644 --- a/main.c +++ b/main.c @@ -81,7 +81,7 @@ int main(int argc, char * argv[]) { } FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); - if (command_file == NULL) { + if (command_file == NULL) { fprintf(stderr,"Command and control is OFF\n"); c2cStatus = 0; } else { @@ -94,7 +94,8 @@ int main(int argc, char * argv[]) { c2cStatus = 2; } } - printf("c2cStatus: %d", c2cStatus); + printf("c2cStatus: %d", c2cStatus); + char resbuffer[1000]; // const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'"; @@ -1567,7 +1568,28 @@ void get_tlm_fox() { (i2c_bus0 == OFF) * 16 + (i2c_bus1 == OFF) * 32 + (i2c_bus3 == OFF) * 64 + (camera == OFF) * 128 + groundCommandCount * 256; encodeA(b, 51 + head_offset, status); - printf("c2cStatus: %d \n", c2cStatus); + + FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); + if (command_file == NULL) { + if (c2cStatus != 0) { + fprintf(stderr,"Command and control is OFF\n"); + c2cStatus = 0; + } + } else { + command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); + if (command_file == NULL) { + if (c2cStatus != 1) { + fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); + c2cStatus = 1; + } + } else { + if (c2cStatus != 2) { + fprintf(stderr,"Command and control DTMF or APRS is ON\n"); + c2cStatus = 2; + } + } + } + printf("c2cStatus: %d", c2cStatus); encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); if (txAntennaDeployed == 0) { From 41bc192c1936963ae5cdbe60d73c9e9a4018897d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:39:42 -0400 Subject: [PATCH 079/108] Update rpitx.py reset serial back to 115200 after programming --- rpitx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 47b98d35..8c079e7a 100644 --- a/rpitx.py +++ b/rpitx.py @@ -363,7 +363,8 @@ if __name__ == "__main__": # ser.write(b"AT+DMOSETGROUP=0,435.0000,434.9000,0,3,0,0\r\n") ser.write(uhf_string.encode()) sleep(0.1) - ser.close() + ser.close() + ser = serial.Serial("/dev/ttyAMA0", 115200) # reset back to 115200 for cubesatsim code for payload sensor data except: print("Error in serial write") output(pd, 0) From 83667c7e99c3d8ce0fabdeccf495240b39b6c9a0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:42:50 -0400 Subject: [PATCH 080/108] Update CubeSatSim_mintelemetry.csv add COMMAND_STATUS --- spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv index bc0eb974..eefa1e48 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_mintelemetry.csv @@ -44,5 +44,5 @@ 42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MIN,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MIN,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MIN,C2CStatus,2,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +45,MIN,C2CStatus,2,-,COMMAND_STATUS,NONE,3,5,0,Command Control, Command & Control Status 46,MIN,Pad,56,-,0,NONE,0,0,0,NONE,NONE From eab0de6a1fdfe558527c4bcc5b1681c1e4714e00 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:43:14 -0400 Subject: [PATCH 081/108] Update CubeSatSim_maxtelemetry.csv --- spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv index d888016a..c442b89d 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_maxtelemetry.csv @@ -44,5 +44,5 @@ 42,MAX,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MAX,RXAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MAX,TXAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MAX,C2CStatus,2,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +45,MAX,C2CStatus,2,-,COMMAND_STATUS,NONE,3,5,0,Command Control, Command & Control Status 46,MAX,Pad,56,-,0,NONE,0,0,0,NONE,NONE From dc3a66849e645d1707470dad363c80aa9f96b9ad Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:52:18 -0400 Subject: [PATCH 082/108] Update config restart cubesatsim with rpitx too --- config | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config b/config index 2f5bdeb7..10d038ed 100755 --- a/config +++ b/config @@ -350,7 +350,7 @@ if [ "$1" = "" ]; then elif [ "$1" = "-i" ]; then - reboot=1 + restart=1 elif [ "$1" = "-a" ]; then @@ -807,8 +807,9 @@ elif [ "$1" = "-d" ]; then # reboot=1 sudo systemctl restart command if [[ $(arecord -l | grep card) ]]; then - echo "restarting cubesatsim software" - sudo systemctl restart cubesatsim + restart=1 +### echo "restarting cubesatsim software" +### sudo systemctl restart cubesatsim fi ## sudo reboot now fi From 13a93188062311ed20756f0ad0ccace7608b9fec Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:58:58 -0400 Subject: [PATCH 083/108] Update CubeSatSim_PSK_rttelemetry.csv add COMMAND_STATUS --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv index b751bacd..17ef4ab6 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_rttelemetry.csv @@ -44,7 +44,7 @@ 42,realTime,GroundCommands,4,-,1,Computer Software,3,3,0,Ground Commands,Number of ground commands received 43,realTime,RxAntenna,1,-,16,Radio,1,3,0,RX Antenna,Receive antenna status 44,realTime,TxAntenna,1,-,16,Radio,1,2,0,TX Antenna,Transmit antenna status -45,realTime,C2CStatus,1,-,STATUS_ON_OFF,Computer Software,3,5,0,Command Control, Command & Control Status +45,realTime,C2CStatus,2,-,COMMAND_STATUS,Computer Software,3,5,0,Command Control, Command & Control Status 46,realTime,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 47,realTime,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 48,realTime,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected @@ -59,4 +59,4 @@ 57,realTime,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 58,realTime,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 59,realTime,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -60,realTime,pad2,28,-,0,NONE,0,0,0,NONE,Filler +60,realTime,pad2,27,-,0,NONE,0,0,0,NONE,Filler From 1bad1a50222f3f565932d2175a407b8d459e0db9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 10:59:44 -0400 Subject: [PATCH 084/108] Update CubeSatSim_PSK_mintelemetry.csv add COMMAND_STATUS --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv index 8b06f27c..97dcaa4b 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_mintelemetry.csv @@ -44,7 +44,7 @@ 42,MIN,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MIN,RxAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MIN,TxAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MIN,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +45,MIN,C2CStatus,2,-,COMMAND_STATUS,NONE,3,5,0,Command Control, Command & Control Status 46,MIN,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 47,MIN,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 48,MIN,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected @@ -59,4 +59,4 @@ 57,MIN,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 58,MIN,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 59,MIN,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -60,MIN,pad2,28,-,0,NONE,0,0,0,NONE,Filler +60,MIN,pad2,27,-,0,NONE,0,0,0,NONE,Filler From 3f8fc45460470ee4bad31bc32d4727e3e6d587ca Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 11:00:24 -0400 Subject: [PATCH 085/108] Update CubeSatSim_PSK_maxtelemetry.csv add COMMAND_STATUS --- spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv index 49526e8b..5e421492 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv +++ b/spacecraft/FoxTelem_1.13e/CubeSatSim_PSK_maxtelemetry.csv @@ -44,7 +44,7 @@ 42,MAX,GroundCommands,4,-,1,NONE,3,3,0,Ground Commands,Number of ground commands received 43,MAX,RxAntenna,1,-,16,NONE,1,3,0,RX Antenna,Receive antenna status 44,MAX,TxAntenna,1,-,16,NONE,1,2,0,TX Antenna,Transmit antenna status -45,MAX,C2CStatus,1,-,STATUS_ON_OFF,NONE,3,5,0,Command Control, Command & Control Status +45,MAX,C2CStatus,2,-,COMMAND_STATUS,NONE,3,5,0,Command Control, Command & Control Status 46,MAX,ICR3VProt,12,V,43,NONE,7,2,3,3V Prot,ICR 3V Proteted 47,MAX,ICR2dot5V,12,V,43,NONE,7,3,3,2.5V,ICR 2.5V 48,MAX,ICR2dot5VProt,12,V,43,NONE,7,4,3,2.5V Prot,ICR 2.5V Protected @@ -59,4 +59,4 @@ 57,MAX,swCmds,32,-,35,NONE,7,6,0,Diagnostic,ICR Diagnostic information 58,MAX,hwCmdCnt,6,-,1,NONE,7,7,0,HW Command Count,Number of hardware commands since last reset 59,MAX,swCmdCnt,6,-,1,NONE,7,8,0,SW Command Count,Number of software commands since last reset -60,MAX,pad2,28,-,0,NONE,0,0,0,NONE,Filler +60,MAX,pad2,27,-,0,NONE,0,0,0,NONE,Filler From 8e3774c967913f1e17ae64cd5d6381ad0760706d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 11:01:48 -0400 Subject: [PATCH 086/108] Create CubeSat_Simulator_PSK.MASTER intial file --- .../CubeSat_Simulator_PSK.MASTER | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER diff --git a/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER new file mode 100644 index 00000000..4ef708f3 --- /dev/null +++ b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER @@ -0,0 +1,75 @@ +#Fox 1 Telemetry Decoder Properties +#Thu Apr 11 13:23:23 EST 2020 +user_mode=4 +foxId=99 +IHU_SN=7 +catalogNumber=0 +model=0 +mpptResistanceError=6.58 +mpptSensorOffThreshold=1600 +name=CubeSatSim +displayName=CubeSatSim-BPSK +BATTERY_CURRENT_ZERO=-1.834 +hasImprovedCommandReceiver=true +EXP1=0 +EXP2=0 +EXP3=0 +EXP4=0 +description=CubeSatSim, the AMSAT CubeSat Simulator, is a functional satellite model that generates real telemetry from solar panels, batteries, and temperature sensors. Use this for BPSK telemetry. For more information see http://cubesatsim.org +numberOfFrameLayouts=5 +frameLayout0.filename=FOX1E_Type0_ALL_WOD.frame +frameLayout0.name=All WOD +frameLayout1.filename=CubeSatSim_PSK_Type1_HEALTH.frame +frameLayout1.name=Health +frameLayout2.filename=CubeSatSim_PSK_Type2_MINMAX.frame +frameLayout2.name=MinMax +frameLayout3.filename=FOX1E_Type3_REALTIME_BEACON.frame +frameLayout3.name=Realtime Beacon +frameLayout4.filename=FOX1E_Type4_WOD_BEACON.frame +frameLayout4.name=WOD Beacon +numberOfLayouts=9 +layout0.filename=FOX1A_debug.csv +layout0.name=DEBUG +layout1.filename=CubeSatSim_PSK_maxtelemetry.csv +layout1.name=maxtelemetry +layout2.filename=CubeSatSim_PSK_rttelemetry.csv +layout2.name=rttelemetry +layout3.filename=CubeSatSim_PSK_mintelemetry.csv +layout3.name=mintelemetry +layout4.filename=FOX1E_radtelemetry.csv +layout4.name=radtelemetry +layout5.filename=FOX1E_radtelemetry2.csv +layout5.name=radtelemetry2 +layout5.parentLayout=radtelemetry +layout6.filename=CubeSatSim_PSK_wodtelemetry.csv +layout6.name=wodtelemetry +layout7.filename=FOX1E_wodradtelemetry.csv +layout7.name=wodradtelemetry +layout8.filename=FOX1E_wodradtelemetry2.csv +layout8.name=wodradtelemetry2 +layout8.parentLayout=wodradtelemetry +numberOfLookupTables=3 +lookupTable0.filename=FOX1A_rssiFM.tab +lookupTable0=RSSI +lookupTable1.filename=FOX1E_ihuVBattSNx.tab +lookupTable1=IHU_VBATT +lookupTable2.filename=FOX1A_ihutempSN7.tab +lookupTable2=IHU_TEMP +numberOfStringLookupTables=1 +stringLookupTable0.filename=status_on_off.tab +stringLookupTable0=STATUS_ON_OFF +maxFreqBoundkHz=434950 +measurementsFileName=measurements.csv +memsRestValueX=2129 +memsRestValueY=2131 +memsRestValueZ=2103 +minFreqBoundkHz=434850 +passMeasurementsFileName=passmeasurements.csv +telemetryDownlinkFreqkHz=434900 +track=true +useIHUVBatt=false +numberOfSources=1 +source0.name=amsat.cubesat_simulator.ihu.bpsk +user_format=0 +useConversionCoeffs=true +conversionCurvesFileName=CubeSatSim_conversion_curves.csv From 68a2a90389b33c89fbaef0a42bee965423aab913 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 11:03:01 -0400 Subject: [PATCH 087/108] Update CubeSat_Simulator_PSK.MASTER add COMMAND_STATUS --- spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER index 4ef708f3..56c22e88 100644 --- a/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER +++ b/spacecraft/FoxTelem_1.13e/CubeSat_Simulator_PSK.MASTER @@ -55,9 +55,11 @@ lookupTable1.filename=FOX1E_ihuVBattSNx.tab lookupTable1=IHU_VBATT lookupTable2.filename=FOX1A_ihutempSN7.tab lookupTable2=IHU_TEMP -numberOfStringLookupTables=1 +numberOfStringLookupTables=2 stringLookupTable0.filename=status_on_off.tab stringLookupTable0=STATUS_ON_OFF +stringLookupTable1=COMMAND_STATUS +stringLookupTable1.filename=command_status.tab maxFreqBoundkHz=434950 measurementsFileName=measurements.csv memsRestValueX=2129 From 0a22628c7c5509937f4b8c5a448e1935650a5769 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 11:07:57 -0400 Subject: [PATCH 088/108] Update main.c print c2cstatus with /n --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 3ecef964..77b9afa4 100644 --- a/main.c +++ b/main.c @@ -94,7 +94,7 @@ int main(int argc, char * argv[]) { c2cStatus = 2; } } - printf("c2cStatus: %d", c2cStatus); + printf("c2cStatus: %d \n", c2cStatus); char resbuffer[1000]; // const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; @@ -1589,7 +1589,7 @@ void get_tlm_fox() { } } } - printf("c2cStatus: %d", c2cStatus); + // printf("c2cStatus: %d \n", c2cStatus); encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); if (txAntennaDeployed == 0) { From aed480fae045bf698974033bd7373d878ac1534c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 15:27:30 -0400 Subject: [PATCH 089/108] Update main.c add C in SSTV, APRS, and CW modes if C2C is on --- main.c | 58 +++++++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/main.c b/main.c index 77b9afa4..202552d4 100644 --- a/main.c +++ b/main.c @@ -886,8 +886,11 @@ int main(int argc, char * argv[]) { FILE * fp = fopen("/home/pi/CubeSatSim/telem_string.txt", "w"); if (fp != NULL) { // printf("Writing telem_string.txt\n"); - if (batteryVoltage != 4.5) - fprintf(fp, "BAT %4.2fV %5.1fmA\n", batteryVoltage, batteryCurrent); + if (batteryVoltage != 4.5) + if (c2cStatus == 0) + fprintf(fp, "BAT %4.2fV %5.1fmA\n", batteryVoltage, batteryCurrent); + else + fprintf(fp, "BAT %4.2fV %5.1fmA C\n", batteryVoltage, batteryCurrent); // show command and control is on else fprintf(fp, "\n"); // don't show voltage and current if it isn't a sensor value @@ -902,6 +905,28 @@ int main(int argc, char * argv[]) { // fprintf(stderr, "INFO: Getting TLM Data\n"); #endif + FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); + if (command_file == NULL) { + if (c2cStatus != 0) { + fprintf(stderr,"Command and control is OFF\n"); + c2cStatus = 0; + } + } else { + command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); + if (command_file == NULL) { + if (c2cStatus != 1) { + fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); + c2cStatus = 1; + } + } else { + if (c2cStatus != 2) { + fprintf(stderr,"Command and control DTMF or APRS is ON\n"); + c2cStatus = 2; + } + } + } + // printf("c2cStatus: %d \n", c2cStatus); + if ((mode == AFSK) || (mode == CW)) { get_tlm(); sleep(25); @@ -1039,6 +1064,7 @@ void get_tlm(void) { char header_lat[10]; char header_long[10]; char header_str4[] = "hi hi de "; + char command_string[] = " C"; // char footer_str1[] = "\' > t.txt && echo \'"; char footer_str1[] = "\' > t.txt"; // char footer_str[] = "-11>APCSS:010101/hi hi ' >> t.txt && touch /home/pi/CubeSatSim/ready"; // transmit is done by rpitx.py @@ -1118,10 +1144,13 @@ void get_tlm(void) { printf(" Response from STEM Payload board:: %s\n", sensor_payload); // printf(" Str so far: %s\n", str); - if (mode != CW) { + if (mode != CW) strcat(str, sensor_payload); // append to telemetry string for transmission + + if (c2cStatus != 0) + strcat(str, command_string); // append command and controls string // printf(" Str so far: %s\n", str); - } + if (mode == CW) { // char cw_str2[1000]; @@ -1569,27 +1598,6 @@ void get_tlm_fox() { encodeA(b, 51 + head_offset, status); - FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); - if (command_file == NULL) { - if (c2cStatus != 0) { - fprintf(stderr,"Command and control is OFF\n"); - c2cStatus = 0; - } - } else { - command_file = fopen("/home/pi/CubeSatSim/command_control_direwolf", "r"); - if (command_file == NULL) { - if (c2cStatus != 1) { - fprintf(stderr,"Command and control Carrier (squelch) is ON\n"); - c2cStatus = 1; - } - } else { - if (c2cStatus != 2) { - fprintf(stderr,"Command and control DTMF or APRS is ON\n"); - c2cStatus = 2; - } - } - } - // printf("c2cStatus: %d \n", c2cStatus); encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); if (txAntennaDeployed == 0) { From f37cb1634242fc1d266e23ddecec8004b6d4395f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 17:44:22 -0400 Subject: [PATCH 090/108] Update main.c no digits SSTV current --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 202552d4..594f1ca0 100644 --- a/main.c +++ b/main.c @@ -888,9 +888,9 @@ int main(int argc, char * argv[]) { // printf("Writing telem_string.txt\n"); if (batteryVoltage != 4.5) if (c2cStatus == 0) - fprintf(fp, "BAT %4.2fV %5.1fmA\n", batteryVoltage, batteryCurrent); + fprintf(fp, "BAT %4.2fV %4.0fmA\n", batteryVoltage, batteryCurrent); else - fprintf(fp, "BAT %4.2fV %5.1fmA C\n", batteryVoltage, batteryCurrent); // show command and control is on + fprintf(fp, "BAT %4.2fV %4.0fmA C\n", batteryVoltage, batteryCurrent); // show command and control is on else fprintf(fp, "\n"); // don't show voltage and current if it isn't a sensor value From 9e6e0be362376b91dda8777137b030e9087c5cb5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 20:58:45 -0400 Subject: [PATCH 091/108] Update main.c add C to cw6.txt if C2C enabled --- main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index 594f1ca0..4dd3e610 100644 --- a/main.c +++ b/main.c @@ -1064,7 +1064,6 @@ void get_tlm(void) { char header_lat[10]; char header_long[10]; char header_str4[] = "hi hi de "; - char command_string[] = " C"; // char footer_str1[] = "\' > t.txt && echo \'"; char footer_str1[] = "\' > t.txt"; // char footer_str[] = "-11>APCSS:010101/hi hi ' >> t.txt && touch /home/pi/CubeSatSim/ready"; // transmit is done by rpitx.py @@ -1135,6 +1134,10 @@ void get_tlm(void) { pclose(cw_file); } + if (c2cStatus != 0) { + FILE *file_append = sopen("echo ' C' >> cw6.txt"); + fclose(file_append); + } } else { // APRS sprintf(tlm_str, "BAT %4.2f %5.1f ", voltage[map[BAT]] , current[map[BAT]] ); @@ -1147,10 +1150,6 @@ void get_tlm(void) { if (mode != CW) strcat(str, sensor_payload); // append to telemetry string for transmission - if (c2cStatus != 0) - strcat(str, command_string); // append command and controls string -// printf(" Str so far: %s\n", str); - if (mode == CW) { // char cw_str2[1000]; From 8f75e48bf201d32aaed2f3c60a5264e77f21daaa Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 21:06:47 -0400 Subject: [PATCH 092/108] Update main.c try echo -n for cw.txt --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 4dd3e610..fa3b0bc7 100644 --- a/main.c +++ b/main.c @@ -1120,7 +1120,7 @@ void get_tlm(void) { if (mode == CW) { int channel; for (channel = 1; channel < 7; channel++) { - sprintf(tlm_str, "echo ' %d%d%d %d%d%d %d%d%d %d%d%d ' > cw%1d.txt", + sprintf(tlm_str, "echo -n ' %d%d%d %d%d%d %d%d%d %d%d%d ' > cw%1d.txt", channel, upper_digit(tlm[channel][1]), lower_digit(tlm[channel][1]), channel, upper_digit(tlm[channel][2]), lower_digit(tlm[channel][2]), channel, upper_digit(tlm[channel][3]), lower_digit(tlm[channel][3]), @@ -1135,7 +1135,7 @@ void get_tlm(void) { } if (c2cStatus != 0) { - FILE *file_append = sopen("echo ' C' >> cw6.txt"); + FILE *file_append = sopen("echo 'C' >> cw6.txt"); fclose(file_append); } } else { // APRS From 4bb23e258242d47f475c6db1f25353e4f0826bbe Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 21:38:04 -0400 Subject: [PATCH 093/108] Update main.c removed XS1-3 dummy data --- main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.c b/main.c index fa3b0bc7..7c73f2a4 100644 --- a/main.c +++ b/main.c @@ -708,9 +708,7 @@ int main(int argc, char * argv[]) { token = strtok(NULL, space); } } - sensor[XS1] = 100; - sensor[XS2] = 200; - sensor[XS3] = 300; + printf("\n"); // if (sensor[GPS1] != 0) { if ((sensor[GPS1] > -90.0) && (sensor[GPS1] < 90.0) && (sensor[GPS1] != 0.0)) { From 2a7e8cffd369a64c6939475ee5a3c29fcba518d3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 1 Sep 2024 09:24:00 -0400 Subject: [PATCH 094/108] Update main.c restart rpitx if tcp connection refused --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 7c73f2a4..2c6d792b 100644 --- a/main.c +++ b/main.c @@ -1830,7 +1830,9 @@ void get_tlm_fox() { printf("\nConnection Failed \n"); printf("Error: %s \n", strerror(errno)); error = 1; - // sleep(1.0); // sleep if socket connection refused + FILE * rpitx_restartf = popen("sudo systemctl restart rpitx", "r"); + pclose(rpitx_restartf); + sleep(5.0); // sleep if socket connection refused } } if (error == 1) From 69b9dada444a0528ba404693798570c0970b713c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 1 Sep 2024 09:29:57 -0400 Subject: [PATCH 095/108] Update main.c add print --- main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 2c6d792b..b2a0b94b 100644 --- a/main.c +++ b/main.c @@ -1804,9 +1804,11 @@ void get_tlm_fox() { if (connect(sock, (struct sockaddr * ) & serv_addr, sizeof(serv_addr)) < 0) { printf("\nConnection Failed \n"); - printf("Error: %s \n", strerror(errno)); + printf("Error: %s restarting rpitx\n", strerror(errno)); error = 1; - sleep(2.0); // sleep if socket connection refused + FILE * rpitx_restartf2 = popen("sudo systemctl restart rpitx", "r"); + pclose(rpitx_restartf2); + sleep(5.0); // sleep if socket connection refused // try again error = 0; @@ -1828,7 +1830,7 @@ void get_tlm_fox() { if (connect(sock, (struct sockaddr * ) & serv_addr, sizeof(serv_addr)) < 0) { printf("\nConnection Failed \n"); - printf("Error: %s \n", strerror(errno)); + printf("Error: %s restarting rpitx\n", strerror(errno)); error = 1; FILE * rpitx_restartf = popen("sudo systemctl restart rpitx", "r"); pclose(rpitx_restartf); From c0922c03326a155f3da65f8d118aee86869e5795 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 11:21:16 -0400 Subject: [PATCH 096/108] Update main.c print ant status --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index b2a0b94b..b8aa1a39 100644 --- a/main.c +++ b/main.c @@ -1596,7 +1596,8 @@ void get_tlm_fox() { encodeA(b, 51 + head_offset, status); encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); - + printf("Ant status %d \n", rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); + if (txAntennaDeployed == 0) { txAntennaDeployed = 1; printf("TX Antenna Deployed!\n"); From e316d12ac27f91dca5ba975cbd9a7c8d5d98d9bb Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 11:37:49 -0400 Subject: [PATCH 097/108] Update main.c include status in MAX and MIN --- main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index b8aa1a39..284bc4a1 100644 --- a/main.c +++ b/main.c @@ -1594,9 +1594,13 @@ void get_tlm_fox() { (i2c_bus0 == OFF) * 16 + (i2c_bus1 == OFF) * 32 + (i2c_bus3 == OFF) * 64 + (camera == OFF) * 128 + groundCommandCount * 256; encodeA(b, 51 + head_offset, status); - encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); - printf("Ant status %d \n", rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); + if (mode == BPSK) { + encodeA(b_max, 51 + head_offset, status); + encodeA(b_min, 51 + head_offset, status); + encodeB(b_max, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); + encodeB(b_min, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed * 2 + c2cStatus * 4); + } if (txAntennaDeployed == 0) { txAntennaDeployed = 1; From fb9273e21c094168c433fc9edf570f5fdb7eaf0a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 15:32:47 -0400 Subject: [PATCH 098/108] Update main.c detect Pi Zero 2 --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 284bc4a1..d546fba4 100644 --- a/main.c +++ b/main.c @@ -114,7 +114,11 @@ int main(int argc, char * argv[]) { if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '0') || (resbuffer[3] != '0')) { // voltageThreshold = 3.7; - fprintf(stderr, "Pi Zero not detected (could be Pi Zero 2)\n"); + if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '2') || (resbuffer[3] != '1')) + fprintf(stderr, "Pi Zero 2 detected\n"); + else + fprintf(stderr, "Not a Pi Zero or Pi Zero 2\n"); + pi_zero_2_offset = 500; if (uptime_sec < 30.0) { FILE * rpitx_stop = popen("sudo systemctl start rpitx", "r"); From 7ef0e21e5b2563dbe388d905609abdf35907d1ae Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 15:38:48 -0400 Subject: [PATCH 099/108] Update main.c print 4 digits --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.c b/main.c index d546fba4..23823345 100644 --- a/main.c +++ b/main.c @@ -109,8 +109,7 @@ int main(int argc, char * argv[]) { printf("Uptime sec: %f \n", uptime_sec); fclose(uptime_file); - fprintf(stderr, " %x ", resbuffer[0]); - fprintf(stderr, " %x \n", resbuffer[1]); + fprintf(stderr, "hex: %x %x %x %x \n", resbuffer[0], resbuffer[1], resbuffer[2], resbuffer[3]); if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '0') || (resbuffer[3] != '0')) { // voltageThreshold = 3.7; From 35fd9b596a9b818772ef4bcccf7e9a990b79a234 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 15:44:23 -0400 Subject: [PATCH 100/108] Update main.c try strcmp --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 23823345..dee220cf 100644 --- a/main.c +++ b/main.c @@ -113,7 +113,8 @@ int main(int argc, char * argv[]) { if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '0') || (resbuffer[3] != '0')) { // voltageThreshold = 3.7; - if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '2') || (resbuffer[3] != '1')) +// if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '2') || (resbuffer[3] != '1')) + if (strcmp(resbuffer, "902120") == 0) fprintf(stderr, "Pi Zero 2 detected\n"); else fprintf(stderr, "Not a Pi Zero or Pi Zero 2\n"); From 10a1d9c27c56689b34ed02fd7e295fc3d06822e1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 15:54:00 -0400 Subject: [PATCH 101/108] Update main.c add second test --- main.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index dee220cf..fefb13ef 100644 --- a/main.c +++ b/main.c @@ -99,9 +99,10 @@ int main(int argc, char * argv[]) { char resbuffer[1000]; // const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '9000'"; const char testStr[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'"; + const char test2Str[] = "cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//' | grep '902120'"; FILE *file_test = sopen(testStr); // see if Pi Zero 2 fgets(resbuffer, 1000, file_test); - fprintf(stderr, "Pi test result: %s\n", resbuffer); + fprintf(stderr, "Pi Zero test result: %s\n", resbuffer); fclose(file_test); FILE * uptime_file = fopen("/proc/uptime", "r"); @@ -109,12 +110,16 @@ int main(int argc, char * argv[]) { printf("Uptime sec: %f \n", uptime_sec); fclose(uptime_file); - fprintf(stderr, "hex: %x %x %x %x \n", resbuffer[0], resbuffer[1], resbuffer[2], resbuffer[3]); +// fprintf(stderr, "hex: %x %x %x %x \n", resbuffer[0], resbuffer[1], resbuffer[2], resbuffer[3]); if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '0') || (resbuffer[3] != '0')) { // voltageThreshold = 3.7; -// if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '2') || (resbuffer[3] != '1')) - if (strcmp(resbuffer, "902120") == 0) +// if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '2') || (resbuffer[3] != '1')) + *file_test = sopen(test2Str); // see if Pi Zero 2 + fgets(resbuffer, 1000, file_test); + fprintf(stderr, "Pi Zero 2 test result: %s\n", resbuffer); + fclose(file_test); + if (strlen(resbuffer) > 5) fprintf(stderr, "Pi Zero 2 detected\n"); else fprintf(stderr, "Not a Pi Zero or Pi Zero 2\n"); From f40639f18ba5efd751b5252a431d471eb12fd224 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 15:57:26 -0400 Subject: [PATCH 102/108] Update config add -g to reset to default config --- config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config b/config index 10d038ed..b3e5df37 100755 --- a/config +++ b/config @@ -1364,6 +1364,16 @@ elif [ "$1" = "-L" ]; then echo "Not updating mic level" fi +elif [ "$1" = "-g" ]; then + + echo + echo "Resetting configration back to default settings" + echo + + echo "AMSAT 0 0 0 no 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg + + restart=1 + elif [ "$1" = "-h" ]; then echo "config OPTION" @@ -1399,6 +1409,8 @@ elif [ "$1" = "-h" ]; then echo " -D Change Transmit Commands state APRS or DTMF" echo " -o Change telemetry beacon transmit state" echo " -L Change microphone level for command and control" + echo " -g Reset configration back to default settings" + echo exit From c71c23d29fff34b66d32b3f3b58417e600076bd1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 15:59:46 -0400 Subject: [PATCH 103/108] Update main.c fix typo --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index fefb13ef..d170db2e 100644 --- a/main.c +++ b/main.c @@ -115,10 +115,10 @@ int main(int argc, char * argv[]) { { // voltageThreshold = 3.7; // if ((resbuffer[0] != '9') || (resbuffer[1] != '0') || (resbuffer[2] != '2') || (resbuffer[3] != '1')) - *file_test = sopen(test2Str); // see if Pi Zero 2 - fgets(resbuffer, 1000, file_test); + FILE *file2_test = sopen(test2Str); // see if Pi Zero 2 + fgets(resbuffer, 1000, file2_test); fprintf(stderr, "Pi Zero 2 test result: %s\n", resbuffer); - fclose(file_test); + fclose(file2_test); if (strlen(resbuffer) > 5) fprintf(stderr, "Pi Zero 2 detected\n"); else From 2a16426a0a1eb738ff761c031dcca852912dc9d9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 16:02:46 -0400 Subject: [PATCH 104/108] Update config add reboot for -g --- config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config b/config index b3e5df37..d88c7994 100755 --- a/config +++ b/config @@ -1370,9 +1370,11 @@ elif [ "$1" = "-g" ]; then echo "Resetting configration back to default settings" echo - echo "AMSAT 0 0 0 no 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg + echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg - restart=1 + sudo echo "f" > /home/pi/CubeSatSim/.mode + + reboot=1 elif [ "$1" = "-h" ]; then From efb2cf8fd0b21c4062c05c8fbd4288125df6b15e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 19:49:56 -0400 Subject: [PATCH 105/108] Update config reset all settings --- config | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/config b/config index d88c7994..8ff41ec8 100755 --- a/config +++ b/config @@ -1367,14 +1367,36 @@ elif [ "$1" = "-L" ]; then elif [ "$1" = "-g" ]; then echo - echo "Resetting configration back to default settings" + echo "Are you sure you want to reset the CubeSatSim configration back to the default settings?" echo - echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg + read rset + echo + + if [ "$rset" = "y" ] || [ "$rset" = "yes" ] ; then - sudo echo "f" > /home/pi/CubeSatSim/.mode + echo "Resetting" - reboot=1 + echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg + + sudo echo "f" > /home/pi/CubeSatSim/.mode + + sudo rm /home/pi/CubeSatSim/battery_saver + + sudo rm /home/pi/CubeSatSim/command_control + + sudo rm /home/pi/CubeSatSim/command_control_direwolf + + sydi rm /home/pi/CubeSatSim/beacon_off + + sudo echo "0" > /home/pi/CubeSatSim/command_count.txt + + reboot=1 + else + + echo "Not resetting" + + fi elif [ "$1" = "-h" ]; then From 5582fecd11c140f5f855293ea5e9cf331c394b0d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 19:53:34 -0400 Subject: [PATCH 106/108] Update config add dev/null and fix typo --- config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config b/config index 8ff41ec8..4bc3986a 100755 --- a/config +++ b/config @@ -1381,13 +1381,13 @@ elif [ "$1" = "-g" ]; then sudo echo "f" > /home/pi/CubeSatSim/.mode - sudo rm /home/pi/CubeSatSim/battery_saver + sudo rm /home/pi/CubeSatSim/battery_saver > /dev/null 2>&1 - sudo rm /home/pi/CubeSatSim/command_control + sudo rm /home/pi/CubeSatSim/command_control > /dev/null 2>&1 - sudo rm /home/pi/CubeSatSim/command_control_direwolf + sudo rm /home/pi/CubeSatSim/command_control_direwolf > /dev/null 2>&1 - sydi rm /home/pi/CubeSatSim/beacon_off + sudo rm /home/pi/CubeSatSim/beacon_off > /dev/null 2>&1 sudo echo "0" > /home/pi/CubeSatSim/command_count.txt From 36b8811801fee742665169c4a63aed874e06af34 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 8 Sep 2024 09:30:11 -0400 Subject: [PATCH 107/108] Update main.c fix sleep 5 --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index d170db2e..dfb3e867 100644 --- a/main.c +++ b/main.c @@ -47,7 +47,7 @@ int main(int argc, char * argv[]) { fprintf(stderr,"Config file /home/pi/CubeSatSim/sim.cfg contains %s %d %f %f %s %d %s %s %s %d %d\n", call, reset_count, lat_file, long_file, sim_yes, squelch, tx, rx, hab_yes, rx_pl, tx_pl); - fprintf(stderr, "Transmit on %s Receive on %s\n", tx, rx); + fprintf(stderr, "Transmit on %s MHz Receive on %s MHz\n", tx, rx); // program_radio(); // do in rpitx instead @@ -1822,7 +1822,7 @@ void get_tlm_fox() { error = 1; FILE * rpitx_restartf2 = popen("sudo systemctl restart rpitx", "r"); pclose(rpitx_restartf2); - sleep(5.0); // sleep if socket connection refused + sleep(5); // sleep if socket connection refused // try again error = 0; @@ -1848,7 +1848,7 @@ void get_tlm_fox() { error = 1; FILE * rpitx_restartf = popen("sudo systemctl restart rpitx", "r"); pclose(rpitx_restartf); - sleep(5.0); // sleep if socket connection refused + sleep(5); // sleep if socket connection refused } } if (error == 1) From df3ea0f6a2c5a372891cfd9694f5779e85eddc7e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 8 Sep 2024 09:33:05 -0400 Subject: [PATCH 108/108] Update config remove extra space --- config | 1 - 1 file changed, 1 deletion(-) diff --git a/config b/config index 4bc3986a..36a30b3d 100755 --- a/config +++ b/config @@ -1366,7 +1366,6 @@ elif [ "$1" = "-L" ]; then elif [ "$1" = "-g" ]; then - echo echo "Are you sure you want to reset the CubeSatSim configration back to the default settings?" echo