mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Updated NTC lookup
This commit is contained in:
committed by
Ben V. Brown
parent
442dbd982e
commit
44f57acd19
@@ -31,52 +31,44 @@ void resetWatchdog() {
|
|||||||
// Stored as ADCReading,Temp in degC
|
// Stored as ADCReading,Temp in degC
|
||||||
static const int32_t NTCHandleLookup[] = {
|
static const int32_t NTCHandleLookup[] = {
|
||||||
// ADC Reading , Temp in C x10
|
// ADC Reading , Temp in C x10
|
||||||
|
// Based on NTCG163JF103FTDS thermocouple datasheet values,
|
||||||
3221, -400, //
|
// arranged in a voltage divider configuration, with the NTC
|
||||||
4144, -350, //
|
// pulling up towards 3.3V, and with a 10k 1% pull-down resistor.
|
||||||
5271, -300, //
|
// ADC Reading = 3.3V * 10 / (10 + TypkOhm) / 3.2V * (2 ^ 16)
|
||||||
6622, -250, //
|
3405, -400, //
|
||||||
8219, -200, //
|
4380, -350, //
|
||||||
10075, -150, //
|
5572, -300, //
|
||||||
12190, -100, //
|
6999, -250, //
|
||||||
14554, -50, //
|
8688, -200, //
|
||||||
17151, 0, //
|
10650, -150, //
|
||||||
19937, 50, //
|
12885, -100, //
|
||||||
22867, 100, //
|
15384, -50, //
|
||||||
25886, 150, //
|
18129, 0, //
|
||||||
28944, 200, //
|
21074, 50, //
|
||||||
29546, 210, //
|
24172, 100, //
|
||||||
30159, 220, //
|
27362, 150, //
|
||||||
30769, 230, //
|
30595, 200, //
|
||||||
31373, 240, //
|
33792, 250, //
|
||||||
31969, 250, //
|
36907, 300, //
|
||||||
32566, 260, //
|
39891, 350, //
|
||||||
33159, 270, //
|
42704, 400, //
|
||||||
33749, 280, //
|
45325, 450, //
|
||||||
34334, 290, //
|
47736, 500, //
|
||||||
34916, 300, //
|
49929, 550, //
|
||||||
35491, 310, //
|
51912, 600, //
|
||||||
36062, 320, //
|
53689, 650, //
|
||||||
36628, 330, //
|
55274, 700, //
|
||||||
37186, 340, //
|
56679, 750, //
|
||||||
37739, 350, //
|
57923, 800, //
|
||||||
38286, 360, //
|
59020, 850, //
|
||||||
38825, 370, //
|
59984, 900, //
|
||||||
39358, 380, //
|
60832, 950, //
|
||||||
39884, 390, //
|
61580, 1000, //
|
||||||
40400, 400, //
|
62232, 1050, //
|
||||||
42879, 450, //
|
62810, 1100, //
|
||||||
45160, 500, //
|
63316, 1150, //
|
||||||
47235, 550, //
|
63765, 1200, //
|
||||||
49111, 600, //
|
64158, 1250, //
|
||||||
50792, 650, //
|
|
||||||
52292, 700, //
|
|
||||||
53621, 750, //
|
|
||||||
54797, 800, //
|
|
||||||
55836, 850, //
|
|
||||||
56748, 900, //
|
|
||||||
57550, 950, //
|
|
||||||
58257, 1000, //
|
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user