diff options
author | kliment <kliment.yanev@gmail.com> | 2011-07-12 15:24:09 +0200 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-07-12 15:24:09 +0200 |
commit | 02566cc007ed8d460e34226c9542282c3e260605 (patch) | |
tree | 8a690439deea4cba3dbcd6fde2b94df5ea75c069 /Sprinter | |
parent | 331653b519f052958cc553c6b9d0a97ee62a0658 (diff) |
Add 10k thermistor
Diffstat (limited to 'Sprinter')
-rw-r--r-- | Sprinter/Configuration.h | 1 | ||||
-rw-r--r-- | Sprinter/thermistortables.h | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 319c839..a9cb67f 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -15,6 +15,7 @@ // 1 is 100k thermistor // 2 is 200k thermistor // 3 is mendel-parts thermistor +// 4 is 10k thermistor #define THERMISTORHEATER 1 #define THERMISTORBED 1 diff --git a/Sprinter/thermistortables.h b/Sprinter/thermistortables.h index 6c583af..de9aee6 100644 --- a/Sprinter/thermistortables.h +++ b/Sprinter/thermistortables.h @@ -130,6 +130,32 @@ const short temptable_3[NUMTEMPS_3][2] = { }; #endif +#if (THERMISTORHEATER == 4) || (THERMISTORBED == 4) //10k thermistor + +#define NUMTEMPS_4 20 +short temptable_4[NUMTEMPS_4][2] = { + {1, 430}, + {54, 137}, + {107, 107}, + {160, 91}, + {213, 80}, + {266, 71}, + {319, 64}, + {372, 57}, + {425, 51}, + {478, 46}, + {531, 41}, + {584, 35}, + {637, 30}, + {690, 25}, + {743, 20}, + {796, 14}, + {849, 7}, + {902, 0}, + {955, -11}, + {1008, -35} +}; +#endif #if THERMISTORHEATER == 1 #define NUMTEMPS NUMTEMPS_1 @@ -140,6 +166,9 @@ const short temptable_3[NUMTEMPS_3][2] = { #elif THERMISTORHEATER == 3 #define NUMTEMPS NUMTEMPS_3 #define temptable temptable_3 +#elif THERMISTORHEATER == 4 +#define NUMTEMPS NUMTEMPS_4 +#define temptable temptable_4 #elif defined HEATER_USES_THERMISTOR #error No heater thermistor table specified #endif @@ -152,6 +181,9 @@ const short temptable_3[NUMTEMPS_3][2] = { #elif THERMISTORBED == 3 #define BNUMTEMPS NUMTEMPS_3 #define bedtemptable temptable_3 +#elif THERMISTORBED == 4 +#define BNUMTEMPS NUMTEMPS_4 +#define bedtemptable temptable_4 #elif defined BED_USES_THERMISTOR #error No bed thermistor table specified #endif |