Marlin with Azteeg X3 and thermocouple sensor October 31, 2013 02:58PM |
Registered: 10 years ago Posts: 1 |
Re: Marlin with Azteeg X3 and thermocouple sensor November 14, 2013 05:16AM |
Registered: 11 years ago Posts: 364 |
Re: Marlin with Azteeg X3 and thermocouple sensor January 01, 2014 02:57PM |
Registered: 10 years ago Posts: 9 |
// Overflow: Set to last value in the table if (i == BEDTEMPTABLE_LEN) celsius = PGM_RD_W(BEDTEMPTABLE[i-1][1]); return celsius; #elif defined BED_USES_AD595 return ((raw * ((5.0 * 100.0) / 1024.0) / OVERSAMPLENR) * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET; #else return 0; #endif }
Re: Marlin with Azteeg X3 and thermocouple sensor January 02, 2014 09:54PM |
Registered: 10 years ago Posts: 9 |
Re: Marlin with Azteeg X3 and thermocouple sensor January 03, 2014 08:45AM |
Registered: 10 years ago Posts: 17 |
Re: Marlin with Azteeg X3 and thermocouple sensor April 12, 2014 07:00PM |
Registered: 11 years ago Posts: 51 |
And change the AS595_GAIN from 1.0 to 2.0Quote
//These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
//The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET"
#define TEMP_SENSOR_AD595_OFFSET 0.0
#define TEMP_SENSOR_AD595_GAIN 2.0 //was 1.0 but changed to 2.0 for the AD8496 chip 4/12/2014
Quote
#define TEMP_0_PIN 11 // ANALOG NUMBERING-was 13 for a thermistor 4/12/2014
Re: Marlin with Azteeg X3 and thermocouple sensor April 20, 2014 04:34PM |
Registered: 11 years ago Posts: 51 |
I think I'm wrong on using pin 13 for the thermocouple. I'm not sure but I think the AD8496 chip might physically be on the shield therefore TC1 (pin 11) and TC2 (pin ?) are the only pins hardwired to the chip.Quote
cncjoe
Lastly, I went to pins.h in Marlin and changed the definition for TEMP_0_PIN from 13 to 11 although I bet since 13 is also analog, I could have just plugged my TC into it and not have had to change the pin definition.
Re: Marlin with Azteeg X3 and thermocouple sensor October 17, 2015 09:06PM |
Registered: 8 years ago Posts: 2 |