summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware/ThermistorTable.h
diff options
context:
space:
mode:
authortonokip <tonokip@gmail.com>2010-05-01 16:52:51 -0700
committertonokip <tonokip@gmail.com>2010-05-01 16:52:51 -0700
commitd024fdb1b1c30259dac6b8503bc32405ce32c0dd (patch)
tree4f07382852f86d7a6028069d3ba1f10bb6e57933 /Tonokip_Firmware/ThermistorTable.h
parentefc932a4c077ef798d05d748b4ce9f73afb39764 (diff)
rewrite
Diffstat (limited to 'Tonokip_Firmware/ThermistorTable.h')
-rw-r--r--Tonokip_Firmware/ThermistorTable.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/Tonokip_Firmware/ThermistorTable.h b/Tonokip_Firmware/ThermistorTable.h
new file mode 100644
index 0000000..844b8de
--- /dev/null
+++ b/Tonokip_Firmware/ThermistorTable.h
@@ -0,0 +1,43 @@
+#ifndef THERMISTORTABLE_H_
+#define THERMISTORTABLE_H_
+
+// Thermistor lookup table for RepRap Temperature Sensor Boards (http://make.rrrf.org/ts)
+// See this page:
+// http://dev.www.reprap.org/bin/view/Main/Thermistor
+// for details of what goes in this table.
+// Made with createTemperatureLookup.py (http://svn.reprap.org/trunk/reprap/firmware/Arduino/utilities/createTemperatureLookup.py)
+// ./createTemperatureLookup.py --r0=100000 --t0=25 --r1=0 --r2=4700 --beta=4066 --max-adc=1023
+// r0: 100000
+// t0: 25
+// r1: 0
+// r2: 4700
+// beta: 4066
+// max adc: 1023
+
+#define NUMTEMPS 20
+short temptable[NUMTEMPS][2] = {
+ {1, 841},
+ {54, 255},
+ {107, 209},
+ {160, 184},
+ {213, 166},
+ {266, 153},
+ {319, 142},
+ {372, 132},
+ {425, 124},
+ {478, 116},
+ {531, 108},
+ {584, 101},
+ {637, 93},
+ {690, 86},
+ {743, 78},
+ {796, 70},
+ {849, 61},
+ {902, 50},
+ {955, 34},
+ {1008, 3}
+};
+
+
+#endif
+