Hi,
I'm trying using a thermistor not on the list normally used (here: [
reprap.org])
I have the data sheet (http://reprap.org/wiki/Thermistor). ) and know the beta value to be 4267
I'm an absolute python newbie. I downloaded it and got it to run but when I run the thermistor table calculator script the output I get implies I'm not kicking off the command properly. (Script is here: [
reprap.svn.sourceforge.net])
I'm typing in:
"createTemperatureLookup.py –-r0=10000 --t0=25 --beta=4267 --r1=0 --r2=4700 --num-temps=20 --max-adc=1023"
and getting:
// Thermistor lookup table for RepRap Temperature Sensor Boards (http://make.rrrf.org/ts)
// Made with createTemperatureLookup.py (http://svn.reprap.org/trunk/reprap/firmware/Arduino/utilities/createTemperatureLookup.py)
// ./createTemperatureLookup.py --r0=10000 --t0=25 --r1=680 --r2=1600 --beta=3947 --max-adc=305
// r0: 10000
// t0: 25
// r1: 680
// r2: 1600
// beta: 3947
// max adc: 305
#define NUMTEMPS 19
short temptable[NUMTEMPS][2] = {
{1, 608},
{17, 262},
{33, 215},
{49, 188},
{65, 170},
{81, 156},
{97, 145},
{113, 135},
{129, 126},
{145, 117},
{161, 109},
{177, 102},
{193, 94},
{209, 86},
{225, 78},
{241, 69},
{257, 59},
{273, 47},
{289, 28}
As you can see, the output bears no relation to the options I have on the command line
I imagine I'm doing something stupid with the command line syntax (should I put 2 "-"s in?, should I put the "=" in?, etc). I looked in beginners python material but think my question/mistake may be just too basic/obvious to be considered worth noting
Also, once I do get a new thermistor table - How to I change the arduino files to make it take notice? (e.g. add the table to "Temperature.h" and change something in "Configuration.h"???). I'm using Gen6 electronics.
Apologies if this is a particularly stupid question
Pete