WebServer + 3d printer

Dependents:   Nucleo

ThermistorTable.h

Committer:
Sergunb
Date:
2017-02-04
Revision:
0:21b85706ec2f

File content as of revision 0:21b85706ec2f:

#ifndef THERMISTORTABLE_H_
#define THERMISTORTABLE_H_

// Thermistor lookup table
// calculated by hand for 100k thermistor

// r0: 100000
// t0: 25
// r1: 0
// r2: 4700
// beta: 4036
// max adc: 65535
#define NUMTEMPS 30
int temptable[NUMTEMPS][2] = {
   {1, 300},
   {1668, 290},
   {1926, 280},
   {2224, 270},
   {2582, 260},
   {2999, 250},
   {3515, 240},
   {4131, 230},
   {4885, 220},
   {5799, 210},
   {6891, 200},
   {8242, 190},
   {9850, 180},
   {11816, 170},
   {14160, 160},
   {16960, 150},
   {20257, 140},
   {24030, 130},
   {28200, 120},
   {32768, 110},
   {37534, 100},
   {42449, 90},
   {47067, 80},
   {51237, 70},
   {54812, 60},
   {57791, 50},
   {59638, 40},
   {62160, 30},
   {62557, 25},
   {65000, 0},
};



#endif