FOSSASAT-1B
MCU Temperature Sensor Configuration
Collaboration diagram for MCU Temperature Sensor Configuration:

Macros

#define MCU_TEMP_OFFSET   324.31
 
#define MCU_TEMP_COEFFICIENT   1.22
 

Detailed Description

Todo:
Julian -> Verify both MCU_TEMP constants give accurate internal temperature.
Test:

(ID CONF_MCU_TEMP_T0) (SEV 1) Check that the MCU_TEMP_OFFSET functions correctly.

(ID CONF_MCU_TEMP_T1) (SEV 1) Check that the MCU_TEMP_COEFFICIENT functions correctly.

Macro Definition Documentation

◆ MCU_TEMP_COEFFICIENT

#define MCU_TEMP_COEFFICIENT   1.22

Empirical constant

Definition at line 450 of file configuration.h.

◆ MCU_TEMP_OFFSET

#define MCU_TEMP_OFFSET   324.31

This value is used to convert the sensors temperature to the real temperature.
t = (raw - MCU_TEMP_OFFSET) / MCU_TEMP_COEFFICIENT

Definition at line 449 of file configuration.h.