Skip to content

Commit 1da85d3

Browse files
committed
4.6:add DroneCAN temp sensor
1 parent c6ddcc3 commit 1da85d3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

common/source/docs/common-temperature-sensor.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ ArduPilot supports up to nine individual temperature sensors:
1616
.. image:: ../../../images/temperature-sensor.jpg
1717
:target: ../_images/temperature-sensor.jpg
1818

19-
ArduPilot already has numerous possible sources for temperature reports: ESCs, Smart Batteries, Motor EFI and these independent sensors can be used to replace those device's temperature reports that already exist in ArduPilot. They can also just be logged.
19+
In addition, analog temperature monitors and DroneCAN based sensors can be used.
20+
21+
ArduPilot already has numerous possible sources for temperature reports: ESCs, Smart Batteries, Motor EFI and these independent sensors can be used to replace those devices temperature reports which already exist in ArduPilot. They can also just be logged.
2022

2123
I2C Sensor Setup
2224
================
@@ -51,6 +53,18 @@ The output voltage vs temperature curve of the sensor can be adjusted to match i
5153
- :ref:`TEMP1_A3<TEMP1_A3>` = a3
5254
- :ref:`TEMP1_A4<TEMP1_A4>` = a4
5355

56+
DroneCAN Setup
57+
==============
58+
59+
Make sure the CAN port is setup. (example below for first CAN port using first driver):
60+
61+
- :ref:`CAN_P1_DRIVER<CAN_P1_DRIVER>` = 1 (First driver)
62+
- :ref:`CAN_D1_PROTOCOL<CAN_D1_PROTOCOL>` = 1 (DroneCAN)
63+
64+
Then set (examples shown for first sensor):
65+
66+
- :ref:`TEMP1_TYPE<TEMP1_TYPE>` = 6 (DroneCAN)
67+
5468
Logging
5569
=======
5670

0 commit comments

Comments
 (0)