🐛 Redundant Temp Sensor followup (#22196)
This commit is contained in:
committed by
Scott Lahteine
parent
ee54cd4bd7
commit
5054dc6ea2
@ -133,11 +133,11 @@
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -73,6 +73,19 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// CS, MISO, MOSI, and SCK for MAX Thermocouple SPI
|
||||
#if HAS_MAX_TC
|
||||
//#define TEMP_0_CS_PIN P...
|
||||
//#define TEMP_0_MISO_PIN P...
|
||||
//#define TEMP_0_MOSI_PIN P...
|
||||
//#define TEMP_0_SCK_PIN P...
|
||||
|
||||
//#define TEMP_1_CS_PIN P...
|
||||
//#define TEMP_1_MISO_PIN P...
|
||||
//#define TEMP_1_MOSI_PIN P...
|
||||
//#define TEMP_1_SCK_PIN P...
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
|
@ -248,8 +248,8 @@
|
||||
|
||||
#define PS_ON_PIN P2_12 // (12)
|
||||
|
||||
#if !defined(MAX6675_SS_PIN) && DISABLED(USE_ZMAX_PLUG)
|
||||
#define MAX6675_SS_PIN P1_28
|
||||
#if !defined(TEMP_0_CS_PIN) && DISABLED(USE_ZMAX_PLUG)
|
||||
#define TEMP_0_CS_PIN P1_28
|
||||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENA_PIN)
|
||||
|
@ -72,17 +72,17 @@
|
||||
#define TEMP_BED_PIN 15 // Analog Input
|
||||
|
||||
// Extruder thermocouples 0 and 1 are read out by two separate ICs using
|
||||
// SPI for Max6675 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
// Uses a separate SPI bus
|
||||
#define THERMO_SCK_PIN 78 // E2 - SCK
|
||||
#define THERMO_DO_PIN 3 // E5 - DO
|
||||
#define THERMO_CS1_PIN 5 // E3 - CS0
|
||||
#define THERMO_CS2_PIN 2 // E4 - CS1
|
||||
#define TEMP_0_CS_PIN 5 // E3 - CS0
|
||||
#define TEMP_0_SCK_PIN 78 // E2 - SCK
|
||||
#define TEMP_0_MISO_PIN 3 // E5 - MISO
|
||||
//#define TEMP_0_MOSI_PIN ... // For MAX31865
|
||||
|
||||
#define MAX6675_SS_PIN THERMO_CS1_PIN
|
||||
#define MAX6675_SS2_PIN THERMO_CS2_PIN
|
||||
#define MAX6675_SCK_PIN THERMO_SCK_PIN
|
||||
#define MAX6675_DO_PIN THERMO_DO_PIN
|
||||
#define TEMP_1_CS_PIN 2 // E4 - CS1
|
||||
#define TEMP_1_SCK_PIN TEMP_0_SCK_PIN
|
||||
#define TEMP_1_MISO_PIN TEMP_0_MISO_PIN
|
||||
//#define TEMP_1_MOSI_PIN TEMP_0_MOSI_PIN
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -125,7 +125,7 @@
|
||||
// K7 - 69 / ADC15 - 15
|
||||
#define TEMP_BED_PIN 15
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
// Uses a separate SPI bus
|
||||
//
|
||||
// 3 E5 DO (SO)
|
||||
@ -133,15 +133,15 @@
|
||||
// 2 E4 CS2
|
||||
// 78 E2 SCK
|
||||
//
|
||||
#define THERMO_SCK_PIN 78 // E2
|
||||
#define THERMO_DO_PIN 3 // E5
|
||||
#define THERMO_CS1_PIN 5 // E3
|
||||
#define THERMO_CS2_PIN 2 // E4
|
||||
#define TEMP_0_CS_PIN 5 // E3
|
||||
#define TEMP_0_SCK_PIN 78 // E2
|
||||
#define TEMP_0_MISO_PIN 3 // E5
|
||||
//#define TEMP_0_MOSI_PIN ... // For MAX31865
|
||||
|
||||
#define MAX6675_SS_PIN THERMO_CS1_PIN
|
||||
#define MAX6675_SS2_PIN THERMO_CS2_PIN
|
||||
#define MAX6675_SCK_PIN THERMO_SCK_PIN
|
||||
#define MAX6675_DO_PIN THERMO_DO_PIN
|
||||
#define TEMP_1_CS_PIN 2 // E4
|
||||
#define TEMP_1_SCK_PIN TEMP_0_SCK_PIN
|
||||
#define TEMP_1_MISO_PIN TEMP_0_MISO_PIN
|
||||
//#define TEMP_1_MOSI_PIN TEMP_0_MOSI_PIN
|
||||
|
||||
//
|
||||
// Augmentation for auto-assigning plugs
|
||||
|
@ -118,11 +118,11 @@
|
||||
|
||||
#define SSR_PIN 6
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -760,17 +760,29 @@
|
||||
#if PIN_EXISTS(LED_RED)
|
||||
REPORT_NAME_DIGITAL(__LINE__, LED_RED_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(MAX6675_DO)
|
||||
REPORT_NAME_DIGITAL(__LINE__, MAX6675_DO_PIN)
|
||||
#if PIN_EXISTS(TEMP_0_CS)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_0_CS_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(MAX6675_SCK)
|
||||
REPORT_NAME_DIGITAL(__LINE__, MAX6675_SCK_PIN)
|
||||
#if PIN_EXISTS(TEMP_0_SCK)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_0_SCK_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(MAX6675_SS)
|
||||
REPORT_NAME_DIGITAL(__LINE__, MAX6675_SS_PIN)
|
||||
#if PIN_EXISTS(TEMP_0_MOSI)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_0_MOSI_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(MAX6675_SS2)
|
||||
REPORT_NAME_DIGITAL(__LINE__, MAX6675_SS2_PIN)
|
||||
#if PIN_EXISTS(TEMP_0_MISO)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_0_MISO_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(TEMP_1_CS)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_1_CS_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(TEMP_1_SCK)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_1_SCK_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(TEMP_1_MOSI)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_1_MOSI_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(TEMP_1_MISO)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TEMP_1_MISO_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(MAX7219_CLK)
|
||||
REPORT_NAME_DIGITAL(__LINE__, MAX7219_CLK_PIN)
|
||||
@ -1010,18 +1022,6 @@
|
||||
#if PIN_EXISTS(SUICIDE)
|
||||
REPORT_NAME_DIGITAL(__LINE__, SUICIDE_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(THERMO_CS1)
|
||||
REPORT_NAME_DIGITAL(__LINE__, THERMO_CS1_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(THERMO_CS2)
|
||||
REPORT_NAME_DIGITAL(__LINE__, THERMO_CS2_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(THERMO_DO)
|
||||
REPORT_NAME_DIGITAL(__LINE__, THERMO_DO_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(THERMO_SCK)
|
||||
REPORT_NAME_DIGITAL(__LINE__, THERMO_SCK_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(TLC_BLANK)
|
||||
REPORT_NAME_DIGITAL(__LINE__, TLC_BLANK_PIN)
|
||||
#endif
|
||||
|
@ -171,10 +171,10 @@
|
||||
#define SPINDLE_DIR_PIN 32
|
||||
|
||||
//
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
//
|
||||
#ifndef MAX6675_SS_PIN
|
||||
#define MAX6675_SS_PIN 32 // SPINDLE_DIR_PIN / STAT_LED_BLUE_PIN
|
||||
#ifndef TEMP_0_CS_PIN
|
||||
#define TEMP_0_CS_PIN 32 // SPINDLE_DIR_PIN / STAT_LED_BLUE_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -114,11 +114,11 @@
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -111,11 +111,11 @@
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 3 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -111,11 +111,11 @@
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -167,10 +167,10 @@
|
||||
#endif
|
||||
|
||||
//
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
//
|
||||
#ifndef MAX6675_SS_PIN
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card (SDSS) or 49 (SD_DETECT_PIN)
|
||||
#ifndef TEMP_0_CS_PIN
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card (SDSS) or 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -74,11 +74,11 @@
|
||||
#define TEMP_0_PIN 2 // Analog Input
|
||||
#define TEMP_BED_PIN 1 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -75,12 +75,12 @@
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
#define TEMP_BED_PIN 15 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#undef MAX6675_SS_PIN
|
||||
// SPI for MAX Thermocouple
|
||||
#undef TEMP_0_CS_PIN
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
|
||||
#define TEMP_0_CS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
|
||||
#define TEMP_0_CS_PIN 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -123,11 +123,11 @@
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN -1 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN -1 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN -1 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN -1 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -181,11 +181,11 @@
|
||||
#define TEMP_4_PIN 12
|
||||
#endif
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
//#if DISABLED(SDSUPPORT)
|
||||
// #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
// #define TEMP_0_CS_PIN 66 // Don't use 53 if using Display/SD card
|
||||
//#else
|
||||
// #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
// #define TEMP_0_CS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
|
||||
//#endif
|
||||
|
||||
//
|
||||
|
@ -82,11 +82,11 @@
|
||||
#define TEMP_2_PIN 5 // Analog Input (unused)
|
||||
#define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN -1
|
||||
#define TEMP_0_CS_PIN -1
|
||||
#else
|
||||
#define MAX6675_SS_PIN -1
|
||||
#define TEMP_0_CS_PIN -1
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -71,11 +71,11 @@
|
||||
#define TEMP_2_PIN 5 // Analog Input (OnBoard thermistor beta 3950)
|
||||
#define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53
|
||||
#define TEMP_0_CS_PIN 53
|
||||
#else
|
||||
#define MAX6675_SS_PIN 53
|
||||
#define TEMP_0_CS_PIN 53
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -179,11 +179,11 @@
|
||||
#define TEMP_4_PIN 5 // dummy so will compile when PINS_DEBUGGING is enabled
|
||||
#define TEMP_BED_PIN 4 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53
|
||||
#define TEMP_0_CS_PIN 53
|
||||
#else
|
||||
#define MAX6675_SS_PIN 49
|
||||
#define TEMP_0_CS_PIN 49
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -60,12 +60,12 @@
|
||||
#undef TEMP_BED_PIN
|
||||
#define TEMP_BED_PIN 10 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#undef MAX6675_SS_PIN
|
||||
// SPI for MAX Thermocouple
|
||||
#undef TEMP_0_CS_PIN
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 69 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 69 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 69 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 69 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -109,11 +109,11 @@
|
||||
#define TEMP_2_PIN 3 // Analog Input
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53
|
||||
#define TEMP_0_CS_PIN 53
|
||||
#else
|
||||
#define MAX6675_SS_PIN 49
|
||||
#define TEMP_0_CS_PIN 49
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -94,12 +94,12 @@
|
||||
#undef TEMP_BED_PIN
|
||||
#define TEMP_BED_PIN 11 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#undef MAX6675_SS_PIN
|
||||
// SPI for MAX Thermocouple
|
||||
#undef TEMP_0_CS_PIN
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 67 // Don't use 53 if using Display/SD card
|
||||
#define TEMP_0_CS_PIN 67 // Don't use 53 if using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 67 // Don't use 49 (SD_DETECT_PIN)
|
||||
#define TEMP_0_CS_PIN 67 // Don't use 49 (SD_DETECT_PIN)
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -156,12 +156,12 @@
|
||||
#define TEMP_5_PIN 6 // A6 (Marlin 2.0 not support)
|
||||
#endif
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
/*
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53
|
||||
#define TEMP_0_CS_PIN 53
|
||||
#else
|
||||
#define MAX6675_SS_PIN 49
|
||||
#define TEMP_0_CS_PIN 49
|
||||
#endif
|
||||
*/
|
||||
|
||||
|
@ -142,12 +142,12 @@
|
||||
#define TEMP_5_PIN 6 // A6 (Marlin 2.0 not support)
|
||||
#endif
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
/*
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53
|
||||
#define TEMP_0_CS_PIN 53
|
||||
#else
|
||||
#define MAX6675_SS_PIN 49
|
||||
#define TEMP_0_CS_PIN 49
|
||||
#endif
|
||||
*/
|
||||
|
||||
|
@ -149,12 +149,11 @@
|
||||
#define SD_MISO_PIN 74
|
||||
#define SD_MOSI_PIN 75
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#define MAX6675_SS_PIN 65
|
||||
#define MAX31855_SS0 65
|
||||
#define MAX31855_SS1 52
|
||||
#define MAX31855_SS2 50
|
||||
#define MAX31855_SS3 51
|
||||
// SPI for MAX Thermocouple
|
||||
#define TEMP_0_CS_PIN 65
|
||||
#define TEMP_1_CS_PIN 52
|
||||
#define TEMP_2_CS_PIN 50
|
||||
#define TEMP_3_CS_PIN 51
|
||||
|
||||
#define ENC424_SS 61
|
||||
|
||||
|
@ -100,10 +100,10 @@
|
||||
//#define TEMP_0_PIN PB3 // E0 K+
|
||||
#define TEMP_BED_PIN PF7 // THERM_BED
|
||||
|
||||
#define MAX6675_SS_PIN PB5
|
||||
#define MAX6675_SCK_PIN PB3
|
||||
#define MAX6675_DO_PIN PB4
|
||||
#define MAX6675_MOSI_PIN PA14
|
||||
#define TEMP_0_CS_PIN PB5
|
||||
#define TEMP_0_SCK_PIN PB3
|
||||
#define TEMP_0_MISO_PIN PB4
|
||||
#define TEMP_0_MOSI_PIN PA14
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -121,8 +121,8 @@
|
||||
//
|
||||
// Thermocouples
|
||||
//
|
||||
//#define MAX6675_SS_PIN PE5 // TC1 - CS1
|
||||
//#define MAX6675_SS_PIN PE6 // TC2 - CS2
|
||||
//#define TEMP_0_CS_PIN PE5 // TC1 - CS1
|
||||
//#define TEMP_0_CS_PIN PE6 // TC2 - CS2
|
||||
|
||||
//
|
||||
// Filament runout sensor
|
||||
|
@ -124,8 +124,8 @@
|
||||
//
|
||||
// Thermocouples
|
||||
//
|
||||
//#define MAX6675_SS_PIN PE5 // TC1 - CS1
|
||||
//#define MAX6675_SS_PIN PE6 // TC2 - CS2
|
||||
//#define TEMP_0_CS_PIN PE5 // TC1 - CS1
|
||||
//#define TEMP_0_CS_PIN PE6 // TC2 - CS2
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -188,8 +188,8 @@
|
||||
//
|
||||
// Thermocouples
|
||||
//
|
||||
//#define MAX6675_SS_PIN PE5 // TC1 - CS1
|
||||
//#define MAX6675_SS_PIN PE6 // TC2 - CS2
|
||||
//#define TEMP_0_CS_PIN PE5 // TC1 - CS1
|
||||
//#define TEMP_0_CS_PIN PE6 // TC2 - CS2
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -175,8 +175,8 @@
|
||||
/**
|
||||
* Note: MKS Robin Pro board is using SPI2 interface. Make sure your stm32duino library is configured accordingly
|
||||
*/
|
||||
//#define MAX6675_SS_PIN PE5 // TC1 - CS1
|
||||
//#define MAX6675_SS_PIN PF11 // TC2 - CS2
|
||||
//#define TEMP_0_CS_PIN PE5 // TC1 - CS1
|
||||
//#define TEMP_0_CS_PIN PF11 // TC2 - CS2
|
||||
|
||||
#define POWER_LOSS_PIN PA2 // PW_DET
|
||||
#define PS_ON_PIN PG11 // PW_OFF
|
||||
|
@ -298,19 +298,19 @@
|
||||
|
||||
#define TEMP_BED_PIN PC0 // T0 <-> Bed
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
// SPI for MAX Thermocouple
|
||||
// Uses a separate SPI bus
|
||||
// If you have a two-way thermocouple, you can customize two THERMO_CSx_PIN pins (x:1~2)
|
||||
// If you have a two-way thermocouple, you can customize two TEMP_x_CS_PIN pins (x:0~1)
|
||||
|
||||
#define THERMO_SCK_PIN PI1 // SCK
|
||||
#define THERMO_DO_PIN PI2 // MISO
|
||||
#define THERMO_CS1_PIN PH9 // GTR K-TEMP
|
||||
#define THERMO_CS2_PIN PH2 // M5 K-TEMP
|
||||
#define TEMP_0_CS_PIN PH9 // GTR K-TEMP
|
||||
#define TEMP_0_SCK_PIN PI1 // SCK
|
||||
#define TEMP_0_MISO_PIN PI2 // MISO
|
||||
//#define TEMP_0_MOSI_PIN ... // For MAX31865
|
||||
|
||||
#define MAX6675_SS_PIN THERMO_CS1_PIN
|
||||
#define MAX6675_SS2_PIN THERMO_CS2_PIN
|
||||
#define MAX6675_SCK_PIN THERMO_SCK_PIN
|
||||
#define MAX6675_DO_PIN THERMO_DO_PIN
|
||||
#define TEMP_1_CS_PIN PH2 // M5 K-TEMP
|
||||
#define TEMP_1_SCK_PIN TEMP_0_SCK_PIN
|
||||
#define TEMP_1_MISO_PIN TEMP_0_MISO_PIN
|
||||
//#define TEMP_1_MOSI_PIN TEMP_0_MOSI_PIN
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -104,16 +104,16 @@
|
||||
// MAX6675 Cold-Junction-Compensated K-Thermocouple to Digital Converter (0°C to +1024°C)
|
||||
// https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
|
||||
|
||||
#define MAX6675_SCK_PIN PB3 // max6675 datasheet: SCK pin, found with multimeter, not tested
|
||||
#define MAX6675_DO_PIN PB4 // max6675 datasheet: SO pin, found with multimeter, not tested
|
||||
#define MAX6675_SS_PIN PC4 // max6675 datasheet: /CS pin, found with multimeter, not tested and likely wrong
|
||||
#define TEMP_0_CS_PIN PC4 // max6675 datasheet: /CS pin, found with multimeter, not tested and likely wrong
|
||||
#define TEMP_0_SCK_PIN PB3 // max6675 datasheet: SCK pin, found with multimeter, not tested
|
||||
#define TEMP_0_MISO_PIN PB4 // max6675 datasheet: SO pin, found with multimeter, not tested
|
||||
|
||||
// Expansion board with second max6675
|
||||
// Warning: Some boards leave the slot unpopulated.
|
||||
|
||||
//#define MAX6675_SCK2_PIN PB3 // max6675 datasheet: SCK pin, found with multimeter, not tested
|
||||
//#define MAX6675_DO2_PIN PB4 // max6675 datasheet: SO pin, found with multimeter, not tested
|
||||
//#define MAX6675_SS2_PIN PF1 // max6675 datasheet: /CS pin, found with multimeter, not tested
|
||||
//#define TEMP_1_CS_PIN PF1 // max6675 datasheet: /CS pin, found with multimeter, not tested
|
||||
//#define TEMP_1_SCK_PIN PB3 // max6675 datasheet: SCK pin, found with multimeter, not tested
|
||||
//#define TEMP_1_MISO_PIN PB4 // max6675 datasheet: SO pin, found with multimeter, not tested
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -172,8 +172,8 @@
|
||||
//
|
||||
// Thermocouples
|
||||
//
|
||||
//#define MAX6675_SS_PIN HEATER_0_PIN // TC1 - CS1
|
||||
//#define MAX6675_SS_PIN HEATER_1_PIN // TC2 - CS2
|
||||
//#define TEMP_0_CS_PIN HEATER_0_PIN // TC1 - CS1
|
||||
//#define TEMP_0_CS_PIN HEATER_1_PIN // TC2 - CS2
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -189,8 +189,8 @@
|
||||
//
|
||||
// Thermocouples
|
||||
//
|
||||
//#define MAX6675_SS_PIN PE5 // TC1 - CS1
|
||||
//#define MAX6675_SS_PIN PE6 // TC2 - CS2
|
||||
//#define TEMP_0_CS_PIN PE5 // TC1 - CS1
|
||||
//#define TEMP_0_CS_PIN PE6 // TC2 - CS2
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
Reference in New Issue
Block a user