AtlasScientificRTD.h file
Contains the AtlasScientificRTD subclass of the AtlasParent sensor class along with the variable subclass AtlasScientificRTD_
- Reference
-
Detailed Descriptions
These are used for any sensor attached to an Atlas EZO RTD circuit.
Classes
- class AtlasScientificRTD
- The Sensor sub-class for the Atlas Scientific RTD temperature sensor.
- class AtlasScientificRTD_Temp
- The Variable sub-class used for the temperature output from an Atlas Scientific RTD temperature sensor.
Defines
- #define ATLAS_RTD_I2C_ADDR = 0x66
- Default I2C address is 0x66 (102)
- #define ATLAS_RTD_NUM_VARIABLES = 1
- Sensor::
_numReturnedValues; the Atlas EZO temperature circuit can report 1 value. - #define ATLAS_RTD_INC_CALC_VARIABLES = 0
- Sensor::
_incCalcValues; we don't calculate any additional values.
Sensor Timing
The sensor timing for an Atlas RTD (temperature) sensor
- #define ATLAS_RTD_WARM_UP_TIME_MS = 740
- Sensor::
_warmUpTime_ms; the Atlas EZO temperature circuit warms up in 740ms. - #define ATLAS_RTD_STABILIZATION_TIME_MS = 0
- Sensor::
_stabilizationTime_ms; the Atlas EZO temperature circuit is stable 0ms after warm-up (stable at completion of warm up). - #define ATLAS_RTD_MEASUREMENT_TIME_MS = 650
- Sensor::
_measurementTime_ms; the Atlas EZO temperature circuit takes 650ms to complete a measurement.
Temperature
The temperature variable from an Atlas RTD (temperature) sensor
- Accuracy is ± (0.10°C + 0.0017 x °C)
- Range is -126°C − 125°C
Construct a new AtlasScientificRTD_
AtlasScientificRTD_Temp(AtlasScientificRTD* parentSense,
const char* uuid = "",
const char* varCode = ATLAS_
Parameters
parentSense
The parent AtlasScientificRTD providing the result values.
uuid
A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode
A short code to help identify the variable in files; optional with a default value of "AtlasTemp".
- #define ATLAS_RTD_RESOLUTION = 3
- Decimals places in string representation; temperature should have 3 - resolution is 0.001°C.
- #define ATLAS_RTD_VAR_NUM = 0
- Sensor variable number; RTD is stored in sensorValues[0].
- #define ATLAS_RTD_VAR_NAME = "temperature"
- Variable name in ODM2 controlled vocabulary; "temperature".
- #define ATLAS_RTD_UNIT_NAME = "degreeCelsius"
- Variable unit name in ODM2 controlled vocabulary; "degreeCelsius" (°C)
- #define ATLAS_RTD_DEFAULT_CODE = "AtlasTemp"
- Default variable short code; "AtlasTemp".