NTC_THERMISTOR Driver 0.1.0
API reference
Loading...
Searching...
No Matches
ntc_thermistor_presets.hpp
Go to the documentation of this file.
1
24#ifndef NTC_THERMISTOR_PRESETS_HPP
25#define NTC_THERMISTOR_PRESETS_HPP
26
27#include <array>
28#include <cstdint>
29
31
34
46inline constexpr std::array<TablePoint, 39> kTdkNtcg163jf103ft1sRows{{
47 {.resistance_ohm = 188'500, .temperature_mc = -40'000},
48 {.resistance_ohm = 144'300, .temperature_mc = -35'000},
49 {.resistance_ohm = 111'300, .temperature_mc = -30'000},
50 {.resistance_ohm = 86'600, .temperature_mc = -25'000},
51 {.resistance_ohm = 67'800, .temperature_mc = -20'000},
52 {.resistance_ohm = 53'460, .temperature_mc = -15'000},
53 {.resistance_ohm = 42'450, .temperature_mc = -10'000},
54 {.resistance_ohm = 33'930, .temperature_mc = -5'000},
55 {.resistance_ohm = 27'280, .temperature_mc = 0},
56 {.resistance_ohm = 22'070, .temperature_mc = 5'000},
57 {.resistance_ohm = 17'960, .temperature_mc = 10'000},
58 {.resistance_ohm = 14'700, .temperature_mc = 15'000},
59 {.resistance_ohm = 12'090, .temperature_mc = 20'000},
60 {.resistance_ohm = 10'000, .temperature_mc = 25'000},
61 {.resistance_ohm = 8'310, .temperature_mc = 30'000},
62 {.resistance_ohm = 6'940, .temperature_mc = 35'000},
63 {.resistance_ohm = 5'826, .temperature_mc = 40'000},
64 {.resistance_ohm = 4'911, .temperature_mc = 45'000},
65 {.resistance_ohm = 4'158, .temperature_mc = 50'000},
66 {.resistance_ohm = 3'536, .temperature_mc = 55'000},
67 {.resistance_ohm = 3'019, .temperature_mc = 60'000},
68 {.resistance_ohm = 2'588, .temperature_mc = 65'000},
69 {.resistance_ohm = 2'227, .temperature_mc = 70'000},
70 {.resistance_ohm = 1'924, .temperature_mc = 75'000},
71 {.resistance_ohm = 1'668, .temperature_mc = 80'000},
72 {.resistance_ohm = 1'451, .temperature_mc = 85'000},
73 {.resistance_ohm = 1'267, .temperature_mc = 90'000},
74 {.resistance_ohm = 1'110, .temperature_mc = 95'000},
75 {.resistance_ohm = 975, .temperature_mc = 100'000},
76 {.resistance_ohm = 860, .temperature_mc = 105'000},
77 {.resistance_ohm = 760, .temperature_mc = 110'000},
78 {.resistance_ohm = 674, .temperature_mc = 115'000},
79 {.resistance_ohm = 599, .temperature_mc = 120'000},
80 {.resistance_ohm = 534, .temperature_mc = 125'000},
81 {.resistance_ohm = 478, .temperature_mc = 130'000},
82 {.resistance_ohm = 428, .temperature_mc = 135'000},
83 {.resistance_ohm = 385, .temperature_mc = 140'000},
84 {.resistance_ohm = 346, .temperature_mc = 145'000},
85 {.resistance_ohm = 313, .temperature_mc = 150'000},
86}};
87
93inline constexpr Curve kTdkNtcg163jf103ft1s{
95 .r0_ohm = 10'000,
96 .ref_temperature_mc = 25'000,
97 .b_kelvin = 3'435,
98 .b_t2_mc = 85'000,
99 .r_tol_ppm = 10'000,
100 .b_tol_ppm = 10'000,
101};
102
108inline constexpr Curve kGeneric10kB3950{
109 .table = {},
110 .r0_ohm = 10'000,
111 .ref_temperature_mc = 25'000,
112 .b_kelvin = 3'950,
113 .b_t2_mc = 50'000,
114 .r_tol_ppm = 0,
115 .b_tol_ppm = 0,
116};
117
118} // namespace ntc_thermistor::presets
119
120#endif // NTC_THERMISTOR_PRESETS_HPP
Example curves; see ntc_thermistor_presets.hpp.
Definition ntc_thermistor_presets.hpp:33
constexpr Curve kGeneric10kB3950
The common 10 kOhm / B 3950 class (B25/50), beta mode: typical values of probes and beads,...
Definition ntc_thermistor_presets.hpp:108
constexpr std::array< TablePoint, 39 > kTdkNtcg163jf103ft1sRows
The 39 nominal rows of the TDK NTCG163JF103FT1S, -40 to +150 degC in 5 degC steps.
Definition ntc_thermistor_presets.hpp:46
constexpr Curve kTdkNtcg163jf103ft1s
TDK NTCG163JF103FT1S: R25 10 kOhm +-1 %, B25/85 3435 K +-1 %, table mode. R25, B and both tolerances ...
Definition ntc_thermistor_presets.hpp:93
Public types of the NTC thermistor driver: errors, Result<T>, the curve and the configuration,...
What the thermistor is: a table, Steinhart-Hart coefficients, or R at a reference temperature and the...
Definition ntc_thermistor_types.hpp:256
std::span< const TablePoint > table
Definition ntc_thermistor_types.hpp:262