TEMP9_ parameters

15 parameters in the TEMP9_ family. ArduCopter 4.7 only — other vehicles share many of these names but not always the same ranges or meanings.

TEMP9_A0

Temperature sensor analog 0th polynomial coefficient

a0 in polynomial of form temperature in deg = a0 + a1*voltage + a2*voltage^2 + a3*voltage^3 + a4*voltage^4 + a5*voltage^5

TEMP9_A1

Temperature sensor analog 1st polynomial coefficient

a1 in polynomial of form temperature in deg = a0 + a1*voltage + a2*voltage^2 + a3*voltage^3 + a4*voltage^4 + a5*voltage^5

TEMP9_A2

Temperature sensor analog 2nd polynomial coefficient

a2 in polynomial of form temperature in deg = a0 + a1*voltage + a2*voltage^2 + a3*voltage^3 + a4*voltage^4 + a5*voltage^5

TEMP9_A3

Temperature sensor analog 3rd polynomial coefficient

a3 in polynomial of form temperature in deg = a0 + a1*voltage + a2*voltage^2 + a3*voltage^3 + a4*voltage^4 + a5*voltage^5

TEMP9_A4

Temperature sensor analog 4th polynomial coefficient

a4 in polynomial of form temperature in deg = a0 + a1*voltage + a2*voltage^2 + a3*voltage^3 + a4*voltage^4 + a5*voltage^5

TEMP9_A5

Temperature sensor analog 5th polynomial coefficient

a5 in polynomial of form temperature in deg = a0 + a1*voltage + a2*voltage^2 + a3*voltage^3 + a4*voltage^4 + a5*voltage^5

TEMP9_ADDR

Temperature sensor address

Temperature sensor address, typically used for I2C address

Range

0 to 127

Reboot required

Yes — the change takes effect after a reboot.

User level

Advanced

TEMP9_BUS

Temperature sensor bus

Temperature sensor bus number, typically used to select from multiple I2C buses

Range

0 to 3

Reboot required

Yes — the change takes effect after a reboot.

User level

Advanced

TEMP9_MSG_ID

Temperature sensor DroneCAN message ID

Sets the message device ID this backend listens for

Range

0 to 65535

TEMP9_PIN

Temperature sensor analog voltage sensing pin

Sets the analog input pin that should be used for temprature monitoring. Values for some autopilots are given as examples. Search wiki for “Analog pins”.

Range

-1 to 127

User level

Standard

Values

Value

Meaning

-1

Disabled

2

Pixhawk/Pixracer/Navio2/Pixhawk2_PM1

5

Navigator

13

Pixhawk2_PM2/CubeOrange_PM2

14

CubeOrange

16

Durandal

100

PX4-v1

TEMP9_RTD_NOM

Nominal RTD resistance

Nominal RTD resistance used to calculate temperature, typically 100 or 1000 ohms.

User level

Standard

TEMP9_RTD_REF

RTD reference resistance

Reference resistance used to calculate temperature, in ohms

User level

Standard

TEMP9_SRC

Sensor Source

Sensor Source is used to designate which device’s temperature report will be replaced by this temperature sensor’s data. If 0 (None) then the data is only available via log. In the future a new Motor temperature report will be created for returning data directly.

User level

Standard

Values

Value

Meaning

0

None

1

ESC

2

Motor

3

Battery Index

4

Battery ID/SerialNumber

5

CAN based Pitot tube

6

DroneCAN-out on AP_Periph

7

Servo motor

8

Servo PCB

TEMP9_SRC_ID

Sensor Source Identification

Sensor Source Identification is used to replace a specific instance of a system component’s temperature report with the temp sensor’s. Examples: TEMP_SRC = 1 (ESC), TEMP_SRC_ID = 1 will set the temp of ESC1. TEMP_SRC = 3 (BatteryIndex),TEMP_SRC_ID = 2 will set the temp of BATT2. TEMP_SRC = 4 (BatteryId/SerialNum),TEMP_SRC_ID=42 will set the temp of all batteries that have param BATTn_SERIAL = 42.

TEMP9_TYPE

Temperature Sensor Type

Enables temperature sensors

Reboot required

Yes — the change takes effect after a reboot.

User level

Standard

Values

Value

Meaning

0

Disabled

1

TSYS01

2

MCP9600

3

MAX31865 2 or 4 wire

4

TSYS03

5

Analog

6

DroneCAN

7

MLX90614

8

SHT3x

9

MAX31865 3 wire

10

TMP119