Sergey Pastor / main

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ThermistorTable.h Source File

ThermistorTable.h

00001 #ifndef THERMISTORTABLE_H_
00002 #define THERMISTORTABLE_H_
00003 
00004 // Thermistor lookup table
00005 // calculated by hand for 100k thermistor
00006 
00007 // r0: 100000
00008 // t0: 25
00009 // r1: 0
00010 // r2: 4700
00011 // beta: 4036
00012 // max adc: 65535
00013 #define NUMTEMPS 30
00014 int temptable[NUMTEMPS][2] = {
00015    {1, 300},
00016    {1668, 290},
00017    {1926, 280},
00018    {2224, 270},
00019    {2582, 260},
00020    {2999, 250},
00021    {3515, 240},
00022    {4131, 230},
00023    {4885, 220},
00024    {5799, 210},
00025    {6891, 200},
00026    {8242, 190},
00027    {9850, 180},
00028    {11816, 170},
00029    {14160, 160},
00030    {16960, 150},
00031    {20257, 140},
00032    {24030, 130},
00033    {28200, 120},
00034    {32768, 110},
00035    {37534, 100},
00036    {42449, 90},
00037    {47067, 80},
00038    {51237, 70},
00039    {54812, 60},
00040    {57791, 50},
00041    {59638, 40},
00042    {62160, 30},
00043    {62557, 25},
00044    {65000, 0},
00045 };
00046 
00047 
00048 
00049 #endif