|
HF-FDO2 Driver 0.1.0-dev
UART driver for PyroScience FDO2-G2 (data sheet v5 §4: #MOXY, #MRAW, #VERS)
|
Decoded #MRAW O T S D I A P H (data sheet §4.3).
More...
#include <fdo2_types.hpp>
Public Attributes | |
| int32_t | d_raw {} |
| D (m°). | |
| int32_t | i_raw {} |
| I (µV). | |
| int32_t | a_raw {} |
| A (µV). | |
| int32_t | p_raw {} |
| P (µbar at connector / back side). | |
| int32_t | h_raw {} |
| H (mRH). | |
| double | dphi_deg {} |
| D × 10⁻³ degrees. | |
| double | signal_intensity_mv {} |
| I × 10⁻³ mV. | |
| double | ambient_light_mv {} |
| A × 10⁻³ mV. | |
| double | pressure_mbar {} |
| P × 10⁻⁶ mbar (≈ hPa). | |
| double | rh_in_housing_pct {} |
| H × 10⁻³ RH. | |
Public Attributes inherited from fdo2::MoxyReading | |
| int32_t | o_raw {} |
| O as received (1e-3 hPa). | |
| int32_t | t_raw {} |
| T as received (m°C). | |
| uint32_t | status_u32 {} |
| S as received. | |
| double | p_o2_hpa {} |
| Partial pressure O₂ [hPa] = O × 10⁻³. | |
| double | temp_c {} |
| Temperature [°C] = T × 10⁻³. | |
Decoded #MRAW O T S D I A P H (data sheet §4.3).
D millidegrees phase, I and A in microvolts (µV) → divide by 1000 for mV, P in microbar (µbar) → ×10⁻⁶ for mbar, H in milli-RH (mRH) → ×10⁻³ for RH.
| int32_t fdo2::MrawReading::a_raw {} |
A (µV).
| double fdo2::MrawReading::ambient_light_mv {} |
A × 10⁻³ mV.
| int32_t fdo2::MrawReading::d_raw {} |
D (m°).
| double fdo2::MrawReading::dphi_deg {} |
D × 10⁻³ degrees.
| int32_t fdo2::MrawReading::h_raw {} |
H (mRH).
| int32_t fdo2::MrawReading::i_raw {} |
I (µV).
| int32_t fdo2::MrawReading::p_raw {} |
P (µbar at connector / back side).
| double fdo2::MrawReading::pressure_mbar {} |
P × 10⁻⁶ mbar (≈ hPa).
| double fdo2::MrawReading::rh_in_housing_pct {} |
H × 10⁻³ RH.
| double fdo2::MrawReading::signal_intensity_mv {} |
I × 10⁻³ mV.