Skip to content

File BoardThermal.h

FileList > Firmware > Libraries > PowerMonitor > BoardThermal.h

Go to the source code of this file

PDU monitoring node — board temperature from the NTC: warn / critical / sensor fault (#216). More...

  • #include <stdint.h>
  • #include <NodeStatus.h>

Namespaces

Type Name
namespace OpenSkyhawk
Thin wrapper over Adafruit_ADS1115; see ADS1115.h .

Classes

Type Name
class BoardThermal

Detailed Description

Fed a converted reading (0.1 °C, from PduMath::ntcTempDC) roughly every 100 ms. Thresholds use hysteresis only — board temperature moves slowly, so no persistence timers. A FaultSource: critical → OVER_TEMPERATURE, an open/shorted NTC → SENSOR_FAULT. TEMP_WARN is a telemetry flag only, not a node fault.

This is the PDU's real board temperature (±0.5 °C class NTC between the 12 V and 5 V pours). The MCU die temperature in HEALTH_n is a separate, uncalibrated reading.

Note:

Static lifetime only (FaultSource registry rule) — construct as a global.

Copyright:

GPL-2.0-only — see Firmware/LICENSE


The documentation for this class was generated from the following file Firmware/Libraries/PowerMonitor/BoardThermal.h