diff options
author | kliment <kliment.yanev@gmail.com> | 2011-08-18 11:29:10 -0700 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-08-18 11:29:10 -0700 |
commit | 7bb5724e8d93f5ef863fbcf81a3d37f9356dd01e (patch) | |
tree | a6584cfb786cc4313618e3ffc23cd968a80848bd | |
parent | 3372c0f0291ee01c7bf37e9705731f40db931241 (diff) | |
parent | 288e2814576b40a0ff19ebc53d1ec620d253a26a (diff) |
Merge pull request #71 from ParCan/master
ParCan Thermistor table added
-rw-r--r-- | Sprinter/Configuration.h | 1 | ||||
-rw-r--r-- | Sprinter/thermistortables.h | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 0c90136..d5f5460 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -18,6 +18,7 @@ // 2 is 200k thermistor // 3 is mendel-parts thermistor // 4 is 10k thermistor +// 5 is ParCan supplied 104GT-2 100K #define THERMISTORHEATER 1 #define THERMISTORBED 1 diff --git a/Sprinter/thermistortables.h b/Sprinter/thermistortables.h index de9aee6..423605a 100644 --- a/Sprinter/thermistortables.h +++ b/Sprinter/thermistortables.h @@ -157,6 +157,74 @@ short temptable_4[NUMTEMPS_4][2] = { }; #endif +#if (THERMISTORHEATER == 5) || (THERMISTORBED == 5) //100k ParCan thermistor (104GT-2) + +#define NUMTEMPS_5 61 +const short temptable_5[NUMTEMPS_5][2] = { +{1, 713}, +{18, 316}, +{35, 266}, +{52, 239}, +{69, 221}, +{86, 208}, +{103, 197}, +{120, 188}, +{137, 181}, +{154, 174}, +{171, 169}, +{188, 163}, +{205, 159}, +{222, 154}, +{239, 150}, +{256, 147}, +{273, 143}, +{290, 140}, +{307, 136}, +{324, 133}, +{341, 130}, +{358, 128}, +{375, 125}, +{392, 122}, +{409, 120}, +{426, 117}, +{443, 115}, +{460, 112}, +{477, 110}, +{494, 108}, +{511, 106}, +{528, 103}, +{545, 101}, +{562, 99}, +{579, 97}, +{596, 95}, +{613, 92}, +{630, 90}, +{647, 88}, +{664, 86}, +{681, 84}, +{698, 81}, +{715, 79}, +{732, 77}, +{749, 75}, +{766, 72}, +{783, 70}, +{800, 67}, +{817, 64}, +{834, 61}, +{851, 58}, +{868, 55}, +{885, 52}, +{902, 48}, +{919, 44}, +{936, 40}, +{953, 34}, +{970, 28}, +{987, 20}, +{1004, 8}, +{1021, 0} +}; +#endif + #if THERMISTORHEATER == 1 #define NUMTEMPS NUMTEMPS_1 #define temptable temptable_1 @@ -169,6 +237,9 @@ short temptable_4[NUMTEMPS_4][2] = { #elif THERMISTORHEATER == 4 #define NUMTEMPS NUMTEMPS_4 #define temptable temptable_4 +#elif THERMISTORHEATER == 5 +#define NUMTEMPS NUMTEMPS_5 +#define temptable temptable_5 #elif defined HEATER_USES_THERMISTOR #error No heater thermistor table specified #endif @@ -184,8 +255,12 @@ short temptable_4[NUMTEMPS_4][2] = { #elif THERMISTORBED == 4 #define BNUMTEMPS NUMTEMPS_4 #define bedtemptable temptable_4 +#elif THERMISTORBED == 5 +#define BNUMTEMPS NUMTEMPS_5 +#define bedtemptable temptable_5 #elif defined BED_USES_THERMISTOR #error No bed thermistor table specified #endif #endif //THERMISTORTABLES_H_ + |