Format some pins files

This commit is contained in:
Scott Lahteine 2020-03-21 21:13:19 -05:00 committed by Scott Lahteine
parent 9340a33980
commit 2c325c2a7d
174 changed files with 9635 additions and 9668 deletions

View file

@ -42,49 +42,49 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 34 #define X_MIN_PIN 34
#define Y_MIN_PIN 35 #define Y_MIN_PIN 35
#define Z_MIN_PIN 16 // 15 #define Z_MIN_PIN 16 // 15
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 12 // 34//27 #define X_STEP_PIN 12 // 34//27
#define X_DIR_PIN 13 // 35//26 #define X_DIR_PIN 13 // 35//26
#define X_ENABLE_PIN 17 // 0//17//25 // used free pin #define X_ENABLE_PIN 17 // 0//17//25 // used free pin
//#define X_CS_PIN 0 //#define X_CS_PIN 0
#define Y_STEP_PIN 32 // 33 #define Y_STEP_PIN 32 // 33
#define Y_DIR_PIN 33 // 32 #define Y_DIR_PIN 33 // 32
#define Y_ENABLE_PIN X_ENABLE_PIN #define Y_ENABLE_PIN X_ENABLE_PIN
//#define Y_CS_PIN 13 //#define Y_CS_PIN 13
#define Z_STEP_PIN 25 // 14 #define Z_STEP_PIN 25 // 14
#define Z_DIR_PIN 26 // 12 #define Z_DIR_PIN 26 // 12
#define Z_ENABLE_PIN X_ENABLE_PIN #define Z_ENABLE_PIN X_ENABLE_PIN
//#define Z_CS_PIN 5 // SS_PIN //#define Z_CS_PIN 5 // SS_PIN
#define E0_STEP_PIN 27 // 16 #define E0_STEP_PIN 27 // 16
#define E0_DIR_PIN 14 // 17 #define E0_DIR_PIN 14 // 17
#define E0_ENABLE_PIN X_ENABLE_PIN #define E0_ENABLE_PIN X_ENABLE_PIN
//#define E0_CS_PIN 21 //#define E0_CS_PIN 21
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 36 // Analog Input #define TEMP_0_PIN 36 // Analog Input
#define TEMP_BED_PIN 39 // Analog Input #define TEMP_BED_PIN 39 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 // 4//2//(D8) #define HEATER_0_PIN 2 // 4//2//(D8)
#define FAN_PIN 0 // 2//15//13 (D9) #define FAN_PIN 0 // 2//15//13 (D9)
#define HEATER_BED_PIN 15 // 15//0 //(D10) #define HEATER_BED_PIN 15 // 15//0 //(D10)
// SPI // SPI
#define SDSS 5 #define SDSS 5
#define I2S_STEPPER_STREAM #define I2S_STEPPER_STREAM
#define I2S_WS 23 #define I2S_WS 23
#define I2S_BCK 22 #define I2S_BCK 22
#define I2S_DATA 21 #define I2S_DATA 21

View file

@ -35,52 +35,52 @@
// I2S (steppers & other output-only pins) // I2S (steppers & other output-only pins)
// //
#define I2S_STEPPER_STREAM #define I2S_STEPPER_STREAM
#define I2S_WS 25 #define I2S_WS 25
#define I2S_BCK 26 #define I2S_BCK 26
#define I2S_DATA 27 #define I2S_DATA 27
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 34 #define X_MIN_PIN 34
#define Y_MIN_PIN 35 #define Y_MIN_PIN 35
#define Z_MIN_PIN 15 #define Z_MIN_PIN 15
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 128 #define X_STEP_PIN 128
#define X_DIR_PIN 129 #define X_DIR_PIN 129
#define X_ENABLE_PIN 130 #define X_ENABLE_PIN 130
//#define X_CS_PIN 0 //#define X_CS_PIN 0
#define Y_STEP_PIN 131 #define Y_STEP_PIN 131
#define Y_DIR_PIN 132 #define Y_DIR_PIN 132
#define Y_ENABLE_PIN 133 #define Y_ENABLE_PIN 133
//#define Y_CS_PIN 13 //#define Y_CS_PIN 13
#define Z_STEP_PIN 134 #define Z_STEP_PIN 134
#define Z_DIR_PIN 135 #define Z_DIR_PIN 135
#define Z_ENABLE_PIN 136 #define Z_ENABLE_PIN 136
//#define Z_CS_PIN 5 // SS_PIN //#define Z_CS_PIN 5 // SS_PIN
#define E0_STEP_PIN 137 #define E0_STEP_PIN 137
#define E0_DIR_PIN 138 #define E0_DIR_PIN 138
#define E0_ENABLE_PIN 139 #define E0_ENABLE_PIN 139
//#define E0_CS_PIN 21 //#define E0_CS_PIN 21
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 36 // Analog Input #define TEMP_0_PIN 36 // Analog Input
#define TEMP_BED_PIN 39 // Analog Input #define TEMP_BED_PIN 39 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define FAN_PIN 13 #define FAN_PIN 13
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
// SPI // SPI
#define SDSS 5 #define SDSS 5

View file

@ -45,66 +45,66 @@
#ifdef I2S_STEPPER_STREAM #ifdef I2S_STEPPER_STREAM
#undef I2S_STEPPER_STREAM #undef I2S_STEPPER_STREAM
#endif #endif
#define I2S_WS -1 #define I2S_WS -1
#define I2S_BCK -1 #define I2S_BCK -1
#define I2S_DATA -1 #define I2S_DATA -1
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 34 #define X_STOP_PIN 34
#define Y_STOP_PIN 35 #define Y_STOP_PIN 35
#define Z_STOP_PIN 15 #define Z_STOP_PIN 15
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 27 #define X_STEP_PIN 27
#define X_DIR_PIN 26 #define X_DIR_PIN 26
#define X_ENABLE_PIN 25 #define X_ENABLE_PIN 25
//#define X_CS_PIN 21 //#define X_CS_PIN 21
#define Y_STEP_PIN 33 #define Y_STEP_PIN 33
#define Y_DIR_PIN 32 #define Y_DIR_PIN 32
#define Y_ENABLE_PIN X_ENABLE_PIN #define Y_ENABLE_PIN X_ENABLE_PIN
//#define Y_CS_PIN 22 //#define Y_CS_PIN 22
#define Z_STEP_PIN 14 #define Z_STEP_PIN 14
#define Z_DIR_PIN 12 #define Z_DIR_PIN 12
#define Z_ENABLE_PIN X_ENABLE_PIN #define Z_ENABLE_PIN X_ENABLE_PIN
//#define Z_CS_PIN 5 // SS_PIN //#define Z_CS_PIN 5 // SS_PIN
#define E0_STEP_PIN 16 #define E0_STEP_PIN 16
#define E0_DIR_PIN 17 #define E0_DIR_PIN 17
#define E0_ENABLE_PIN X_ENABLE_PIN #define E0_ENABLE_PIN X_ENABLE_PIN
//#define E0_CS_PIN 21 //#define E0_CS_PIN 21
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 36 // Analog Input #define TEMP_0_PIN 36 // Analog Input
#define TEMP_BED_PIN 39 // Analog Input #define TEMP_BED_PIN 39 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define FAN_PIN 13 #define FAN_PIN 13
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
// //
// MicroSD card // MicroSD card
// //
#define MOSI_PIN 23 #define MOSI_PIN 23
#define MISO_PIN 19 #define MISO_PIN 19
#define SCK_PIN 18 #define SCK_PIN 18
#define SDSS 5 #define SDSS 5
#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers #define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
// Hardware serial pins // Hardware serial pins
// Add the following to Configuration.h or Configuration_adv.h to assign // Add the following to Configuration.h or Configuration_adv.h to assign
// specific pins to hardware Serial1. // specific pins to hardware Serial1.
// Note: Serial2 can be defined using HARDWARE_SERIAL2_RX and HARDWARE_SERIAL2_TX but // Note: Serial2 can be defined using HARDWARE_SERIAL2_RX and HARDWARE_SERIAL2_TX but
// MRR ESPA does not have enough spare pins for such reassignment. // MRR ESPA does not have enough spare pins for such reassignment.
//#define HARDWARE_SERIAL1_RX 21 //#define HARDWARE_SERIAL1_RX 21
//#define HARDWARE_SERIAL1_TX 22 //#define HARDWARE_SERIAL1_TX 22

View file

@ -43,9 +43,9 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 35 #define X_STOP_PIN 35
#define Y_STOP_PIN 32 #define Y_STOP_PIN 32
#define Z_STOP_PIN 33 #define Z_STOP_PIN 33
// //
// Enable I2S stepper stream // Enable I2S stepper stream
@ -53,72 +53,72 @@
#undef I2S_STEPPER_STREAM #undef I2S_STEPPER_STREAM
#define I2S_STEPPER_STREAM #define I2S_STEPPER_STREAM
#undef LIN_ADVANCE // Currently, I2S stream does not work with linear advance #undef LIN_ADVANCE // Currently, I2S stream does not work with linear advance
#define I2S_WS 26 #define I2S_WS 26
#define I2S_BCK 25 #define I2S_BCK 25
#define I2S_DATA 27 #define I2S_DATA 27
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 129 #define X_STEP_PIN 129
#define X_DIR_PIN 130 #define X_DIR_PIN 130
#define X_ENABLE_PIN 128 #define X_ENABLE_PIN 128
//#define X_CS_PIN 21 //#define X_CS_PIN 21
#define Y_STEP_PIN 132 #define Y_STEP_PIN 132
#define Y_DIR_PIN 133 #define Y_DIR_PIN 133
#define Y_ENABLE_PIN 131 #define Y_ENABLE_PIN 131
//#define Y_CS_PIN 22 //#define Y_CS_PIN 22
#define Z_STEP_PIN 135 #define Z_STEP_PIN 135
#define Z_DIR_PIN 136 #define Z_DIR_PIN 136
#define Z_ENABLE_PIN 134 #define Z_ENABLE_PIN 134
//#define Z_CS_PIN 5 // SS_PIN //#define Z_CS_PIN 5 // SS_PIN
#define E0_STEP_PIN 138 #define E0_STEP_PIN 138
#define E0_DIR_PIN 139 #define E0_DIR_PIN 139
#define E0_ENABLE_PIN 137 #define E0_ENABLE_PIN 137
//#define E0_CS_PIN 21 //#define E0_CS_PIN 21
#define E1_STEP_PIN 141 #define E1_STEP_PIN 141
#define E1_DIR_PIN 142 #define E1_DIR_PIN 142
#define E1_ENABLE_PIN 140 #define E1_ENABLE_PIN 140
//#define E1_CS_PIN 22 //#define E1_CS_PIN 22
#define Z2_STEP_PIN 141 #define Z2_STEP_PIN 141
#define Z2_DIR_PIN 142 #define Z2_DIR_PIN 142
#define Z2_ENABLE_PIN 140 #define Z2_ENABLE_PIN 140
//#define Z2_CS_PIN 5 //#define Z2_CS_PIN 5
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 36 // Analog Input #define TEMP_0_PIN 36 // Analog Input
#define TEMP_1_PIN 34 // Analog Input #define TEMP_1_PIN 34 // Analog Input
#define TEMP_BED_PIN 39 // Analog Input #define TEMP_BED_PIN 39 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 145 // 2 #define HEATER_0_PIN 145 // 2
#define FAN_PIN 146 // 15 #define FAN_PIN 146 // 15
#define HEATER_BED_PIN 144 // 4 #define HEATER_BED_PIN 144 // 4
#define CONTROLLER_FAN_PIN 147 #define CONTROLLER_FAN_PIN 147
//#define E0_AUTO_FAN_PIN 148 // need to update Configuration_adv.h @section extruder //#define E0_AUTO_FAN_PIN 148 // need to update Configuration_adv.h @section extruder
//#define E1_AUTO_FAN_PIN 149 // need to update Configuration_adv.h @section extruder //#define E1_AUTO_FAN_PIN 149 // need to update Configuration_adv.h @section extruder
#define FAN1_PIN 149 #define FAN1_PIN 149
// //
// MicroSD card // MicroSD card
// //
#define MOSI_PIN 23 #define MOSI_PIN 23
#define MISO_PIN 19 #define MISO_PIN 19
#define SCK_PIN 18 #define SCK_PIN 18
#define SDSS 5 #define SDSS 5
#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers #define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
////////////////////////// //////////////////////////
// LCDs and Controllers // // LCDs and Controllers //
@ -126,21 +126,21 @@
#if HAS_GRAPHICAL_LCD #if HAS_GRAPHICAL_LCD
#define LCD_PINS_RS 13 #define LCD_PINS_RS 13
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 16 #define LCD_PINS_D4 16
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define BEEPER_PIN 151 #define BEEPER_PIN 151
#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BEEPER_PIN 151 #define BEEPER_PIN 151
//#define LCD_PINS_D5 150 //#define LCD_PINS_D5 150
//#define LCD_PINS_D6 152 //#define LCD_PINS_D6 152
//#define LCD_PINS_D7 153 //#define LCD_PINS_D7 153
#else #else
@ -148,9 +148,9 @@
#endif #endif
#define BTN_EN1 0 #define BTN_EN1 0
#define BTN_EN2 12 #define BTN_EN2 12
#define BTN_ENC 14 #define BTN_ENC 14
#endif // HAS_GRAPHICAL_LCD #endif // HAS_GRAPHICAL_LCD
@ -159,7 +159,7 @@
// specific pins to hardware Serial1 and Serial2. // specific pins to hardware Serial1 and Serial2.
// Note: Serial2 can be defined using HARDWARE_SERIAL2_RX and HARDWARE_SERIAL2_TX but // Note: Serial2 can be defined using HARDWARE_SERIAL2_RX and HARDWARE_SERIAL2_TX but
// MRR ESPA does not have enough spare pins for such reassignment. // MRR ESPA does not have enough spare pins for such reassignment.
//#define HARDWARE_SERIAL1_RX 21 //#define HARDWARE_SERIAL1_RX 21
//#define HARDWARE_SERIAL1_TX 22 //#define HARDWARE_SERIAL1_TX 22
//#define HARDWARE_SERIAL2_RX 2 //#define HARDWARE_SERIAL2_RX 2
//#define HARDWARE_SERIAL2_TX 4 //#define HARDWARE_SERIAL2_TX 4

View file

@ -49,7 +49,7 @@
#define BOARD_INFO_NAME "RAMPS 1.4" #define BOARD_INFO_NAME "RAMPS 1.4"
#endif #endif
#define E2END 0xFFF // 4KB #define E2END 0xFFF // 4KB
#define IS_RAMPS_EFB #define IS_RAMPS_EFB
@ -57,85 +57,85 @@
// Servos // Servos
// //
#ifdef IS_RAMPS_13 #ifdef IS_RAMPS_13
#define SERVO0_PIN 7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI #define SERVO0_PIN 7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
#else #else
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#endif #endif
#define SERVO1_PIN 6 #define SERVO1_PIN 6
#define SERVO2_PIN 5 #define SERVO2_PIN 5
#ifndef SERVO3_PIN #ifndef SERVO3_PIN
#define SERVO3_PIN 4 #define SERVO3_PIN 4
#endif #endif
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 53 #define X_CS_PIN 53
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 49 #define Y_CS_PIN 49
#endif #endif
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 40 #define Z_CS_PIN 40
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 42 #define E0_CS_PIN 42
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 44 #define E1_CS_PIN 44
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input #define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input #define TEMP_BED_PIN 2 // Analog Input
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
@ -159,72 +159,72 @@
// Heaters / Fans // Heaters / Fans
// //
#ifndef MOSFET_D_PIN #ifndef MOSFET_D_PIN
#define MOSFET_D_PIN -1 #define MOSFET_D_PIN -1
#endif #endif
#ifndef RAMPS_D8_PIN #ifndef RAMPS_D8_PIN
#define RAMPS_D8_PIN 8 #define RAMPS_D8_PIN 8
#endif #endif
#ifndef RAMPS_D9_PIN #ifndef RAMPS_D9_PIN
#define RAMPS_D9_PIN 9 #define RAMPS_D9_PIN 9
#endif #endif
#ifndef RAMPS_D10_PIN #ifndef RAMPS_D10_PIN
#define RAMPS_D10_PIN 10 #define RAMPS_D10_PIN 10
#endif #endif
#define HEATER_0_PIN RAMPS_D10_PIN #define HEATER_0_PIN RAMPS_D10_PIN
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed #if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan #elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
#define HEATER_1_PIN RAMPS_D9_PIN #define HEATER_1_PIN RAMPS_D9_PIN
#define FAN_PIN RAMPS_D8_PIN #define FAN_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define HEATER_1_PIN RAMPS_D9_PIN #define HEATER_1_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan #elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#define FAN1_PIN RAMPS_D8_PIN #define FAN1_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan #elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
#define FAN_PIN RAMPS_D8_PIN #define FAN_PIN RAMPS_D8_PIN
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE") #else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#if HOTENDS == 1 #if HOTENDS == 1
#define FAN1_PIN MOSFET_D_PIN #define FAN1_PIN MOSFET_D_PIN
#else #else
#define HEATER_1_PIN MOSFET_D_PIN #define HEATER_1_PIN MOSFET_D_PIN
#endif #endif
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 4 // IO pin. Buffer needed #define FAN_PIN 4 // IO pin. Buffer needed
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 5 // Analog Input on AUX2 #define FILWIDTH_PIN 5 // Analog Input on AUX2
#endif #endif
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 4 #define FIL_RUNOUT_PIN 4
#endif #endif
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
#if NUM_SERVOS <= 1 // Prefer the servo connector #if NUM_SERVOS <= 1 // Prefer the servo connector
#define CASE_LIGHT_PIN 6 // Hardware PWM #define CASE_LIGHT_PIN 6 // Hardware PWM
#elif HAS_FREE_AUX2_PINS // try to use AUX 2 #elif HAS_FREE_AUX2_PINS // try to use AUX 2
#define CASE_LIGHT_PIN 44 // Hardware PWM #define CASE_LIGHT_PIN 44 // Hardware PWM
#endif #endif
#endif #endif
@ -232,14 +232,14 @@
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA) #if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
#if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
#define SPINDLE_DIR_PIN 5 #define SPINDLE_DIR_PIN 5
#elif HAS_FREE_AUX2_PINS // try to use AUX 2 #elif HAS_FREE_AUX2_PINS // try to use AUX 2
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_DIR_PIN 65 #define SPINDLE_DIR_PIN 65
#endif #endif
#endif #endif
@ -247,13 +247,13 @@
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#ifndef E_MUX0_PIN #ifndef E_MUX0_PIN
#define E_MUX0_PIN 40 // Z_CS_PIN #define E_MUX0_PIN 40 // Z_CS_PIN
#endif #endif
#ifndef E_MUX1_PIN #ifndef E_MUX1_PIN
#define E_MUX1_PIN 42 // E0_CS_PIN #define E_MUX1_PIN 42 // E0_CS_PIN
#endif #endif
#ifndef E_MUX2_PIN #ifndef E_MUX2_PIN
#define E_MUX2_PIN 44 // E1_CS_PIN #define E_MUX2_PIN 44 // E1_CS_PIN
#endif #endif
/** /**
@ -261,13 +261,13 @@
*/ */
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI 66 #define TMC_SW_MOSI 66
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO 44 #define TMC_SW_MISO 44
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK 64 #define TMC_SW_SCK 64
#endif #endif
#endif #endif
@ -295,91 +295,91 @@
*/ */
#ifndef X_SERIAL_TX_PIN #ifndef X_SERIAL_TX_PIN
#define X_SERIAL_TX_PIN 40 #define X_SERIAL_TX_PIN 40
#endif #endif
#ifndef X_SERIAL_RX_PIN #ifndef X_SERIAL_RX_PIN
#define X_SERIAL_RX_PIN 63 #define X_SERIAL_RX_PIN 63
#endif #endif
#ifndef X2_SERIAL_TX_PIN #ifndef X2_SERIAL_TX_PIN
#define X2_SERIAL_TX_PIN -1 #define X2_SERIAL_TX_PIN -1
#endif #endif
#ifndef X2_SERIAL_RX_PIN #ifndef X2_SERIAL_RX_PIN
#define X2_SERIAL_RX_PIN -1 #define X2_SERIAL_RX_PIN -1
#endif #endif
#ifndef Y_SERIAL_TX_PIN #ifndef Y_SERIAL_TX_PIN
#define Y_SERIAL_TX_PIN 59 #define Y_SERIAL_TX_PIN 59
#endif #endif
#ifndef Y_SERIAL_RX_PIN #ifndef Y_SERIAL_RX_PIN
#define Y_SERIAL_RX_PIN 64 #define Y_SERIAL_RX_PIN 64
#endif #endif
#ifndef Y2_SERIAL_TX_PIN #ifndef Y2_SERIAL_TX_PIN
#define Y2_SERIAL_TX_PIN -1 #define Y2_SERIAL_TX_PIN -1
#endif #endif
#ifndef Y2_SERIAL_RX_PIN #ifndef Y2_SERIAL_RX_PIN
#define Y2_SERIAL_RX_PIN -1 #define Y2_SERIAL_RX_PIN -1
#endif #endif
#ifndef Z_SERIAL_TX_PIN #ifndef Z_SERIAL_TX_PIN
#define Z_SERIAL_TX_PIN 42 #define Z_SERIAL_TX_PIN 42
#endif #endif
#ifndef Z_SERIAL_RX_PIN #ifndef Z_SERIAL_RX_PIN
#define Z_SERIAL_RX_PIN 65 #define Z_SERIAL_RX_PIN 65
#endif #endif
#ifndef Z2_SERIAL_TX_PIN #ifndef Z2_SERIAL_TX_PIN
#define Z2_SERIAL_TX_PIN -1 #define Z2_SERIAL_TX_PIN -1
#endif #endif
#ifndef Z2_SERIAL_RX_PIN #ifndef Z2_SERIAL_RX_PIN
#define Z2_SERIAL_RX_PIN -1 #define Z2_SERIAL_RX_PIN -1
#endif #endif
#ifndef E0_SERIAL_TX_PIN #ifndef E0_SERIAL_TX_PIN
#define E0_SERIAL_TX_PIN 44 #define E0_SERIAL_TX_PIN 44
#endif #endif
#ifndef E0_SERIAL_RX_PIN #ifndef E0_SERIAL_RX_PIN
#define E0_SERIAL_RX_PIN 66 #define E0_SERIAL_RX_PIN 66
#endif #endif
#ifndef E1_SERIAL_TX_PIN #ifndef E1_SERIAL_TX_PIN
#define E1_SERIAL_TX_PIN -1 #define E1_SERIAL_TX_PIN -1
#endif #endif
#ifndef E1_SERIAL_RX_PIN #ifndef E1_SERIAL_RX_PIN
#define E1_SERIAL_RX_PIN -1 #define E1_SERIAL_RX_PIN -1
#endif #endif
#ifndef E2_SERIAL_TX_PIN #ifndef E2_SERIAL_TX_PIN
#define E2_SERIAL_TX_PIN -1 #define E2_SERIAL_TX_PIN -1
#endif #endif
#ifndef E2_SERIAL_RX_PIN #ifndef E2_SERIAL_RX_PIN
#define E2_SERIAL_RX_PIN -1 #define E2_SERIAL_RX_PIN -1
#endif #endif
#ifndef E3_SERIAL_TX_PIN #ifndef E3_SERIAL_TX_PIN
#define E3_SERIAL_TX_PIN -1 #define E3_SERIAL_TX_PIN -1
#endif #endif
#ifndef E3_SERIAL_RX_PIN #ifndef E3_SERIAL_RX_PIN
#define E3_SERIAL_RX_PIN -1 #define E3_SERIAL_RX_PIN -1
#endif #endif
#ifndef E4_SERIAL_TX_PIN #ifndef E4_SERIAL_TX_PIN
#define E4_SERIAL_TX_PIN -1 #define E4_SERIAL_TX_PIN -1
#endif #endif
#ifndef E4_SERIAL_RX_PIN #ifndef E4_SERIAL_RX_PIN
#define E4_SERIAL_RX_PIN -1 #define E4_SERIAL_RX_PIN -1
#endif #endif
#ifndef E5_SERIAL_TX_PIN #ifndef E5_SERIAL_TX_PIN
#define E5_SERIAL_TX_PIN -1 #define E5_SERIAL_TX_PIN -1
#endif #endif
#ifndef E5_SERIAL_RX_PIN #ifndef E5_SERIAL_RX_PIN
#define E5_SERIAL_RX_PIN -1 #define E5_SERIAL_RX_PIN -1
#endif #endif
#ifndef E6_SERIAL_TX_PIN #ifndef E6_SERIAL_TX_PIN
#define E6_SERIAL_TX_PIN -1 #define E6_SERIAL_TX_PIN -1
#endif #endif
#ifndef E6_SERIAL_RX_PIN #ifndef E6_SERIAL_RX_PIN
#define E6_SERIAL_RX_PIN -1 #define E6_SERIAL_RX_PIN -1
#endif #endif
#ifndef E7_SERIAL_TX_PIN #ifndef E7_SERIAL_TX_PIN
#define E7_SERIAL_TX_PIN -1 #define E7_SERIAL_TX_PIN -1
#endif #endif
#ifndef E7_SERIAL_RX_PIN #ifndef E7_SERIAL_RX_PIN
#define E7_SERIAL_RX_PIN -1 #define E7_SERIAL_RX_PIN -1
#endif #endif
#endif #endif
@ -394,62 +394,62 @@
// //
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#elif BOTH(NEWPANEL, PANEL_ONE) #elif BOTH(NEWPANEL, PANEL_ONE)
#define LCD_PINS_RS 40 #define LCD_PINS_RS 40
#define LCD_PINS_ENABLE 42 #define LCD_PINS_ENABLE 42
#define LCD_PINS_D4 65 #define LCD_PINS_D4 65
#define LCD_PINS_D5 66 #define LCD_PINS_D5 66
#define LCD_PINS_D6 44 #define LCD_PINS_D6 44
#define LCD_PINS_D7 64 #define LCD_PINS_D7 64
#else #else
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS 27 #define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 29 #define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 25 #define LCD_PINS_D4 25
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#endif #endif
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#define LCD_PINS_RS 64 #define LCD_PINS_RS 64
#define LCD_PINS_ENABLE 44 #define LCD_PINS_ENABLE 44
#define LCD_PINS_D4 63 #define LCD_PINS_D4 63
#define LCD_PINS_D5 40 #define LCD_PINS_D5 40
#define LCD_PINS_D6 42 #define LCD_PINS_D6 42
#define LCD_PINS_D7 65 #define LCD_PINS_D7 65
#else #else
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306) #if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 25 // Set as output on init #define LCD_PINS_DC 25 // Set as output on init
#define LCD_PINS_RS 27 // Pull low for 1s to init #define LCD_PINS_RS 27 // Pull low for 1s to init
// DOGM SPI LCD Support // DOGM SPI LCD Support
#define DOGLCD_CS 16 #define DOGLCD_CS 16
#define DOGLCD_MOSI 17 #define DOGLCD_MOSI 17
#define DOGLCD_SCK 23 #define DOGLCD_SCK 23
#define DOGLCD_A0 LCD_PINS_DC #define DOGLCD_A0 LCD_PINS_DC
#else #else
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#endif #endif
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#endif #endif
#endif #endif
@ -457,10 +457,10 @@
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#endif #endif
#endif #endif
@ -472,85 +472,85 @@
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define BTN_EN1 17 #define BTN_EN1 17
#define BTN_EN2 23 #define BTN_EN2 23
#else #else
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#endif #endif
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#if ENABLED(BQ_LCD_SMART_CONTROLLER) #if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39 #define LCD_BACKLIGHT_PIN 39
#endif #endif
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SD_DETECT_PIN 42 #define SD_DETECT_PIN 42
#elif ENABLED(LCD_I2C_PANELOLU2) #elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 43 #define BTN_EN2 43
#define BTN_ENC 32 #define BTN_ENC 32
#define LCD_SDSS SDSS #define LCD_SDSS SDSS
#define KILL_PIN 41 #define KILL_PIN 41
#elif ENABLED(LCD_I2C_VIKI) #elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42. #define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13. #define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_ENC -1 #define BTN_ENC -1
#define LCD_SDSS SDSS #define LCD_SDSS SDSS
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#elif ANY(VIKI2, miniVIKI) #elif ANY(VIKI2, miniVIKI)
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#define BTN_EN1 22 #define BTN_EN1 22
#define BTN_EN2 7 #define BTN_EN2 7
#define BTN_ENC 39 #define BTN_ENC 39
#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board #define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
#define KILL_PIN 31 #define KILL_PIN 31
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define BEEPER_PIN 23 #define BEEPER_PIN 23
#define LCD_BACKLIGHT_PIN 33 #define LCD_BACKLIGHT_PIN 33
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 37 #define BTN_EN2 37
#define BTN_ENC 31 #define BTN_ENC 31
#define LCD_SDSS SDSS #define LCD_SDSS SDSS
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#elif ENABLED(MKS_MINI_12864) #elif ENABLED(MKS_MINI_12864)
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define DOGLCD_CS 25 #define DOGLCD_CS 25
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
@ -558,25 +558,25 @@
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
#define BEEPER_PIN 37 #define BEEPER_PIN 37
// not connected to a pin // not connected to a pin
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 64 #define KILL_PIN 64
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BEEPER_PIN 42 #define BEEPER_PIN 42
// not connected to a pin // not connected to a pin
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 66 #define DOGLCD_CS 66
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
@ -584,16 +584,16 @@
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 63 #define BTN_EN2 63
#define BTN_ENC 59 #define BTN_ENC 59
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 64 #define KILL_PIN 64
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#define ADC_KEYPAD_PIN 12 #define ADC_KEYPAD_PIN 12
#elif ENABLED(AZSMZ_12864) #elif ENABLED(AZSMZ_12864)
@ -602,29 +602,29 @@
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons are directly attached to AUX-2 // Buttons are directly attached to AUX-2
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_CLK 44 #define SHIFT_CLK 44
#define SHIFT_LD 42 #define SHIFT_LD 42
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#elif ENABLED(PANEL_ONE) #elif ENABLED(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3 #define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4 #define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7 #define BTN_ENC 49 // AUX3 PIN 7
#else #else
#define BTN_EN1 37 #define BTN_EN1 37
#define BTN_EN2 35 #define BTN_EN2 35
#define BTN_ENC 31 #define BTN_ENC 31
#endif #endif
#if ENABLED(G3D_PANEL) #if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#endif #endif

View file

@ -40,84 +40,84 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 #define SERVO0_PIN P1_23
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 #define X_MIN_PIN P1_24
#define Y_MIN_PIN P1_26 #define Y_MIN_PIN P1_26
#define Z_MIN_PIN P1_28 #define Z_MIN_PIN P1_28
#define Z_MAX_PIN P1_29 #define Z_MAX_PIN P1_29
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 // A0 (TH1) #define TEMP_0_PIN P0_23_A0 // A0 (TH1)
#define TEMP_BED_PIN P0_24_A1 // A1 (TH2) #define TEMP_BED_PIN P0_24_A1 // A1 (TH2)
#define TEMP_1_PIN P0_25_A2 // A2 (TH3) #define TEMP_1_PIN P0_25_A2 // A2 (TH3)
// //
// Heaters / Fans // Heaters / Fans
// //
// EFB // EFB
#define HEATER_0_PIN P2_04 #define HEATER_0_PIN P2_04
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_07 #define FAN_PIN P2_07
#endif #endif
#define FAN1_PIN P0_26 #define FAN1_PIN P0_26
#define LCD_SDSS P0_16 // LCD SD chip select #define LCD_SDSS P0_16 // LCD SD chip select
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if ENABLED(AZSMZ_12864) #if ENABLED(AZSMZ_12864)
#define BEEPER_PIN P1_30 #define BEEPER_PIN P1_30
#define DOGLCD_A0 P2_06 #define DOGLCD_A0 P2_06
#define DOGLCD_CS P1_22 #define DOGLCD_CS P1_22
#define BTN_EN1 P4_28 #define BTN_EN1 P4_28
#define BTN_EN2 P1_27 #define BTN_EN2 P1_27
#define BTN_ENC P3_26 #define BTN_ENC P3_26
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION LCD #define SDCARD_CONNECTION LCD
#endif #endif
#endif #endif
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_15 #define SCK_PIN P0_15
#define MISO_PIN P0_17 #define MISO_PIN P0_17
#define MOSI_PIN P0_18 #define MOSI_PIN P0_18
#define SS_PIN LCD_SDSS #define SS_PIN LCD_SDSS
#define SD_DETECT_PIN P3_25 #define SD_DETECT_PIN P3_25
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#elif SD_CONNECTION_IS(CUSTOM_CABLE) #elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board." #error "No custom SD drive cable defined for this board."
#endif #endif
@ -125,16 +125,16 @@
// //
// Ethernet pins // Ethernet pins
// //
#define ENET_MDIO P1_17 #define ENET_MDIO P1_17
#define ENET_RX_ER P1_14 #define ENET_RX_ER P1_14
#define ENET_RXD1 P1_10 #define ENET_RXD1 P1_10
#define ENET_MOC P1_16 #define ENET_MOC P1_16
#define REF_CLK P1_15 #define REF_CLK P1_15
#define ENET_RXD0 P1_09 #define ENET_RXD0 P1_09
#define ENET_CRS P1_08 #define ENET_CRS P1_08
#define ENET_TX_EN P1_04 #define ENET_TX_EN P1_04
#define ENET_TXD0 P1_00 #define ENET_TXD0 P1_00
#define ENET_TXD1 P1_01 #define ENET_TXD1 P1_01
/** /**
* PWMs * PWMs

View file

@ -47,42 +47,42 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series #define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series #define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V, 1K series #define Y_MIN_PIN P1_26 // 10k pullup to 3.3V, 1K series
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V, 1K series #define Y_MAX_PIN P1_27 // 10k pullup to 3.3V, 1K series
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V, 1K series #define Z_MIN_PIN P1_28 // 10k pullup to 3.3V, 1K series
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series #define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN P1_15 // ETH #define X_CS_PIN P1_15 // ETH
#endif #endif
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN P1_14 // ETH #define Y_CS_PIN P1_14 // ETH
#endif #endif
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN P1_16 // ETH #define Z_CS_PIN P1_16 // ETH
#endif #endif
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN P1_17 // ETH #define E0_CS_PIN P1_17 // ETH
#endif #endif
// //
@ -90,13 +90,13 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P0_18 // ETH #define TMC_SW_MOSI P0_18 // ETH
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P0_17 // ETH #define TMC_SW_MISO P0_17 // ETH
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P0_15 // ETH #define TMC_SW_SCK P0_15 // ETH
#endif #endif
#endif #endif
@ -104,23 +104,23 @@
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_24_A1 // A0 (T0) #define TEMP_0_PIN P0_24_A1 // A0 (T0)
#define TEMP_BED_PIN P0_23_A0 // A1 (T1) #define TEMP_BED_PIN P0_23_A0 // A1 (T1)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_04 #define FAN_PIN P2_04
#endif #endif
// //
// Unused // Unused
// //
//#define PIN_P2_10 P2_10 // IBOOT-1 //#define PIN_P2_10 P2_10 // IBOOT-1
//#define PIN_P0_27 P0_27 // Onboard SD Detect //#define PIN_P0_27 P0_27 // Onboard SD Detect
/** /**
* LCD / Controller * LCD / Controller
@ -134,16 +134,16 @@
*/ */
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN P1_31 // EXP1-1 #define BEEPER_PIN P1_31 // EXP1-1
#define BTN_EN1 P3_26 // EXP2-3 #define BTN_EN1 P3_26 // EXP2-3
#define BTN_EN2 P3_25 // EXP2-5 #define BTN_EN2 P3_25 // EXP2-5
#define BTN_ENC P1_30 // EXP1-2 #define BTN_ENC P1_30 // EXP1-2
#define SD_DETECT_PIN P0_27 // EXP2-7 #define SD_DETECT_PIN P0_27 // EXP2-7
#define LCD_PINS_RS P0_16 // EXP1-4 #define LCD_PINS_RS P0_16 // EXP1-4
#define LCD_PINS_ENABLE P0_18 // (MOSI) EXP1-3 #define LCD_PINS_ENABLE P0_18 // (MOSI) EXP1-3
#define LCD_PINS_D4 P0_15 // (SCK) EXP1-5 #define LCD_PINS_D4 P0_15 // (SCK) EXP1-5
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && HAS_CHARACTER_LCD #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && HAS_CHARACTER_LCD
#error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU B300 v1.0" #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU B300 v1.0"
@ -162,11 +162,11 @@
* Hardware SPI can't be used because P0_17 (MISO) is not brought out on this board. * Hardware SPI can't be used because P0_17 (MISO) is not brought out on this board.
*/ */
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
#define SCK_PIN P0_15 // EXP1-5 #define SCK_PIN P0_15 // EXP1-5
#define MISO_PIN P0_16 // EXP1-4 #define MISO_PIN P0_16 // EXP1-4
#define MOSI_PIN P0_18 // EXP1-3 #define MOSI_PIN P0_18 // EXP1-3
#define SS_PIN P1_30 // EXP1-2 #define SS_PIN P1_30 // EXP1-2
#define SDSS SS_PIN #define SDSS SS_PIN
#endif #endif
/** /**

View file

@ -45,56 +45,53 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series #define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series #define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V, 1K series #define Y_MIN_PIN P1_26 // 10k pullup to 3.3V, 1K series
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V, 1K series #define Y_MAX_PIN P1_27 // 10k pullup to 3.3V, 1K series
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V, 1K series #define Z_MIN_PIN P1_28 // 10k pullup to 3.3V, 1K series
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series #define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_0 #define X_STEP_PIN P2_0
#define X_DIR_PIN P0_5 #define X_DIR_PIN P0_5
#define X_ENABLE_PIN P0_4 #define X_ENABLE_PIN P0_4
#define Y_STEP_PIN P2_1 #define Y_STEP_PIN P2_1
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Z_STEP_PIN P2_2 #define Z_STEP_PIN P2_2
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define E0_STEP_PIN P2_3
#define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21
#define E0_STEP_PIN P2_3
#define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 // A0 (T0) #define TEMP_0_PIN P0_23_A0 // A0 (T0)
#define TEMP_BED_PIN P0_24_A1 // A1 (T1) #define TEMP_BED_PIN P0_24_A1 // A1 (T1)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN P2_7 #define HEATER_0_PIN P2_7
#define HEATER_BED_PIN P2_5 #define HEATER_BED_PIN P2_5
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_4 #define FAN_PIN P2_4
#endif #endif
// //
// Unused // Unused
// //
//#define PIN_P2_10 P2_10 // IBOOT-1 //#define PIN_P2_10 P2_10 // IBOOT-1
//#define PIN_P0_27 P0_27 // Onboard SD Detect //#define PIN_P0_27 P0_27 // Onboard SD Detect
/** /**
* LCD / Controller * LCD / Controller
@ -108,16 +105,16 @@
*/ */
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN P1_31 // EXP1-1 #define BEEPER_PIN P1_31 // EXP1-1
#define BTN_EN1 P3_26 // EXP2-3 #define BTN_EN1 P3_26 // EXP2-3
#define BTN_EN2 P3_25 // EXP2-5 #define BTN_EN2 P3_25 // EXP2-5
#define BTN_ENC P1_30 // EXP1-2 #define BTN_ENC P1_30 // EXP1-2
#define SD_DETECT_PIN P0_27 // EXP2-7 #define SD_DETECT_PIN P0_27 // EXP2-7
#define LCD_PINS_RS P0_16 // EXP1-4 #define LCD_PINS_RS P0_16 // EXP1-4
#define LCD_PINS_ENABLE P0_18 // (MOSI) EXP1-3 #define LCD_PINS_ENABLE P0_18 // (MOSI) EXP1-3
#define LCD_PINS_D4 P0_15 // (SCK) EXP1-5 #define LCD_PINS_D4 P0_15 // (SCK) EXP1-5
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && HAS_CHARACTER_LCD #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && HAS_CHARACTER_LCD
#error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU BQ111-A4" #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU BQ111-A4"
@ -129,7 +126,6 @@
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD
/** /**
* SD Card Reader * SD Card Reader
* *
@ -138,15 +134,14 @@
*/ */
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
#define SCK_PIN P0_15 // EXP1-5 #define SCK_PIN P0_15 // EXP1-5
#define MISO_PIN P0_16 // EXP1-4 #define MISO_PIN P0_16 // EXP1-4
#define MOSI_PIN P0_18 // EXP1-3 #define MOSI_PIN P0_18 // EXP1-3
#define SS_PIN P1_30 // EXP1-2 #define SS_PIN P1_30 // EXP1-2
#define SDSS SS_PIN #define SDSS SS_PIN
#endif // SDSUPPORT #endif // SDSUPPORT
/** /**
* PWMS * PWMS
* *

View file

@ -33,31 +33,31 @@
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_29 #define X_MIN_PIN P1_29
#define X_MAX_PIN P1_28 #define X_MAX_PIN P1_28
#define Y_MIN_PIN P1_27 #define Y_MIN_PIN P1_27
#define Y_MAX_PIN P1_26 #define Y_MAX_PIN P1_26
#define Z_MIN_PIN P1_25 #define Z_MIN_PIN P1_25
#define Z_MAX_PIN P1_24 #define Z_MAX_PIN P1_24
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P0_04 #define X_STEP_PIN P0_04
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P4_28 #define X_ENABLE_PIN P4_28
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P2_02 #define Y_DIR_PIN P2_02
#define Y_ENABLE_PIN P2_00 #define Y_ENABLE_PIN P2_00
#define Z_STEP_PIN P0_20 #define Z_STEP_PIN P0_20
#define Z_DIR_PIN P0_21 #define Z_DIR_PIN P0_21
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define E0_STEP_PIN P0_11 #define E0_STEP_PIN P0_11
#define E0_DIR_PIN P2_13 #define E0_DIR_PIN P2_13
#define E0_ENABLE_PIN P2_12 #define E0_ENABLE_PIN P2_12
/** /**
* LCD / Controller * LCD / Controller
@ -73,19 +73,19 @@
*/ */
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BTN_EN1 P3_26 #define BTN_EN1 P3_26
#define BTN_EN2 P3_25 #define BTN_EN2 P3_25
#define BTN_ENC P2_11 #define BTN_ENC P2_11
#define SD_DETECT_PIN P1_31 #define SD_DETECT_PIN P1_31
#define LCD_SDSS P1_23 #define LCD_SDSS P1_23
#define LCD_PINS_RS P0_16 #define LCD_PINS_RS P0_16
#define LCD_PINS_ENABLE P0_18 #define LCD_PINS_ENABLE P0_18
#define LCD_PINS_D4 P0_15 #define LCD_PINS_D4 P0_15
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
#define DOGLCD_CS P2_06 #define DOGLCD_CS P2_06
#define DOGLCD_A0 P0_16 #define DOGLCD_A0 P0_16
#endif #endif
#endif #endif
@ -97,14 +97,14 @@
// https://www.facebook.com/groups/505736576548648/permalink/630639874058317/ // https://www.facebook.com/groups/505736576548648/permalink/630639874058317/
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#if EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY) #if EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
#define SDCARD_CONNECTION LCD #define SDCARD_CONNECTION LCD
#else #else
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#endif #endif
#endif #endif
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SS_PIN P1_23 #define SS_PIN P1_23
#endif #endif
// Trinamic driver support // Trinamic driver support
@ -137,49 +137,48 @@
// When using any TMC SPI-based drivers, software SPI is used // When using any TMC SPI-based drivers, software SPI is used
// because pins may be shared with the display or SD card. // because pins may be shared with the display or SD card.
#define TMC_USE_SW_SPI #define TMC_USE_SW_SPI
#define TMC_SW_MOSI P0_18 #define TMC_SW_MOSI P0_18
#define TMC_SW_MISO P0_17 #define TMC_SW_MISO P0_17
// To minimize pin usage use the same clock pin as the display/SD card reader. (May generate LCD noise.) // To minimize pin usage use the same clock pin as the display/SD card reader. (May generate LCD noise.)
#define TMC_SW_SCK P0_15 #define TMC_SW_SCK P0_15
// If pin 2_06 is unused, it can be used for the clock to avoid the LCD noise. // If pin 2_06 is unused, it can be used for the clock to avoid the LCD noise.
//#define TMC_SW_SCK P2_06 //#define TMC_SW_SCK P2_06
#if ENABLED(SOFTWARE_DRIVER_ENABLE) #if ENABLED(SOFTWARE_DRIVER_ENABLE)
// Software enable allows the enable pins to be repurposed as chip-select pins. // Software enable allows the enable pins to be repurposed as chip-select pins.
// Note: Requires the driver modules to be modified to always be enabled with the enable pin removed. // Note: Requires the driver modules to be modified to always be enabled with the enable pin removed.
#if AXIS_DRIVER_TYPE_X(TMC2130) #if AXIS_DRIVER_TYPE_X(TMC2130)
#define X_CS_PIN P4_28 #define X_CS_PIN P4_28
#undef X_ENABLE_PIN #undef X_ENABLE_PIN
#define X_ENABLE_PIN -1 #define X_ENABLE_PIN -1
#endif #endif
#if AXIS_DRIVER_TYPE_Y(TMC2130) #if AXIS_DRIVER_TYPE_Y(TMC2130)
#define Y_CS_PIN P2_00 #define Y_CS_PIN P2_00
#undef Y_ENABLE_PIN #undef Y_ENABLE_PIN
#define Y_ENABLE_PIN -1 #define Y_ENABLE_PIN -1
#endif #endif
#if AXIS_DRIVER_TYPE_Z(TMC2130) #if AXIS_DRIVER_TYPE_Z(TMC2130)
#define Z_CS_PIN P0_19 #define Z_CS_PIN P0_19
#undef Z_ENABLE_PIN #undef Z_ENABLE_PIN
#define Z_ENABLE_PIN -1 #define Z_ENABLE_PIN -1
#endif #endif
#if AXIS_DRIVER_TYPE_E0(TMC2130) #if AXIS_DRIVER_TYPE_E0(TMC2130)
#define E0_CS_PIN P2_12 #define E0_CS_PIN P2_12
#undef E0_ENABLE_PIN #undef E0_ENABLE_PIN
#define E0_ENABLE_PIN -1 #define E0_ENABLE_PIN -1
#endif #endif
#if AXIS_DRIVER_TYPE_E1(TMC2130) #if AXIS_DRIVER_TYPE_E1(TMC2130)
#define E1_CS_PIN P0_10 #define E1_CS_PIN P0_10
#undef E1_ENABLE_PIN #undef E1_ENABLE_PIN
#define E1_ENABLE_PIN -1 #define E1_ENABLE_PIN -1
#endif #endif
#else // !SOFTWARE_DRIVER_ENABLE #else // !SOFTWARE_DRIVER_ENABLE
// A chip-select pin is needed for each driver. // A chip-select pin is needed for each driver.
@ -192,11 +191,11 @@
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#error "SDCARD_CONNECTION must not be 'LCD' with SKR_USE_LCD_PINS_FOR_CS." #error "SDCARD_CONNECTION must not be 'LCD' with SKR_USE_LCD_PINS_FOR_CS."
#endif #endif
#define X_CS_PIN P1_23 #define X_CS_PIN P1_23
#define Y_CS_PIN P3_26 #define Y_CS_PIN P3_26
#define Z_CS_PIN P2_11 #define Z_CS_PIN P2_11
#define E0_CS_PIN P3_25 #define E0_CS_PIN P3_25
#define E1_CS_PIN P1_31 #define E1_CS_PIN P1_31
#endif #endif
// Example 2: A REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER // Example 2: A REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
@ -207,16 +206,16 @@
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#error "SDCARD_CONNECTION must not be 'LCD' with SKR_USE_LCD_SD_CARD_PINS_FOR_CS." #error "SDCARD_CONNECTION must not be 'LCD' with SKR_USE_LCD_SD_CARD_PINS_FOR_CS."
#endif #endif
#define X_CS_PIN P0_02 #define X_CS_PIN P0_02
#define Y_CS_PIN P0_03 #define Y_CS_PIN P0_03
#define Z_CS_PIN P2_06 #define Z_CS_PIN P2_06
// We use SD_DETECT_PIN for E0 // We use SD_DETECT_PIN for E0
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define E0_CS_PIN P1_31 #define E0_CS_PIN P1_31
// We use LCD_SDSS pin for E1 // We use LCD_SDSS pin for E1
#undef LCD_SDSS #undef LCD_SDSS
#define LCD_SDSS -1 #define LCD_SDSS -1
#define E1_CS_PIN P1_23 #define E1_CS_PIN P1_23
#endif #endif
// Example 3: Use the driver enable pins for chip-select. // Example 3: Use the driver enable pins for chip-select.
@ -224,11 +223,11 @@
// advanced features (like driver monitoring) will not be available. // advanced features (like driver monitoring) will not be available.
//#define SKR_USE_ENABLE_CS //#define SKR_USE_ENABLE_CS
#if ENABLED(SKR_USE_ENABLE_FOR_CS) #if ENABLED(SKR_USE_ENABLE_FOR_CS)
#define X_CS_PIN X_ENABLE_PIN #define X_CS_PIN X_ENABLE_PIN
#define Y_CS_PIN Y_ENABLE_PIN #define Y_CS_PIN Y_ENABLE_PIN
#define Z_CS_PIN Z_ENABLE_PIN #define Z_CS_PIN Z_ENABLE_PIN
#define E0_CS_PIN E0_ENABLE_PIN #define E0_CS_PIN E0_ENABLE_PIN
#define E1_CS_PIN E1_ENABLE_PIN #define E1_CS_PIN E1_ENABLE_PIN
#endif #endif
#endif // SOFTWARE_DRIVER_ENABLE #endif // SOFTWARE_DRIVER_ENABLE

View file

@ -32,107 +32,107 @@
/** /**
* Trinamic Stallguard pins * Trinamic Stallguard pins
*/ */
#define X_DIAG_PIN P1_29 // X- #define X_DIAG_PIN P1_29 // X-
#define Y_DIAG_PIN P1_27 // Y- #define Y_DIAG_PIN P1_27 // Y-
#define Z_DIAG_PIN P1_25 // Z- #define Z_DIAG_PIN P1_25 // Z-
#define E0_DIAG_PIN P1_28 // X+ #define E0_DIAG_PIN P1_28 // X+
#define E1_DIAG_PIN P1_26 // Y+ #define E1_DIAG_PIN P1_26 // Y+
/** /**
* Limit Switches * Limit Switches
*/ */
#if X_STALL_SENSITIVITY #if X_STALL_SENSITIVITY
#define X_STOP_PIN X_DIAG_PIN #define X_STOP_PIN X_DIAG_PIN
#if X_HOME_DIR < 0 #if X_HOME_DIR < 0
#define X_MAX_PIN P1_28 // X+ #define X_MAX_PIN P1_28 // X+
#else #else
#define X_MIN_PIN P1_28 // X+ #define X_MIN_PIN P1_28 // X+
#endif #endif
#else #else
#define X_MIN_PIN P1_29 // X- #define X_MIN_PIN P1_29 // X-
#define X_MAX_PIN P1_28 // X+ #define X_MAX_PIN P1_28 // X+
#endif #endif
#if Y_STALL_SENSITIVITY #if Y_STALL_SENSITIVITY
#define Y_STOP_PIN Y_DIAG_PIN #define Y_STOP_PIN Y_DIAG_PIN
#if Y_HOME_DIR < 0 #if Y_HOME_DIR < 0
#define Y_MAX_PIN P1_26 // Y+ #define Y_MAX_PIN P1_26 // Y+
#else #else
#define Y_MIN_PIN P1_26 // Y+ #define Y_MIN_PIN P1_26 // Y+
#endif #endif
#else #else
#define Y_MIN_PIN P1_27 // Y- #define Y_MIN_PIN P1_27 // Y-
#define Y_MAX_PIN P1_26 // Y+ #define Y_MAX_PIN P1_26 // Y+
#endif #endif
#if Z_STALL_SENSITIVITY #if Z_STALL_SENSITIVITY
#define Z_STOP_PIN Z_DIAG_PIN #define Z_STOP_PIN Z_DIAG_PIN
#if Z_HOME_DIR < 0 #if Z_HOME_DIR < 0
#define Z_MAX_PIN P1_24 // Z+ #define Z_MAX_PIN P1_24 // Z+
#else #else
#define Z_MIN_PIN P1_24 // Z+ #define Z_MIN_PIN P1_24 // Z+
#endif #endif
#else #else
#define Z_MIN_PIN P1_25 // Z- #define Z_MIN_PIN P1_25 // Z-
#define Z_MAX_PIN P1_24 // Z+ #define Z_MAX_PIN P1_24 // Z+
#endif #endif
#define ONBOARD_ENDSTOPPULLUPS // Board has built-in pullups #define ONBOARD_ENDSTOPPULLUPS // Board has built-in pullups
// //
// Servos // Servos
// //
#ifndef SERVO0_PIN #ifndef SERVO0_PIN
#define SERVO0_PIN P2_00 #define SERVO0_PIN P2_00
#endif #endif
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P1_24 #define Z_MIN_PROBE_PIN P1_24
#endif #endif
// //
// Filament Runout Sensor // Filament Runout Sensor
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN P1_28 #define FIL_RUNOUT_PIN P1_28
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_02 #define X_STEP_PIN P2_02
#define X_DIR_PIN P2_06 #define X_DIR_PIN P2_06
#define X_ENABLE_PIN P2_01 #define X_ENABLE_PIN P2_01
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN P1_17 #define X_CS_PIN P1_17
#endif #endif
#define Y_STEP_PIN P0_19 #define Y_STEP_PIN P0_19
#define Y_DIR_PIN P0_20 #define Y_DIR_PIN P0_20
#define Y_ENABLE_PIN P2_08 #define Y_ENABLE_PIN P2_08
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN P1_15 #define Y_CS_PIN P1_15
#endif #endif
#define Z_STEP_PIN P0_22 #define Z_STEP_PIN P0_22
#define Z_DIR_PIN P2_11 #define Z_DIR_PIN P2_11
#define Z_ENABLE_PIN P0_21 #define Z_ENABLE_PIN P0_21
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN P1_10 #define Z_CS_PIN P1_10
#endif #endif
#define E0_STEP_PIN P2_13 #define E0_STEP_PIN P2_13
#define E0_DIR_PIN P0_11 #define E0_DIR_PIN P0_11
#define E0_ENABLE_PIN P2_12 #define E0_ENABLE_PIN P2_12
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN P1_08 #define E0_CS_PIN P1_08
#endif #endif
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN P1_01 #define E1_CS_PIN P1_01
#endif #endif
// //
@ -140,13 +140,13 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P4_28 #define TMC_SW_MOSI P4_28
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P0_05 #define TMC_SW_MISO P0_05
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P0_04 #define TMC_SW_SCK P0_04
#endif #endif
#endif #endif
@ -172,20 +172,20 @@
// //
// Software serial // Software serial
// //
#define X_SERIAL_TX_PIN P4_29 #define X_SERIAL_TX_PIN P4_29
#define X_SERIAL_RX_PIN P1_17 #define X_SERIAL_RX_PIN P1_17
#define Y_SERIAL_TX_PIN P1_16 #define Y_SERIAL_TX_PIN P1_16
#define Y_SERIAL_RX_PIN P1_15 #define Y_SERIAL_RX_PIN P1_15
#define Z_SERIAL_TX_PIN P1_14 #define Z_SERIAL_TX_PIN P1_14
#define Z_SERIAL_RX_PIN P1_10 #define Z_SERIAL_RX_PIN P1_10
#define E0_SERIAL_TX_PIN P1_09 #define E0_SERIAL_TX_PIN P1_09
#define E0_SERIAL_RX_PIN P1_08 #define E0_SERIAL_RX_PIN P1_08
#define E1_SERIAL_TX_PIN P1_04 #define E1_SERIAL_TX_PIN P1_04
#define E1_SERIAL_RX_PIN P1_01 #define E1_SERIAL_RX_PIN P1_01
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
@ -202,23 +202,23 @@
* EXP2 EXP1 * EXP2 EXP1
*/ */
#define EXPA1_03_PIN P1_23 #define EXPA1_03_PIN P1_23
#define EXPA1_04_PIN P1_22 #define EXPA1_04_PIN P1_22
#define EXPA1_05_PIN P1_21 #define EXPA1_05_PIN P1_21
#define EXPA1_06_PIN P1_20 #define EXPA1_06_PIN P1_20
#define EXPA1_07_PIN P1_19 #define EXPA1_07_PIN P1_19
#define EXPA1_08_PIN P1_18 #define EXPA1_08_PIN P1_18
#define EXPA1_09_PIN P0_28 #define EXPA1_09_PIN P0_28
#define EXPA1_10_PIN P1_30 #define EXPA1_10_PIN P1_30
#define EXPA2_03_PIN -1 #define EXPA2_03_PIN -1
#define EXPA2_04_PIN P1_31 #define EXPA2_04_PIN P1_31
#define EXPA2_05_PIN P0_18 #define EXPA2_05_PIN P0_18
#define EXPA2_06_PIN P3_25 #define EXPA2_06_PIN P3_25
#define EXPA2_07_PIN P0_16 #define EXPA2_07_PIN P0_16
#define EXPA2_08_PIN P3_26 #define EXPA2_08_PIN P3_26
#define EXPA2_09_PIN P0_15 #define EXPA2_09_PIN P0_15
#define EXPA2_10_PIN P0_17 #define EXPA2_10_PIN P0_17
#if HAS_SPI_LCD #if HAS_SPI_LCD
@ -247,75 +247,75 @@
* LCD LCD * LCD LCD
*/ */
#define LCD_PINS_RS EXPA1_03_PIN #define LCD_PINS_RS EXPA1_03_PIN
#define BTN_EN1 EXPA1_06_PIN #define BTN_EN1 EXPA1_06_PIN
#define BTN_EN2 EXPA1_04_PIN #define BTN_EN2 EXPA1_04_PIN
#define BTN_ENC EXPA1_08_PIN #define BTN_ENC EXPA1_08_PIN
#define LCD_PINS_ENABLE EXPA1_05_PIN #define LCD_PINS_ENABLE EXPA1_05_PIN
#define LCD_PINS_D4 EXPA1_07_PIN #define LCD_PINS_D4 EXPA1_07_PIN
#elif ENABLED(CR10_STOCKDISPLAY) #elif ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS EXPA1_04_PIN #define LCD_PINS_RS EXPA1_04_PIN
#define BTN_EN1 EXPA1_08_PIN #define BTN_EN1 EXPA1_08_PIN
#define BTN_EN2 EXPA1_06_PIN #define BTN_EN2 EXPA1_06_PIN
#define BTN_ENC EXPA1_09_PIN // (58) open-drain #define BTN_ENC EXPA1_09_PIN // (58) open-drain
#define LCD_PINS_ENABLE EXPA1_03_PIN #define LCD_PINS_ENABLE EXPA1_03_PIN
#define LCD_PINS_D4 EXPA1_05_PIN #define LCD_PINS_D4 EXPA1_05_PIN
#else // !CR10_STOCKDISPLAY #else // !CR10_STOCKDISPLAY
#define LCD_PINS_RS EXPA1_07_PIN #define LCD_PINS_RS EXPA1_07_PIN
#define BTN_EN1 EXPA2_08_PIN // (31) J3-2 & AUX-4 #define BTN_EN1 EXPA2_08_PIN // (31) J3-2 & AUX-4
#define BTN_EN2 EXPA2_06_PIN // (33) J3-4 & AUX-4 #define BTN_EN2 EXPA2_06_PIN // (33) J3-4 & AUX-4
#define BTN_ENC EXPA1_09_PIN // (58) open-drain #define BTN_ENC EXPA1_09_PIN // (58) open-drain
#define LCD_PINS_ENABLE EXPA1_08_PIN #define LCD_PINS_ENABLE EXPA1_08_PIN
#define LCD_PINS_D4 EXPA1_06_PIN #define LCD_PINS_D4 EXPA1_06_PIN
#define LCD_SDSS EXPA2_07_PIN // (16) J3-7 & AUX-4 #define LCD_SDSS EXPA2_07_PIN // (16) J3-7 & AUX-4
#define SD_DETECT_PIN EXPA2_04_PIN // (49) (NOT 5V tolerant) #define SD_DETECT_PIN EXPA2_04_PIN // (49) (NOT 5V tolerant)
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
#define DOGLCD_CS EXPA1_08_PIN #define DOGLCD_CS EXPA1_08_PIN
#define DOGLCD_A0 EXPA1_07_PIN #define DOGLCD_A0 EXPA1_07_PIN
#define DOGLCD_SCK EXPA2_09_PIN #define DOGLCD_SCK EXPA2_09_PIN
#define DOGLCD_MOSI EXPA2_05_PIN #define DOGLCD_MOSI EXPA2_05_PIN
#define LCD_BACKLIGHT_PIN -1 #define LCD_BACKLIGHT_PIN -1
#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems #define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#define LCD_RESET_PIN EXPA1_06_PIN // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN EXPA1_06_PIN // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN EXPA1_05_PIN #define RGB_LED_R_PIN EXPA1_05_PIN
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN EXPA1_04_PIN #define RGB_LED_G_PIN EXPA1_04_PIN
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN EXPA1_03_PIN #define RGB_LED_B_PIN EXPA1_03_PIN
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN EXPA1_05_PIN #define NEOPIXEL_PIN EXPA1_05_PIN
#endif #endif
#else // !FYSETC_MINI_12864 #else // !FYSETC_MINI_12864
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
#define DOGLCD_CS EXPA1_05_PIN #define DOGLCD_CS EXPA1_05_PIN
#define DOGLCD_A0 EXPA1_04_PIN #define DOGLCD_A0 EXPA1_04_PIN
#define DOGLCD_SCK EXPA2_09_PIN #define DOGLCD_SCK EXPA2_09_PIN
#define DOGLCD_MOSI EXPA2_05_PIN #define DOGLCD_MOSI EXPA2_05_PIN
#elif ENABLED(ENDER2_STOCKDISPLAY) #elif ENABLED(ENDER2_STOCKDISPLAY)
@ -331,21 +331,21 @@
* EXP1 * EXP1
*/ */
#define BTN_EN1 EXPA1_08_PIN #define BTN_EN1 EXPA1_08_PIN
#define BTN_EN2 EXPA1_06_PIN #define BTN_EN2 EXPA1_06_PIN
#define BTN_ENC EXPA1_09_PIN #define BTN_ENC EXPA1_09_PIN
#define DOGLCD_CS EXPA1_04_PIN #define DOGLCD_CS EXPA1_04_PIN
#define DOGLCD_A0 EXPA1_05_PIN #define DOGLCD_A0 EXPA1_05_PIN
#define DOGLCD_SCK EXPA1_10_PIN #define DOGLCD_SCK EXPA1_10_PIN
#define DOGLCD_MOSI EXPA1_03_PIN #define DOGLCD_MOSI EXPA1_03_PIN
#define FORCE_SOFT_SPI #define FORCE_SOFT_SPI
#define LCD_BACKLIGHT_PIN -1 #define LCD_BACKLIGHT_PIN -1
#endif #endif
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)
#define LCD_PINS_D5 EXPA1_05_PIN #define LCD_PINS_D5 EXPA1_05_PIN
#define LCD_PINS_D6 EXPA1_04_PIN #define LCD_PINS_D6 EXPA1_04_PIN
#define LCD_PINS_D7 EXPA1_03_PIN #define LCD_PINS_D7 EXPA1_03_PIN
#endif #endif
#endif // !FYSETC_MINI_12864 #endif // !FYSETC_MINI_12864
@ -359,11 +359,11 @@
// //
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION LCD #define SDCARD_CONNECTION LCD
#endif #endif
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SS_PIN EXPA2_07_PIN #define SS_PIN EXPA2_07_PIN
#endif #endif
/** /**

View file

@ -37,58 +37,58 @@
// SD Connection // SD Connection
// //
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION LCD #define SDCARD_CONNECTION LCD
#endif #endif
// //
// Servos // Servos
// //
#define SERVO0_PIN P2_00 #define SERVO0_PIN P2_00
// //
// TMC StallGuard DIAG pins // TMC StallGuard DIAG pins
// //
#define X_DIAG_PIN P1_29 // X-STOP #define X_DIAG_PIN P1_29 // X-STOP
#define Y_DIAG_PIN P1_28 // Y-STOP #define Y_DIAG_PIN P1_28 // Y-STOP
#define Z_DIAG_PIN P1_27 // Z-STOP #define Z_DIAG_PIN P1_27 // Z-STOP
#define E0_DIAG_PIN P1_26 // E0DET #define E0_DIAG_PIN P1_26 // E0DET
#define E1_DIAG_PIN P1_25 // E1DET #define E1_DIAG_PIN P1_25 // E1DET
// //
// Limit Switches // Limit Switches
// //
#if X_STALL_SENSITIVITY #if X_STALL_SENSITIVITY
#define X_STOP_PIN X_DIAG_PIN #define X_STOP_PIN X_DIAG_PIN
#if X_HOME_DIR < 0 #if X_HOME_DIR < 0
#define X_MAX_PIN P1_26 // E0DET #define X_MAX_PIN P1_26 // E0DET
#else #else
#define X_MIN_PIN P1_26 // E0DET #define X_MIN_PIN P1_26 // E0DET
#endif #endif
#else #else
#define X_STOP_PIN P1_29 // X-STOP #define X_STOP_PIN P1_29 // X-STOP
#endif #endif
#if Y_STALL_SENSITIVITY #if Y_STALL_SENSITIVITY
#define Y_STOP_PIN Y_DIAG_PIN #define Y_STOP_PIN Y_DIAG_PIN
#if Y_HOME_DIR < 0 #if Y_HOME_DIR < 0
#define Y_MAX_PIN P1_25 // E1DET #define Y_MAX_PIN P1_25 // E1DET
#else #else
#define Y_MIN_PIN P1_25 // E1DET #define Y_MIN_PIN P1_25 // E1DET
#endif #endif
#else #else
#define Y_STOP_PIN P1_28 // Y-STOP #define Y_STOP_PIN P1_28 // Y-STOP
#endif #endif
#if Z_STALL_SENSITIVITY #if Z_STALL_SENSITIVITY
#define Z_STOP_PIN Z_DIAG_PIN #define Z_STOP_PIN Z_DIAG_PIN
#if Z_HOME_DIR < 0 #if Z_HOME_DIR < 0
#define Z_MAX_PIN P1_00 // PWRDET #define Z_MAX_PIN P1_00 // PWRDET
#else #else
#define Z_MIN_PIN P1_00 // PWRDET #define Z_MIN_PIN P1_00 // PWRDET
#endif #endif
#else #else
#ifndef Z_STOP_PIN #ifndef Z_STOP_PIN
#define Z_STOP_PIN P1_27 // Z-STOP #define Z_STOP_PIN P1_27 // Z-STOP
#endif #endif
#endif #endif
@ -96,82 +96,82 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P0_10 #define Z_MIN_PROBE_PIN P0_10
#endif #endif
// //
// Filament Runout Sensor // Filament Runout Sensor
// //
#define FIL_RUNOUT_PIN P1_26 // E0DET #define FIL_RUNOUT_PIN P1_26 // E0DET
#define FIL_RUNOUT2_PIN P1_25 // E1DET #define FIL_RUNOUT2_PIN P1_25 // E1DET
// //
// Power Supply Control // Power Supply Control
// //
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN P1_00 // PWRDET #define PS_ON_PIN P1_00 // PWRDET
#endif #endif
// //
// Power Loss Detection // Power Loss Detection
// //
#ifndef POWER_LOSS_PIN #ifndef POWER_LOSS_PIN
#define POWER_LOSS_PIN P1_00 // PWRDET #define POWER_LOSS_PIN P1_00 // PWRDET
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_02 #define X_STEP_PIN P2_02
#define X_DIR_PIN P2_06 #define X_DIR_PIN P2_06
#define X_ENABLE_PIN P2_01 #define X_ENABLE_PIN P2_01
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN P1_10 #define X_CS_PIN P1_10
#endif #endif
#define Y_STEP_PIN P0_19 #define Y_STEP_PIN P0_19
#define Y_DIR_PIN P0_20 #define Y_DIR_PIN P0_20
#define Y_ENABLE_PIN P2_08 #define Y_ENABLE_PIN P2_08
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN P1_09 #define Y_CS_PIN P1_09
#endif #endif
#define Z_STEP_PIN P0_22 #define Z_STEP_PIN P0_22
#define Z_DIR_PIN P2_11 #define Z_DIR_PIN P2_11
#define Z_ENABLE_PIN P0_21 #define Z_ENABLE_PIN P0_21
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN P1_08 #define Z_CS_PIN P1_08
#endif #endif
#define E0_STEP_PIN P2_13 #define E0_STEP_PIN P2_13
#define E0_DIR_PIN P0_11 #define E0_DIR_PIN P0_11
#define E0_ENABLE_PIN P2_12 #define E0_ENABLE_PIN P2_12
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN P1_04 #define E0_CS_PIN P1_04
#endif #endif
#define E1_STEP_PIN P1_15 #define E1_STEP_PIN P1_15
#define E1_DIR_PIN P1_14 #define E1_DIR_PIN P1_14
#define E1_ENABLE_PIN P1_16 #define E1_ENABLE_PIN P1_16
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN P1_01 #define E1_CS_PIN P1_01
#endif #endif
#define TEMP_1_PIN P0_23_A0 // A2 (T2) - (69) - TEMP_1_PIN #define TEMP_1_PIN P0_23_A0 // A2 (T2) - (69) - TEMP_1_PIN
#define TEMP_BED_PIN P0_25_A2 // A0 (T0) - (67) - TEMP_BED_PIN #define TEMP_BED_PIN P0_25_A2 // A0 (T0) - (67) - TEMP_BED_PIN
// //
// Software SPI pins for TMC2130 stepper drivers // Software SPI pins for TMC2130 stepper drivers
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P1_17 #define TMC_SW_MOSI P1_17
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P0_05 #define TMC_SW_MISO P0_05
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P0_04 #define TMC_SW_SCK P0_04
#endif #endif
#endif #endif
@ -197,23 +197,23 @@
// //
// Software serial // Software serial
// //
#define X_SERIAL_TX_PIN P1_10 #define X_SERIAL_TX_PIN P1_10
#define X_SERIAL_RX_PIN P1_10 #define X_SERIAL_RX_PIN P1_10
#define Y_SERIAL_TX_PIN P1_09 #define Y_SERIAL_TX_PIN P1_09
#define Y_SERIAL_RX_PIN P1_09 #define Y_SERIAL_RX_PIN P1_09
#define Z_SERIAL_TX_PIN P1_08 #define Z_SERIAL_TX_PIN P1_08
#define Z_SERIAL_RX_PIN P1_08 #define Z_SERIAL_RX_PIN P1_08
#define E0_SERIAL_TX_PIN P1_04 #define E0_SERIAL_TX_PIN P1_04
#define E0_SERIAL_RX_PIN P1_04 #define E0_SERIAL_RX_PIN P1_04
#define E1_SERIAL_TX_PIN P1_01 #define E1_SERIAL_TX_PIN P1_01
#define E1_SERIAL_RX_PIN P1_01 #define E1_SERIAL_RX_PIN P1_01
#define Z2_SERIAL_TX_PIN P1_01 #define Z2_SERIAL_TX_PIN P1_01
#define Z2_SERIAL_RX_PIN P1_01 #define Z2_SERIAL_RX_PIN P1_01
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
@ -223,7 +223,7 @@
// SD Connection // SD Connection
// //
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SS_PIN P0_16 #define SS_PIN P0_16
#endif #endif
/** /**
@ -239,82 +239,82 @@
#if HAS_SPI_LCD #if HAS_SPI_LCD
#if ENABLED(ANET_FULL_GRAPHICS_LCD) #if ENABLED(ANET_FULL_GRAPHICS_LCD)
#define LCD_PINS_RS P1_23 #define LCD_PINS_RS P1_23
#define BTN_EN1 P1_20 #define BTN_EN1 P1_20
#define BTN_EN2 P1_22 #define BTN_EN2 P1_22
#define BTN_ENC P1_18 #define BTN_ENC P1_18
#define LCD_PINS_ENABLE P1_21 #define LCD_PINS_ENABLE P1_21
#define LCD_PINS_D4 P1_19 #define LCD_PINS_D4 P1_19
#elif ENABLED(CR10_STOCKDISPLAY) #elif ENABLED(CR10_STOCKDISPLAY)
#define BTN_ENC P0_28 // (58) open-drain #define BTN_ENC P0_28 // (58) open-drain
#define LCD_PINS_RS P1_22 #define LCD_PINS_RS P1_22
#define BTN_EN1 P1_18 #define BTN_EN1 P1_18
#define BTN_EN2 P1_20 #define BTN_EN2 P1_20
#define LCD_PINS_ENABLE P1_23 #define LCD_PINS_ENABLE P1_23
#define LCD_PINS_D4 P1_21 #define LCD_PINS_D4 P1_21
#else #else
#define BTN_ENC P0_28 // (58) open-drain #define BTN_ENC P0_28 // (58) open-drain
#define LCD_PINS_RS P1_19 #define LCD_PINS_RS P1_19
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4 #define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
#define BTN_EN2 P3_25 // (33) J3-4 & AUX-4 #define BTN_EN2 P3_25 // (33) J3-4 & AUX-4
#define LCD_PINS_ENABLE P1_18 #define LCD_PINS_ENABLE P1_18
#define LCD_PINS_D4 P1_20 #define LCD_PINS_D4 P1_20
#define LCD_SDSS P0_16 // (16) J3-7 & AUX-4 #define LCD_SDSS P0_16 // (16) J3-7 & AUX-4
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SD_DETECT_PIN P1_31 // (49) (NOT 5V tolerant) #define SD_DETECT_PIN P1_31 // (49) (NOT 5V tolerant)
#endif #endif
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
#define DOGLCD_CS P1_18 #define DOGLCD_CS P1_18
#define DOGLCD_A0 P1_19 #define DOGLCD_A0 P1_19
#define DOGLCD_SCK P0_15 #define DOGLCD_SCK P0_15
#define DOGLCD_MOSI P0_18 #define DOGLCD_MOSI P0_18
#define LCD_BACKLIGHT_PIN -1 #define LCD_BACKLIGHT_PIN -1
#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems #define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#define LCD_RESET_PIN P1_20 // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN P1_20 // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN P1_21 #define RGB_LED_R_PIN P1_21
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN P1_22 #define RGB_LED_G_PIN P1_22
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN P1_23 #define RGB_LED_B_PIN P1_23
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN P1_21 #define NEOPIXEL_PIN P1_21
#endif #endif
#else // !FYSETC_MINI_12864 #else // !FYSETC_MINI_12864
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
#define DOGLCD_CS P1_21 #define DOGLCD_CS P1_21
#define DOGLCD_A0 P1_22 #define DOGLCD_A0 P1_22
#define DOGLCD_SCK P0_15 #define DOGLCD_SCK P0_15
#define DOGLCD_MOSI P0_18 #define DOGLCD_MOSI P0_18
#define FORCE_SOFT_SPI #define FORCE_SOFT_SPI
#endif #endif
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)
#define LCD_PINS_D5 P1_21 #define LCD_PINS_D5 P1_21
#define LCD_PINS_D6 P1_22 #define LCD_PINS_D6 P1_22
#define LCD_PINS_D7 P1_23 #define LCD_PINS_D7 P1_23
#endif #endif
#endif // !FYSETC_MINI_12864 #endif // !FYSETC_MINI_12864
@ -327,7 +327,7 @@
// Neopixel LED // Neopixel LED
// //
#ifndef NEOPIXEL_PIN #ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN P1_24 #define NEOPIXEL_PIN P1_24
#endif #endif
/** /**

View file

@ -40,13 +40,13 @@
// Steppers // Steppers
// //
#ifndef E1_STEP_PIN #ifndef E1_STEP_PIN
#define E1_STEP_PIN P0_01 #define E1_STEP_PIN P0_01
#endif #endif
#ifndef E1_DIR_PIN #ifndef E1_DIR_PIN
#define E1_DIR_PIN P0_00 #define E1_DIR_PIN P0_00
#endif #endif
#ifndef E1_ENABLE_PIN #ifndef E1_ENABLE_PIN
#define E1_ENABLE_PIN P0_10 #define E1_ENABLE_PIN P0_10
#endif #endif
// //
@ -54,64 +54,64 @@
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#ifndef TEMP_0_PIN #ifndef TEMP_0_PIN
#define TEMP_0_PIN P0_24_A1 // A1 (T1) - (68) - TEMP_0_PIN #define TEMP_0_PIN P0_24_A1 // A1 (T1) - (68) - TEMP_0_PIN
#endif #endif
#ifndef TEMP_1_PIN #ifndef TEMP_1_PIN
#define TEMP_1_PIN P0_25_A2 // A2 (T2) - (69) - TEMP_1_PIN #define TEMP_1_PIN P0_25_A2 // A2 (T2) - (69) - TEMP_1_PIN
#endif #endif
#ifndef TEMP_BED_PIN #ifndef TEMP_BED_PIN
#define TEMP_BED_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_BED_PIN #define TEMP_BED_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_BED_PIN
#endif #endif
#if HOTENDS == 1 && TEMP_SENSOR_PROBE #if HOTENDS == 1 && TEMP_SENSOR_PROBE
#define TEMP_PROBE_PIN TEMP_1_PIN #define TEMP_PROBE_PIN TEMP_1_PIN
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#ifndef HEATER_0_PIN #ifndef HEATER_0_PIN
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#endif #endif
#if HOTENDS == 1 #if HOTENDS == 1
#ifndef FAN1_PIN #ifndef FAN1_PIN
#define FAN1_PIN P2_04 #define FAN1_PIN P2_04
#endif #endif
#else #else
#ifndef HEATER_1_PIN #ifndef HEATER_1_PIN
#define HEATER_1_PIN P2_04 #define HEATER_1_PIN P2_04
#endif #endif
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_03 #define FAN_PIN P2_03
#endif #endif
#ifndef HEATER_BED_PIN #ifndef HEATER_BED_PIN
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#endif #endif
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN P1_30 // (37) not 5V tolerant #define BEEPER_PIN P1_30 // (37) not 5V tolerant
#endif #endif
// //
// SD Support // SD Support
// //
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_15 #define SCK_PIN P0_15
#define MISO_PIN P0_17 #define MISO_PIN P0_17
#define MOSI_PIN P0_18 #define MOSI_PIN P0_18
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SD_DETECT_PIN P0_27 #define SD_DETECT_PIN P0_27
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#elif SD_CONNECTION_IS(CUSTOM_CABLE) #elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board." #error "No custom SD drive cable defined for this board."
#endif #endif

View file

@ -44,63 +44,63 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_26 // PWM1[6] #define SERVO0_PIN P1_26 // PWM1[6]
#define SERVO1_PIN P1_18 // PWM1[1] #define SERVO1_PIN P1_18 // PWM1[1]
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P0_00 #define X_MIN_PIN P0_00
#define X_MAX_PIN P0_01 #define X_MAX_PIN P0_01
#define Y_MIN_PIN P0_10 #define Y_MIN_PIN P0_10
#define Y_MAX_PIN P0_21 #define Y_MAX_PIN P0_21
#define Z_MIN_PIN P2_13 #define Z_MIN_PIN P2_13
#define Z_MAX_PIN P2_22 #define Z_MAX_PIN P2_22
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P1_01 #define X_STEP_PIN P1_01
#define X_DIR_PIN P1_04 #define X_DIR_PIN P1_04
#define X_ENABLE_PIN P0_26 #define X_ENABLE_PIN P0_26
#define Y_STEP_PIN P1_10 #define Y_STEP_PIN P1_10
#define Y_DIR_PIN P1_14 #define Y_DIR_PIN P1_14
#define Y_ENABLE_PIN P1_08 #define Y_ENABLE_PIN P1_08
#define Z_STEP_PIN P1_17 #define Z_STEP_PIN P1_17
#define Z_DIR_PIN P4_29 #define Z_DIR_PIN P4_29
#define Z_ENABLE_PIN P1_15 #define Z_ENABLE_PIN P1_15
#define E0_STEP_PIN P0_05 #define E0_STEP_PIN P0_05
#define E0_DIR_PIN P2_00 #define E0_DIR_PIN P2_00
#define E0_ENABLE_PIN P4_28 #define E0_ENABLE_PIN P4_28
#define E1_STEP_PIN P2_03 #define E1_STEP_PIN P2_03
#define E1_DIR_PIN P2_04 #define E1_DIR_PIN P2_04
#define E1_ENABLE_PIN P2_01 #define E1_ENABLE_PIN P2_01
#define E2_STEP_PIN P2_07 #define E2_STEP_PIN P2_07
#define E2_DIR_PIN P2_08 #define E2_DIR_PIN P2_08
#define E2_ENABLE_PIN P2_05 #define E2_ENABLE_PIN P2_05
// //
// TMC2208 UART pins // TMC2208 UART pins
// //
#if HAS_TMC_UART #if HAS_TMC_UART
#define X_SERIAL_TX_PIN P1_00 #define X_SERIAL_TX_PIN P1_00
#define X_SERIAL_RX_PIN P1_00 #define X_SERIAL_RX_PIN P1_00
#define Y_SERIAL_TX_PIN P1_09 #define Y_SERIAL_TX_PIN P1_09
#define Y_SERIAL_RX_PIN P1_09 #define Y_SERIAL_RX_PIN P1_09
#define Z_SERIAL_TX_PIN P1_16 #define Z_SERIAL_TX_PIN P1_16
#define Z_SERIAL_RX_PIN P1_16 #define Z_SERIAL_RX_PIN P1_16
#define E0_SERIAL_TX_PIN P0_04 #define E0_SERIAL_TX_PIN P0_04
#define E0_SERIAL_RX_PIN P0_04 #define E0_SERIAL_RX_PIN P0_04
#define E1_SERIAL_TX_PIN P2_02 #define E1_SERIAL_TX_PIN P2_02
#define E1_SERIAL_RX_PIN P2_02 #define E1_SERIAL_RX_PIN P2_02
#define E2_SERIAL_TX_PIN P2_06 #define E2_SERIAL_TX_PIN P2_06
#define E2_SERIAL_RX_PIN P2_06 #define E2_SERIAL_RX_PIN P2_06
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
@ -112,36 +112,36 @@
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_24_A1 // AD0[0] on P0_23 #define TEMP_0_PIN P0_24_A1 // AD0[0] on P0_23
#define TEMP_BED_PIN P0_23_A0 // AD0[1] on P0_24 #define TEMP_BED_PIN P0_23_A0 // AD0[1] on P0_24
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P1_19 // Not a PWM pin, software PWM required #define HEATER_BED_PIN P1_19 // Not a PWM pin, software PWM required
#define HEATER_0_PIN P3_26 // PWM1[3] #define HEATER_0_PIN P3_26 // PWM1[3]
#define FAN_PIN P3_25 // Part cooling fan - connected to PWM1[2] #define FAN_PIN P3_25 // Part cooling fan - connected to PWM1[2]
#define E0_AUTO_FAN_PIN P0_27 // Extruder cooling fan #define E0_AUTO_FAN_PIN P0_27 // Extruder cooling fan
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN P1_31 #define LED_PIN P1_31
// //
// LCD // LCD
// //
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN P0_19 #define BEEPER_PIN P0_19
#define BTN_EN1 P1_23 #define BTN_EN1 P1_23
#define BTN_EN2 P1_24 #define BTN_EN2 P1_24
#define BTN_ENC P1_25 #define BTN_ENC P1_25
#define LCD_PINS_RS P0_20 #define LCD_PINS_RS P0_20
#define LCD_PINS_ENABLE P0_21 #define LCD_PINS_ENABLE P0_21
#define LCD_PINS_D4 P2_11 #define LCD_PINS_D4 P2_11
#define LCD_PINS_D5 P0_22 #define LCD_PINS_D5 P0_22
#define LCD_PINS_D6 P1_29 #define LCD_PINS_D6 P1_29
#define LCD_PINS_D7 P1_28 #define LCD_PINS_D7 P1_28
#endif #endif
// //
@ -149,21 +149,21 @@
// //
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION LCD #define SDCARD_CONNECTION LCD
#endif #endif
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_15 #define SCK_PIN P0_15
#define MISO_PIN P0_17 #define MISO_PIN P0_17
#define MOSI_PIN P0_18 #define MOSI_PIN P0_18
#define SS_PIN P0_16 #define SS_PIN P0_16
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SD_DETECT_PIN P0_27 #define SD_DETECT_PIN P0_27
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#endif #endif

View file

@ -46,73 +46,73 @@
//#define SDCARD_EEPROM_EMULATION //#define SDCARD_EEPROM_EMULATION
#endif #endif
#define LED_PIN P1_18 // Used as a status indicator #define LED_PIN P1_18 // Used as a status indicator
#define LED2_PIN P1_19 #define LED2_PIN P1_19
#define LED3_PIN P1_20 #define LED3_PIN P1_20
#define LED4_PIN P1_21 #define LED4_PIN P1_21
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 // J8-3 (low jitter) #define SERVO0_PIN P1_23 // J8-3 (low jitter)
#define SERVO1_PIN P2_12 // J8-4 #define SERVO1_PIN P2_12 // J8-4
#define SERVO2_PIN P2_11 // J8-5 #define SERVO2_PIN P2_11 // J8-5
#define SERVO3_PIN P4_28 // J8-6 #define SERVO3_PIN P4_28 // J8-6
// //
// Limit Switches - Not Interrupt Capable // Limit Switches - Not Interrupt Capable
// //
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series #define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series #define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V, 1K series #define Y_MIN_PIN P1_26 // 10k pullup to 3.3V, 1K series
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V, 1K series #define Y_MAX_PIN P1_27 // 10k pullup to 3.3V, 1K series
#define Z_MIN_PIN P1_28 // The original Mks Sbase DIO19 has a 10k pullup to 3.3V or 5V, 1K series, so when using a Zprobe we must use DIO41 (J8 P1.22) #define Z_MIN_PIN P1_28 // The original Mks Sbase DIO19 has a 10k pullup to 3.3V or 5V, 1K series, so when using a Zprobe we must use DIO41 (J8 P1.22)
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series #define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P4_28 // Connector J8 #define Z_MIN_PROBE_PIN P4_28 // Connector J8
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1) #define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
#define TEMP_0_PIN P0_24_A1 // A1 (TH2) #define TEMP_0_PIN P0_24_A1 // A1 (TH2)
#define TEMP_1_PIN P0_25_A2 // A2 (TH3) #define TEMP_1_PIN P0_25_A2 // A2 (TH3)
#define TEMP_2_PIN P0_26_A3 // A3 (TH4) #define TEMP_2_PIN P0_26_A3 // A3 (TH4)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#define HEATER_1_PIN P2_06 #define HEATER_1_PIN P2_06
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_04 #define FAN_PIN P2_04
#endif #endif
// //
@ -124,56 +124,56 @@
// 5V // 5V
// NC // NC
// GND // GND
#define PIN_P0_17 P0_17 #define PIN_P0_17 P0_17
#define PIN_P0_16 P0_16 #define PIN_P0_16 P0_16
#define PIN_P0_15 P0_15 #define PIN_P0_15 P0_15
// //
// Connector J8 // Connector J8
// //
// GND // GND
#define PIN_P1_22 P1_22 #define PIN_P1_22 P1_22
#define PIN_P1_23 P1_23 // PWM Capable #define PIN_P1_23 P1_23 // PWM Capable
#define PIN_P2_12 P2_12 // Interrupt Capable #define PIN_P2_12 P2_12 // Interrupt Capable
#define PIN_P2_11 P2_11 // Interrupt Capable #define PIN_P2_11 P2_11 // Interrupt Capable
// //
// Průša i3 MK2 Multi Material Multiplexer Support // Průša i3 MK2 Multi Material Multiplexer Support
// //
#if ENABLED(MK2_MULTIPLEXER) #if ENABLED(MK2_MULTIPLEXER)
#define E_MUX0_PIN P1_23 // J8-3 #define E_MUX0_PIN P1_23 // J8-3
#define E_MUX1_PIN P2_12 // J8-4 #define E_MUX1_PIN P2_12 // J8-4
#define E_MUX2_PIN P2_11 // J8-5 #define E_MUX2_PIN P2_11 // J8-5
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define PS_ON_PIN P0_25 // TH3 Connector #define PS_ON_PIN P0_25 // TH3 Connector
// //
// Ethernet pins // Ethernet pins
// //
#ifndef ULTIPANEL #ifndef ULTIPANEL
#define ENET_MDIO P1_17 // J12-4 #define ENET_MDIO P1_17 // J12-4
#define ENET_RX_ER P1_14 // J12-6 #define ENET_RX_ER P1_14 // J12-6
#define ENET_RXD1 P1_10 // J12-8 #define ENET_RXD1 P1_10 // J12-8
#endif #endif
#define ENET_MOC P1_16 // J12-3 #define ENET_MOC P1_16 // J12-3
#define REF_CLK P1_15 // J12-5 #define REF_CLK P1_15 // J12-5
#define ENET_RXD0 P1_09 // J12-7 #define ENET_RXD0 P1_09 // J12-7
#define ENET_CRS P1_08 // J12-9 #define ENET_CRS P1_08 // J12-9
#define ENET_TX_EN P1_04 // J12-10 #define ENET_TX_EN P1_04 // J12-10
#define ENET_TXD0 P1_00 // J12-11 #define ENET_TXD0 P1_00 // J12-11
#define ENET_TXD1 P1_01 // J12-12 #define ENET_TXD1 P1_01 // J12-12
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#endif #endif
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(CUSTOM_CABLE) #if SD_CONNECTION_IS(CUSTOM_CABLE)
@ -189,27 +189,27 @@
* If you can't find a pin to use for the LCD's SD_DETECT then comment out * If you can't find a pin to use for the LCD's SD_DETECT then comment out
* SD_DETECT_PIN entirely and remove that wire from the the custom cable. * SD_DETECT_PIN entirely and remove that wire from the the custom cable.
*/ */
#define SD_DETECT_PIN P2_11 // J8-5 (moved from EXP2 P0.27) #define SD_DETECT_PIN P2_11 // J8-5 (moved from EXP2 P0.27)
#define SCK_PIN P1_22 // J8-2 (moved from EXP2 P0.7) #define SCK_PIN P1_22 // J8-2 (moved from EXP2 P0.7)
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8) #define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.9) #define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.9)
#define SS_PIN P0_28 #define SS_PIN P0_28
#define LPC_SOFTWARE_SPI // With a custom cable we need software SPI because the #define LPC_SOFTWARE_SPI // With a custom cable we need software SPI because the
// selected pins are not on a hardware SPI controller // selected pins are not on a hardware SPI controller
#elif SD_CONNECTION_IS(LCD) #elif SD_CONNECTION_IS(LCD)
// use standard cable and header, SPI and SD detect sre shared with on-board SD card // use standard cable and header, SPI and SD detect sre shared with on-board SD card
// hardware SPI is used for both SD cards. The detect pin is shred between the // hardware SPI is used for both SD cards. The detect pin is shred between the
// LCD and onboard SD readers so we disable it. // LCD and onboard SD readers so we disable it.
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN P0_28 #define SS_PIN P0_28
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#define SD_DETECT_PIN P0_27 #define SD_DETECT_PIN P0_27
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#endif #endif
/** /**
@ -226,17 +226,17 @@
*/ */
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN P1_31 // EXP1.1 #define BEEPER_PIN P1_31 // EXP1.1
#define BTN_ENC P1_30 // EXP1.2 #define BTN_ENC P1_30 // EXP1.2
#define BTN_EN1 P3_26 // EXP2.5 #define BTN_EN1 P3_26 // EXP2.5
#define BTN_EN2 P3_25 // EXP2.3 #define BTN_EN2 P3_25 // EXP2.3
#define LCD_PINS_RS P0_16 // EXP1.4 #define LCD_PINS_RS P0_16 // EXP1.4
#define LCD_SDSS P0_28 // EXP2.4 #define LCD_SDSS P0_28 // EXP2.4
#define LCD_PINS_ENABLE P0_18 // EXP1.3 #define LCD_PINS_ENABLE P0_18 // EXP1.3
#define LCD_PINS_D4 P0_15 // EXP1.5 #define LCD_PINS_D4 P0_15 // EXP1.5
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#define DOGLCD_SCK SCK_PIN #define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN #define DOGLCD_MOSI MOSI_PIN
#endif #endif
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
@ -251,26 +251,26 @@
* Pins 6, 7 & 8 on EXP2 are no connects. That means a second special * Pins 6, 7 & 8 on EXP2 are no connects. That means a second special
* cable will be needed if the RGB LEDs are to be active. * cable will be needed if the RGB LEDs are to be active.
*/ */
#define DOGLCD_CS LCD_PINS_ENABLE // EXP1.3 (LCD_EN on FYSETC schematic) #define DOGLCD_CS LCD_PINS_ENABLE // EXP1.3 (LCD_EN on FYSETC schematic)
#define DOGLCD_A0 LCD_PINS_RS // EXP1.4 (LCD_A0 on FYSETC schematic) #define DOGLCD_A0 LCD_PINS_RS // EXP1.4 (LCD_A0 on FYSETC schematic)
#define DOGLCD_SCK P2_11 // J8-5 (SCK on FYSETC schematic) #define DOGLCD_SCK P2_11 // J8-5 (SCK on FYSETC schematic)
#define DOGLCD_MOSI P4_28 // J8-6 (MOSI on FYSETC schematic) #define DOGLCD_MOSI P4_28 // J8-6 (MOSI on FYSETC schematic)
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN P2_12 // J8-4 (LCD_D6 on FYSETC schematic) #define RGB_LED_R_PIN P2_12 // J8-4 (LCD_D6 on FYSETC schematic)
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN P1_23 // J8-3 (LCD_D5 on FYSETC schematic) #define RGB_LED_G_PIN P1_23 // J8-3 (LCD_D5 on FYSETC schematic)
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN P1_22 // J8-2 (LCD_D7 on FYSETC schematic) #define RGB_LED_B_PIN P1_22 // J8-2 (LCD_D7 on FYSETC schematic)
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN P2_12 #define NEOPIXEL_PIN P2_12
#endif #endif
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
@ -291,24 +291,24 @@
#if HAS_DRIVER(TMC2130) #if HAS_DRIVER(TMC2130)
// J8 // J8
#define X_CS_PIN P1_22 #define X_CS_PIN P1_22
#define Y_CS_PIN P1_23 #define Y_CS_PIN P1_23
#define Z_CS_PIN P2_12 #define Z_CS_PIN P2_12
#define E0_CS_PIN P2_11 #define E0_CS_PIN P2_11
#define E1_CS_PIN P4_28 #define E1_CS_PIN P4_28
// Hardware SPI is on EXP2. See if you can make it work: // Hardware SPI is on EXP2. See if you can make it work:
// https://github.com/makerbase-mks/MKS-SBASE/issues/25 // https://github.com/makerbase-mks/MKS-SBASE/issues/25
#define TMC_USE_SW_SPI #define TMC_USE_SW_SPI
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P0_03 // AUX1 #define TMC_SW_MOSI P0_03 // AUX1
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P0_02 // AUX1 #define TMC_SW_MISO P0_02 // AUX1
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P0_26 // TH4 #define TMC_SW_SCK P0_26 // TH4
#endif #endif
#endif #endif
#endif #endif
@ -322,24 +322,24 @@
* Worst case you may have to give up the LCD * Worst case you may have to give up the LCD
* RX pins need to be interrupt capable * RX pins need to be interrupt capable
*/ */
#define X_SERIAL_TX_PIN P1_22 // J8-2 #define X_SERIAL_TX_PIN P1_22 // J8-2
#define X_SERIAL_RX_PIN P2_12 // J8-4 Interrupt Capable #define X_SERIAL_RX_PIN P2_12 // J8-4 Interrupt Capable
#define Y_SERIAL_TX_PIN P1_23 // J8-3 #define Y_SERIAL_TX_PIN P1_23 // J8-3
#define Y_SERIAL_RX_PIN P2_11 // J8-5 Interrupt Capable #define Y_SERIAL_RX_PIN P2_11 // J8-5 Interrupt Capable
#define Z_SERIAL_TX_PIN P2_12 // J8-4 #define Z_SERIAL_TX_PIN P2_12 // J8-4
#define Z_SERIAL_RX_PIN P0_25 // TH3 #define Z_SERIAL_RX_PIN P0_25 // TH3
#define E0_SERIAL_TX_PIN P4_28 // J8-6 #define E0_SERIAL_TX_PIN P4_28 // J8-6
#define E0_SERIAL_RX_PIN P0_26 // TH4 #define E0_SERIAL_RX_PIN P0_26 // TH4
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// UNUSED // UNUSED
#define PIN_P0_27 P0_27 // EXP2/Onboard SD #define PIN_P0_27 P0_27 // EXP2/Onboard SD
#define PIN_P0_28 P0_28 // EXP2 #define PIN_P0_28 P0_28 // EXP2
#define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0) #define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
#define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0) #define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
/** /**
* PWMs * PWMs

View file

@ -41,100 +41,100 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 // SERVO P1.23 #define SERVO0_PIN P1_23 // SERVO P1.23
#define SERVO1_PIN P2_00 // SERVO P2.0 #define SERVO1_PIN P2_00 // SERVO P2.0
// //
// Trinamic Stallguard pins // Trinamic Stallguard pins
// //
#define X_DIAG_PIN P1_29 // X- #define X_DIAG_PIN P1_29 // X-
#define Y_DIAG_PIN P1_27 // Y- #define Y_DIAG_PIN P1_27 // Y-
#define Z_DIAG_PIN P1_25 // Z- #define Z_DIAG_PIN P1_25 // Z-
#define E0_DIAG_PIN P1_28 // X+ #define E0_DIAG_PIN P1_28 // X+
#define E1_DIAG_PIN P1_26 // Y+ #define E1_DIAG_PIN P1_26 // Y+
// //
// Limit Switches // Limit Switches
// //
#if X_STALL_SENSITIVITY #if X_STALL_SENSITIVITY
#define X_STOP_PIN X_DIAG_PIN #define X_STOP_PIN X_DIAG_PIN
#if X_HOME_DIR < 0 #if X_HOME_DIR < 0
#define X_MAX_PIN P1_28 // X+ #define X_MAX_PIN P1_28 // X+
#else #else
#define X_MIN_PIN P1_28 // X+ #define X_MIN_PIN P1_28 // X+
#endif #endif
#else #else
#define X_MIN_PIN P1_29 // X- #define X_MIN_PIN P1_29 // X-
#define X_MAX_PIN P1_28 // X+ #define X_MAX_PIN P1_28 // X+
#endif #endif
#if Y_STALL_SENSITIVITY #if Y_STALL_SENSITIVITY
#define Y_STOP_PIN Y_DIAG_PIN #define Y_STOP_PIN Y_DIAG_PIN
#if Y_HOME_DIR < 0 #if Y_HOME_DIR < 0
#define Y_MAX_PIN P1_26 // Y+ #define Y_MAX_PIN P1_26 // Y+
#else #else
#define Y_MIN_PIN P1_26 // Y+ #define Y_MIN_PIN P1_26 // Y+
#endif #endif
#else #else
#define Y_MIN_PIN P1_27 // Y- #define Y_MIN_PIN P1_27 // Y-
#define Y_MAX_PIN P1_26 // Y+ #define Y_MAX_PIN P1_26 // Y+
#endif #endif
#if Z_STALL_SENSITIVITY #if Z_STALL_SENSITIVITY
#define Z_STOP_PIN Z_DIAG_PIN #define Z_STOP_PIN Z_DIAG_PIN
#if Z_HOME_DIR < 0 #if Z_HOME_DIR < 0
#define Z_MAX_PIN P1_24 // Z+ #define Z_MAX_PIN P1_24 // Z+
#else #else
#define Z_MIN_PIN P1_24 // Z+ #define Z_MIN_PIN P1_24 // Z+
#endif #endif
#else #else
#define Z_MIN_PIN P1_25 // Z- #define Z_MIN_PIN P1_25 // Z-
#define Z_MAX_PIN P1_24 // Z+ #define Z_MAX_PIN P1_24 // Z+
#endif #endif
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P1_24 #define Z_MIN_PROBE_PIN P1_24
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_02 #define X_STEP_PIN P2_02
#define X_DIR_PIN P2_03 #define X_DIR_PIN P2_03
#define X_ENABLE_PIN P2_01 #define X_ENABLE_PIN P2_01
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN P1_01 #define X_CS_PIN P1_01
#endif #endif
#define Y_STEP_PIN P0_19 #define Y_STEP_PIN P0_19
#define Y_DIR_PIN P0_20 #define Y_DIR_PIN P0_20
#define Y_ENABLE_PIN P2_08 #define Y_ENABLE_PIN P2_08
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN P1_08 #define Y_CS_PIN P1_08
#endif #endif
#define Z_STEP_PIN P0_22 #define Z_STEP_PIN P0_22
#define Z_DIR_PIN P2_11 #define Z_DIR_PIN P2_11
#define Z_ENABLE_PIN P0_21 #define Z_ENABLE_PIN P0_21
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN P1_10 #define Z_CS_PIN P1_10
#endif #endif
#define E0_STEP_PIN P2_13 #define E0_STEP_PIN P2_13
#define E0_DIR_PIN P0_11 #define E0_DIR_PIN P0_11
#define E0_ENABLE_PIN P2_12 #define E0_ENABLE_PIN P2_12
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN P1_15 #define E0_CS_PIN P1_15
#endif #endif
#define E1_STEP_PIN P0_01 #define E1_STEP_PIN P0_01
#define E1_DIR_PIN P0_00 #define E1_DIR_PIN P0_00
#define E1_ENABLE_PIN P0_10 #define E1_ENABLE_PIN P0_10
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN P1_17 #define E1_CS_PIN P1_17
#endif #endif
// //
@ -142,13 +142,13 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P4_28 #define TMC_SW_MOSI P4_28
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P0_05 #define TMC_SW_MISO P0_05
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P0_04 #define TMC_SW_SCK P0_04
#endif #endif
#endif #endif
@ -175,23 +175,23 @@
// Software serial // Software serial
// //
#define X_SERIAL_TX_PIN P1_04 #define X_SERIAL_TX_PIN P1_04
#define X_SERIAL_RX_PIN P1_01 #define X_SERIAL_RX_PIN P1_01
#define Y_SERIAL_TX_PIN P1_09 #define Y_SERIAL_TX_PIN P1_09
#define Y_SERIAL_RX_PIN P1_08 #define Y_SERIAL_RX_PIN P1_08
#define Z_SERIAL_TX_PIN P1_14 #define Z_SERIAL_TX_PIN P1_14
#define Z_SERIAL_RX_PIN P1_10 #define Z_SERIAL_RX_PIN P1_10
#define E0_SERIAL_TX_PIN P1_16 #define E0_SERIAL_TX_PIN P1_16
#define E0_SERIAL_RX_PIN P1_15 #define E0_SERIAL_RX_PIN P1_15
#define E1_SERIAL_TX_PIN P4_29 #define E1_SERIAL_TX_PIN P4_29
#define E1_SERIAL_RX_PIN P1_17 #define E1_SERIAL_RX_PIN P1_17
#define Z2_SERIAL_TX_PIN P4_29 #define Z2_SERIAL_TX_PIN P4_29
#define Z2_SERIAL_RX_PIN P1_17 #define Z2_SERIAL_RX_PIN P1_17
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
@ -201,35 +201,35 @@
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 // Analog Input A0 (TH1) #define TEMP_0_PIN P0_23_A0 // Analog Input A0 (TH1)
#define TEMP_BED_PIN P0_24_A1 // Analog Input A1 (TB) #define TEMP_BED_PIN P0_24_A1 // Analog Input A1 (TB)
#define TEMP_1_PIN P0_25_A2 // Analog Input A2 (TH2) #define TEMP_1_PIN P0_25_A2 // Analog Input A2 (TH2)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#if HOTENDS == 1 #if HOTENDS == 1
#ifndef FAN1_PIN #ifndef FAN1_PIN
#define FAN1_PIN P2_06 #define FAN1_PIN P2_06
#endif #endif
#else #else
#ifndef HEATER_1_PIN #ifndef HEATER_1_PIN
#define HEATER_1_PIN P2_06 #define HEATER_1_PIN P2_06
#endif #endif
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_04 #define FAN_PIN P2_04
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN P1_18 // Used as a status indicator #define LED_PIN P1_18 // Used as a status indicator
#define LED2_PIN P1_19 #define LED2_PIN P1_19
#define LED3_PIN P1_20 #define LED3_PIN P1_20
#define LED4_PIN P1_21 #define LED4_PIN P1_21
/** /**
* _____ _____ * _____ _____
@ -242,83 +242,83 @@
* EXP1 EXP2 * EXP1 EXP2
*/ */
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN P1_31 #define BEEPER_PIN P1_31
#define BTN_ENC P1_30 #define BTN_ENC P1_30
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS P1_00 #define LCD_PINS_RS P1_00
#define BTN_EN1 P0_18 #define BTN_EN1 P0_18
#define BTN_EN2 P0_15 #define BTN_EN2 P0_15
#define LCD_PINS_ENABLE P1_22 #define LCD_PINS_ENABLE P1_22
#define LCD_PINS_D4 P0_17 #define LCD_PINS_D4 P0_17
#else #else
#define BTN_EN1 P3_25 #define BTN_EN1 P3_25
#define BTN_EN2 P3_26 #define BTN_EN2 P3_26
#define LCD_SDSS P0_28 #define LCD_SDSS P0_28
#if ENABLED(MKS_12864OLED_SSD1306) #if ENABLED(MKS_12864OLED_SSD1306)
#define LCD_PINS_DC P0_17 #define LCD_PINS_DC P0_17
#define DOGLCD_CS P0_16 #define DOGLCD_CS P0_16
#define DOGLCD_A0 LCD_PINS_DC #define DOGLCD_A0 LCD_PINS_DC
#define DOGLCD_SCK P0_15 #define DOGLCD_SCK P0_15
#define DOGLCD_MOSI P0_18 #define DOGLCD_MOSI P0_18
#define LCD_PINS_RS P1_00 #define LCD_PINS_RS P1_00
#define LCD_PINS_D7 P1_22 #define LCD_PINS_D7 P1_22
#define KILL_PIN -1 // NC #define KILL_PIN -1 // NC
#else // !MKS_12864OLED_SSD1306 #else // !MKS_12864OLED_SSD1306
#define LCD_PINS_RS P0_16 #define LCD_PINS_RS P0_16
#define LCD_PINS_ENABLE P0_18 #define LCD_PINS_ENABLE P0_18
#define LCD_PINS_D4 P0_15 #define LCD_PINS_D4 P0_15
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
#define DOGLCD_CS P0_18 #define DOGLCD_CS P0_18
#define DOGLCD_A0 P0_16 #define DOGLCD_A0 P0_16
#define DOGLCD_SCK P0_07 #define DOGLCD_SCK P0_07
#define DOGLCD_MOSI P1_20 #define DOGLCD_MOSI P1_20
#define LCD_BACKLIGHT_PIN -1 #define LCD_BACKLIGHT_PIN -1
#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems #define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#define LCD_RESET_PIN P0_15 // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN P0_15 // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN P0_17 #define RGB_LED_R_PIN P0_17
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN P1_00 #define RGB_LED_G_PIN P1_00
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN P1_22 #define RGB_LED_B_PIN P1_22
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN P0_17 #define NEOPIXEL_PIN P0_17
#endif #endif
#else // !FYSETC_MINI_12864 #else // !FYSETC_MINI_12864
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
#define DOGLCD_CS P0_17 #define DOGLCD_CS P0_17
#define DOGLCD_A0 P1_00 #define DOGLCD_A0 P1_00
#endif #endif
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)
#define LCD_PINS_D5 P0_17 #define LCD_PINS_D5 P0_17
#define LCD_PINS_D6 P1_00 #define LCD_PINS_D6 P1_00
#define LCD_PINS_D7 P1_22 #define LCD_PINS_D7 P1_22
#endif #endif
#endif // !FYSETC_MINI_12864 #endif // !FYSETC_MINI_12864
@ -330,20 +330,20 @@
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#endif #endif
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(LCD) || SD_CONNECTION_IS(ONBOARD) #if SD_CONNECTION_IS(LCD) || SD_CONNECTION_IS(ONBOARD)
#define SD_DETECT_PIN P0_27 #define SD_DETECT_PIN P0_27
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#if SD_CONNECTION_IS(ONBOARD) #if SD_CONNECTION_IS(ONBOARD)
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#else #else
#define SS_PIN P0_28 #define SS_PIN P0_28
#endif #endif
#elif SD_CONNECTION_IS(CUSTOM_CABLE) #elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board." #error "No custom SD drive cable defined for this board."
@ -352,6 +352,6 @@
// //
// Other Pins // Other Pins
// //
//#define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0) //#define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
//#define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0) //#define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
//#define PS_ON_PIN P1_23 // SERVO P1.23 //#define PS_ON_PIN P1_23 // SERVO P1.23

View file

@ -51,58 +51,58 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_20 // (11) #define SERVO0_PIN P1_20 // (11)
#define SERVO1_PIN P1_21 // ( 6) also on J5-1 #define SERVO1_PIN P1_21 // ( 6) also on J5-1
#define SERVO2_PIN P1_19 // ( 5) #define SERVO2_PIN P1_19 // ( 5)
#define SERVO3_PIN P1_18 // ( 4) 5V output #define SERVO3_PIN P1_18 // ( 4) 5V output
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 // ( 3) 10k pullup to 3.3V, 1K series #define X_MIN_PIN P1_24 // ( 3) 10k pullup to 3.3V, 1K series
#define X_MAX_PIN P1_25 // ( 2) 10k pullup to 3.3V, 1K series #define X_MAX_PIN P1_25 // ( 2) 10k pullup to 3.3V, 1K series
#define Y_MIN_PIN P1_26 // (14) 10k pullup to 3.3V, 1K series #define Y_MIN_PIN P1_26 // (14) 10k pullup to 3.3V, 1K series
#define Y_MAX_PIN P1_27 // (15) 10k pullup to 3.3V, 1K series #define Y_MAX_PIN P1_27 // (15) 10k pullup to 3.3V, 1K series
#define Z_MIN_PIN P1_29 // (18) 10k pullup to 3.3V, 1K series #define Z_MIN_PIN P1_29 // (18) 10k pullup to 3.3V, 1K series
#define Z_MAX_PIN P1_28 // (19) 10k pullup to 3.3V, 1K series #define Z_MAX_PIN P1_28 // (19) 10k pullup to 3.3V, 1K series
#define ONBOARD_ENDSTOPPULLUPS // Board has built-in pullups #define ONBOARD_ENDSTOPPULLUPS // Board has built-in pullups
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_01 // (54) #define X_STEP_PIN P2_01 // (54)
#define X_DIR_PIN P0_11 // (55) #define X_DIR_PIN P0_11 // (55)
#define X_ENABLE_PIN P0_10 // (38) #define X_ENABLE_PIN P0_10 // (38)
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN P1_01 // ETH #define X_CS_PIN P1_01 // ETH
#endif #endif
#define Y_STEP_PIN P2_02 // (60) #define Y_STEP_PIN P2_02 // (60)
#define Y_DIR_PIN P0_20 // (61) #define Y_DIR_PIN P0_20 // (61)
#define Y_ENABLE_PIN P0_19 // (56) #define Y_ENABLE_PIN P0_19 // (56)
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN P1_04 // ETH #define Y_CS_PIN P1_04 // ETH
#endif #endif
#define Z_STEP_PIN P2_03 // (46) #define Z_STEP_PIN P2_03 // (46)
#define Z_DIR_PIN P0_22 // (48) #define Z_DIR_PIN P0_22 // (48)
#define Z_ENABLE_PIN P0_21 // (62) #define Z_ENABLE_PIN P0_21 // (62)
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN P1_10 // ETH #define Z_CS_PIN P1_10 // ETH
#endif #endif
#define E0_STEP_PIN P2_00 // (26) #define E0_STEP_PIN P2_00 // (26)
#define E0_DIR_PIN P0_05 // (28) #define E0_DIR_PIN P0_05 // (28)
#define E0_ENABLE_PIN P0_04 // (24) #define E0_ENABLE_PIN P0_04 // (24)
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN P1_14 // ETH #define E0_CS_PIN P1_14 // ETH
#endif #endif
#define E1_STEP_PIN P2_08 // (36) #define E1_STEP_PIN P2_08 // (36)
#define E1_DIR_PIN P2_13 // (34) #define E1_DIR_PIN P2_13 // (34)
#define E1_ENABLE_PIN P4_29 // (30) #define E1_ENABLE_PIN P4_29 // (30)
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN -1 #define E1_CS_PIN -1
#endif #endif
// //
@ -110,13 +110,13 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P1_00 // ETH #define TMC_SW_MOSI P1_00 // ETH
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P1_08 // ETH #define TMC_SW_MISO P1_08 // ETH
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P1_09 // ETH #define TMC_SW_SCK P1_09 // ETH
#endif #endif
#endif #endif
@ -136,31 +136,31 @@
// P2_13 E1-Dir // P2_13 E1-Dir
#ifndef X_SERIAL_TX_PIN #ifndef X_SERIAL_TX_PIN
#define X_SERIAL_TX_PIN P0_01 #define X_SERIAL_TX_PIN P0_01
#endif #endif
#ifndef X_SERIAL_RX_PIN #ifndef X_SERIAL_RX_PIN
#define X_SERIAL_RX_PIN P0_01 #define X_SERIAL_RX_PIN P0_01
#endif #endif
#ifndef Y_SERIAL_TX_PIN #ifndef Y_SERIAL_TX_PIN
#define Y_SERIAL_TX_PIN P0_00 #define Y_SERIAL_TX_PIN P0_00
#endif #endif
#ifndef Y_SERIAL_RX_PIN #ifndef Y_SERIAL_RX_PIN
#define Y_SERIAL_RX_PIN P0_00 #define Y_SERIAL_RX_PIN P0_00
#endif #endif
#ifndef Z_SERIAL_TX_PIN #ifndef Z_SERIAL_TX_PIN
#define Z_SERIAL_TX_PIN P2_13 #define Z_SERIAL_TX_PIN P2_13
#endif #endif
#ifndef Z_SERIAL_RX_PIN #ifndef Z_SERIAL_RX_PIN
#define Z_SERIAL_RX_PIN P2_13 #define Z_SERIAL_RX_PIN P2_13
#endif #endif
#ifndef E0_SERIAL_TX_PIN #ifndef E0_SERIAL_TX_PIN
#define E0_SERIAL_TX_PIN P2_08 #define E0_SERIAL_TX_PIN P2_08
#endif #endif
#ifndef E0_SERIAL_RX_PIN #ifndef E0_SERIAL_RX_PIN
#define E0_SERIAL_RX_PIN P2_08 #define E0_SERIAL_RX_PIN P2_08
#endif #endif
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
@ -171,14 +171,14 @@
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_0_PIN #define TEMP_0_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_0_PIN
#define TEMP_BED_PIN P0_24_A1 // A1 (T1) - (68) - TEMP_BED_PIN #define TEMP_BED_PIN P0_24_A1 // A1 (T1) - (68) - TEMP_BED_PIN
#define TEMP_1_PIN P0_25_A2 // A2 (T2) - (69) - TEMP_1_PIN #define TEMP_1_PIN P0_25_A2 // A2 (T2) - (69) - TEMP_1_PIN
#define TEMP_2_PIN P0_26_A3 // A3 - (63) - J5-3 & AUX-2 #define TEMP_2_PIN P0_26_A3 // A3 - (63) - J5-3 & AUX-2
#define TEMP_3_PIN P1_30_A4 // A4 - (37) - BUZZER_PIN #define TEMP_3_PIN P1_30_A4 // A4 - (37) - BUZZER_PIN
//#define TEMP_4_PIN P1_31_A5 // A5 - (49) - SD_DETECT_PIN //#define TEMP_4_PIN P1_31_A5 // A5 - (49) - SD_DETECT_PIN
//#define ?? P0_03_A6 // A6 - ( 0) - RXD0 - J4-4 & AUX-1 //#define ?? P0_03_A6 // A6 - ( 0) - RXD0 - J4-4 & AUX-1
#define FILWIDTH_PIN P0_02_A7 // A7 - ( 1) - TXD0 - J4-5 & AUX-1 #define FILWIDTH_PIN P0_02_A7 // A7 - ( 1) - TXD0 - J4-5 & AUX-1
// //
// Augmentation for auto-assigning RAMPS plugs // Augmentation for auto-assigning RAMPS plugs
@ -201,69 +201,69 @@
// Heaters / Fans // Heaters / Fans
// //
#ifndef MOSFET_D_PIN #ifndef MOSFET_D_PIN
#define MOSFET_D_PIN -1 #define MOSFET_D_PIN -1
#endif #endif
#ifndef RAMPS_D8_PIN #ifndef RAMPS_D8_PIN
#define RAMPS_D8_PIN P2_07 // (8) #define RAMPS_D8_PIN P2_07 // (8)
#endif #endif
#ifndef RAMPS_D9_PIN #ifndef RAMPS_D9_PIN
#define RAMPS_D9_PIN P2_04 // (9) #define RAMPS_D9_PIN P2_04 // (9)
#endif #endif
#ifndef RAMPS_D10_PIN #ifndef RAMPS_D10_PIN
#define RAMPS_D10_PIN P2_05 // (10) #define RAMPS_D10_PIN P2_05 // (10)
#endif #endif
#define HEATER_0_PIN RAMPS_D10_PIN #define HEATER_0_PIN RAMPS_D10_PIN
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed #if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan #elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
#define HEATER_1_PIN RAMPS_D9_PIN #define HEATER_1_PIN RAMPS_D9_PIN
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define HEATER_1_PIN RAMPS_D9_PIN #define HEATER_1_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan #elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
#define FAN1_PIN RAMPS_D8_PIN #define FAN1_PIN RAMPS_D8_PIN
#elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE") #elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#if HOTENDS == 1 #if HOTENDS == 1
#define FAN1_PIN MOSFET_D_PIN #define FAN1_PIN MOSFET_D_PIN
#else #else
#define HEATER_1_PIN MOSFET_D_PIN #define HEATER_1_PIN MOSFET_D_PIN
#endif #endif
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#if EITHER(IS_RAMPS_EFB, IS_RAMPS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan #if EITHER(IS_RAMPS_EFB, IS_RAMPS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#elif EITHER(IS_RAMPS_EEF, IS_RAMPS_SF) // Hotend, Hotend, Fan or Spindle, Fan #elif EITHER(IS_RAMPS_EEF, IS_RAMPS_SF) // Hotend, Hotend, Fan or Spindle, Fan
#define FAN_PIN RAMPS_D8_PIN #define FAN_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define FAN_PIN P1_18 // (4) IO pin. Buffer needed #define FAN_PIN P1_18 // (4) IO pin. Buffer needed
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE") #else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#endif #endif
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN P4_28 // (13) #define LED_PIN P4_28 // (13)
// define digital pin 5 for the filament runout sensor. Use the RAMPS 1.4 digital input 5 on the servos connector // define digital pin 5 for the filament runout sensor. Use the RAMPS 1.4 digital input 5 on the servos connector
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN P1_19 // (5) #define FIL_RUNOUT_PIN P1_19 // (5)
#endif #endif
#define PS_ON_PIN P2_12 // (12) #define PS_ON_PIN P2_12 // (12)
#if !defined(MAX6675_SS_PIN) && DISABLED(USE_ZMAX_PLUG) #if !defined(MAX6675_SS_PIN) && DISABLED(USE_ZMAX_PLUG)
#define MAX6675_SS_PIN P1_28 #define MAX6675_SS_PIN P1_28
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENA_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENA_PIN)
#if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // Try to use servo connector #if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // Try to use servo connector
#define CASE_LIGHT_PIN P1_18 // (4) MUST BE HARDWARE PWM #define CASE_LIGHT_PIN P1_18 // (4) MUST BE HARDWARE PWM
#endif #endif
#endif #endif
@ -279,19 +279,19 @@
#error "LASER_FEATURE requires 3 free servo pins." #error "LASER_FEATURE requires 3 free servo pins."
#endif #endif
#endif #endif
#define SPINDLE_LASER_ENA_PIN SERVO1_PIN // (6) Pin should have a pullup/pulldown! #define SPINDLE_LASER_ENA_PIN SERVO1_PIN // (6) Pin should have a pullup/pulldown!
#define SPINDLE_LASER_PWM_PIN SERVO3_PIN // (4) MUST BE HARDWARE PWM #define SPINDLE_LASER_PWM_PIN SERVO3_PIN // (4) MUST BE HARDWARE PWM
#define SPINDLE_DIR_PIN SERVO2_PIN // (5) #define SPINDLE_DIR_PIN SERVO2_PIN // (5)
#endif #endif
// //
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#if SERIAL_PORT != 0 && SERIAL_PORT_2 != 0 #if SERIAL_PORT != 0 && SERIAL_PORT_2 != 0
#define E_MUX0_PIN P0_03 // ( 0) Z_CS_PIN #define E_MUX0_PIN P0_03 // ( 0) Z_CS_PIN
#define E_MUX1_PIN P0_02 // ( 1) E0_CS_PIN #define E_MUX1_PIN P0_02 // ( 1) E0_CS_PIN
#endif #endif
#define E_MUX2_PIN P0_26 // (63) E1_CS_PIN #define E_MUX2_PIN P0_26 // (63) E1_CS_PIN
/** /**
* LCD / Controller * LCD / Controller
@ -322,101 +322,101 @@
// 10-pin IDC connector trimmed or replaced with a 12-pin IDC connector to fit J3. // 10-pin IDC connector trimmed or replaced with a 12-pin IDC connector to fit J3.
// Requires REVERSE_ENCODER_DIRECTION in Configuration.h // Requires REVERSE_ENCODER_DIRECTION in Configuration.h
#define BEEPER_PIN P2_11 // J3-3 & AUX-4 #define BEEPER_PIN P2_11 // J3-3 & AUX-4
#define BTN_EN1 P0_16 // J3-7 & AUX-4 #define BTN_EN1 P0_16 // J3-7 & AUX-4
#define BTN_EN2 P1_23 // J3-5 & AUX-4 #define BTN_EN2 P1_23 // J3-5 & AUX-4
#define BTN_ENC P3_25 // J3-4 & AUX-4 #define BTN_ENC P3_25 // J3-4 & AUX-4
#define LCD_PINS_RS P0_15 // J3-9 & AUX-4 (CS) #define LCD_PINS_RS P0_15 // J3-9 & AUX-4 (CS)
#define LCD_PINS_ENABLE P0_18 // J3-10 & AUX-3 (SID, MOSI) #define LCD_PINS_ENABLE P0_18 // J3-10 & AUX-3 (SID, MOSI)
#define LCD_PINS_D4 P2_06 // J3-8 & AUX-3 (SCK, CLK) #define LCD_PINS_D4 P2_06 // J3-8 & AUX-3 (SCK, CLK)
#elif HAS_SPI_LCD #elif HAS_SPI_LCD
//#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3 //#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3
//#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3 //#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3
//#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3 //#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3
//#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) //#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS)
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
#define BEEPER_PIN P1_01 #define BEEPER_PIN P1_01
#define BTN_ENC P1_04 #define BTN_ENC P1_04
#else #else
#define BEEPER_PIN P1_30 // (37) not 5V tolerant #define BEEPER_PIN P1_30 // (37) not 5V tolerant
#define BTN_ENC P2_11 // (35) J3-3 & AUX-4 #define BTN_ENC P2_11 // (35) J3-3 & AUX-4
#endif #endif
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4 #define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
#define BTN_EN2 P3_25 // (33) J3-4 & AUX-4 #define BTN_EN2 P3_25 // (33) J3-4 & AUX-4
#define SD_DETECT_PIN P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant) #define SD_DETECT_PIN P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant)
#define KILL_PIN P1_22 // (41) J5-4 & AUX-4 #define KILL_PIN P1_22 // (41) J5-4 & AUX-4
#define LCD_PINS_RS P0_16 // (16) J3-7 & AUX-4 #define LCD_PINS_RS P0_16 // (16) J3-7 & AUX-4
#define LCD_SDSS P0_16 // (16) J3-7 & AUX-4 #define LCD_SDSS P0_16 // (16) J3-7 & AUX-4
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define SHIFT_OUT P0_18 // (51) (MOSI) J3-10 & AUX-3 #define SHIFT_OUT P0_18 // (51) (MOSI) J3-10 & AUX-3
#define SHIFT_CLK P0_15 // (52) (SCK) J3-9 & AUX-3 #define SHIFT_CLK P0_15 // (52) (SCK) J3-9 & AUX-3
#define SHIFT_LD P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant) #define SHIFT_LD P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant)
#endif #endif
#else #else
//#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4 //#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4
//#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4 //#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4
//#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4 //#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4
//#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4 //#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4
#endif #endif
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
// #define LCD_SCREEN_ROT_180 // #define LCD_SCREEN_ROT_180
#define DOGLCD_CS P0_16 // (16) #define DOGLCD_CS P0_16 // (16)
#define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2 #define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2
#define DOGLCD_SCK SCK_PIN #define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN #define DOGLCD_MOSI MOSI_PIN
#define STAT_LED_BLUE_PIN P0_26 //(63) may change if cable changes #define STAT_LED_BLUE_PIN P0_26 //(63) may change if cable changes
#define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes #define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes
#else #else
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
#define DOGLCD_SCK P0_15 #define DOGLCD_SCK P0_15
#define DOGLCD_MOSI P0_18 #define DOGLCD_MOSI P0_18
// EXP1 on LCD adapter is not usable - using Ethernet connector instead // EXP1 on LCD adapter is not usable - using Ethernet connector instead
#define DOGLCD_CS P1_09 #define DOGLCD_CS P1_09
#define DOGLCD_A0 P1_14 #define DOGLCD_A0 P1_14
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#define LCD_RESET_PIN P0_16 // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN P0_16 // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN P1_00 #define RGB_LED_R_PIN P1_00
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN P1_01 #define RGB_LED_G_PIN P1_01
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN P1_08 #define RGB_LED_B_PIN P1_08
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN P1_00 #define NEOPIXEL_PIN P1_00
#endif #endif
#else #else
#define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2 #define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2
#define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2 #define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2
#endif #endif
#define LCD_BACKLIGHT_PIN P0_16 //(16) J3-7 & AUX-4 - only used on DOGLCD controllers #define LCD_BACKLIGHT_PIN P0_16 //(16) J3-7 & AUX-4 - only used on DOGLCD controllers
#define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3 #define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3
#define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3 #define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)
#define LCD_PINS_D5 P1_17 // (71) ENET_MDIO #define LCD_PINS_D5 P1_17 // (71) ENET_MDIO
#define LCD_PINS_D6 P1_14 // (73) ENET_RX_ER #define LCD_PINS_D6 P1_14 // (73) ENET_RX_ER
#define LCD_PINS_D7 P1_10 // (75) ENET_RXD1 #define LCD_PINS_D7 P1_10 // (75) ENET_RXD1
#endif #endif
#endif #endif
@ -434,38 +434,38 @@
// Ethernet pins // Ethernet pins
// //
#if DISABLED(ULTIPANEL) #if DISABLED(ULTIPANEL)
#define ENET_MDIO P1_17 // (71) J12-4 #define ENET_MDIO P1_17 // (71) J12-4
#define ENET_RX_ER P1_14 // (73) J12-6 #define ENET_RX_ER P1_14 // (73) J12-6
#define ENET_RXD1 P1_10 // (75) J12-8 #define ENET_RXD1 P1_10 // (75) J12-8
#endif #endif
#define ENET_MOC P1_16 // (70) J12-3 #define ENET_MOC P1_16 // (70) J12-3
#define REF_CLK P1_15 // (72) J12-5 #define REF_CLK P1_15 // (72) J12-5
#define ENET_RXD0 P1_09 // (74) J12-7 #define ENET_RXD0 P1_09 // (74) J12-7
#define ENET_CRS P1_08 // (76) J12-9 #define ENET_CRS P1_08 // (76) J12-9
#define ENET_TX_EN P1_04 // (77) J12-10 #define ENET_TX_EN P1_04 // (77) J12-10
#define ENET_TXD0 P1_00 // (78) J12-11 #define ENET_TXD0 P1_00 // (78) J12-11
#define ENET_TXD1 P1_01 // (79) J12-12 #define ENET_TXD1 P1_01 // (79) J12-12
// //
// SD Support // SD Support
// //
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#endif #endif
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3 #define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3
#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3 #define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3
#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3 #define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin #define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#elif SD_CONNECTION_IS(CUSTOM_CABLE) #elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board." #error "No custom SD drive cable defined for this board."
#endif #endif

View file

@ -41,80 +41,79 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 #define SERVO0_PIN P1_23
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_28 #define X_MIN_PIN P1_28
#define X_MAX_PIN P1_25 #define X_MAX_PIN P1_25
#define Y_MIN_PIN P2_11 #define Y_MIN_PIN P2_11
#define Y_MAX_PIN -1 #define Y_MAX_PIN -1
#define Z_MIN_PIN P1_27 #define Z_MIN_PIN P1_27
#define Z_MAX_PIN -1 #define Z_MAX_PIN -1
#define Z_PROBE P1_22 #define Z_PROBE P1_22
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1) #define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
#define TEMP_0_PIN P0_24_A1 // A1 (TH2) #define TEMP_0_PIN P0_24_A1 // A1 (TH2)
#define TEMP_1_PIN P0_25_A2 // A2 (TH3) #define TEMP_1_PIN P0_25_A2 // A2 (TH3)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_BED2_PIN P2_04 #define HEATER_BED2_PIN P2_04
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#define HEATER_1_PIN P2_06 #define HEATER_1_PIN P2_06
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P1_24 #define FAN_PIN P1_24
#endif #endif
#define FAN1_PIN P1_26 #define FAN1_PIN P1_26
// //
// Display // Display
// //
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define LCD_PINS_RS P0_16 #define LCD_PINS_RS P0_16
#define LCD_PINS_ENABLE P0_18 #define LCD_PINS_ENABLE P0_18
#define LCD_PINS_D4 P0_15 #define LCD_PINS_D4 P0_15
#define LCD_PINS_D5 P1_00 #define LCD_PINS_D5 P1_00
#define LCD_PINS_D6 P1_01 #define LCD_PINS_D6 P1_01
#define LCD_PINS_D7 P1_04 #define LCD_PINS_D7 P1_04
#define BEEPER_PIN P1_31 #define BEEPER_PIN P1_31
#define BTN_EN1 P3_25 #define BTN_EN1 P3_25
#define BTN_EN2 P3_26 #define BTN_EN2 P3_26
#define BTN_ENC P1_30 #define BTN_ENC P1_30
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#endif // REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER #endif // REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

View file

@ -41,93 +41,92 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 #define SERVO0_PIN P1_23
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 #define X_MIN_PIN P1_24
#define X_MAX_PIN P1_27 #define X_MAX_PIN P1_27
#define Y_MIN_PIN P1_25 #define Y_MIN_PIN P1_25
#define Y_MAX_PIN P1_28 #define Y_MAX_PIN P1_28
#define Z_MIN_PIN P1_26 #define Z_MIN_PIN P1_26
#define Z_MAX_PIN P1_29 #define Z_MAX_PIN P1_29
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_01 #define X_STEP_PIN P2_01
#define X_DIR_PIN P0_11 #define X_DIR_PIN P0_11
#define X_ENABLE_PIN P0_10 #define X_ENABLE_PIN P0_10
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN P0_10 // BSD2660 default #define X_CS_PIN P0_10 // BSD2660 default
#endif #endif
#define Y_STEP_PIN P2_02 #define Y_STEP_PIN P2_02
#define Y_DIR_PIN P0_20 #define Y_DIR_PIN P0_20
#define Y_ENABLE_PIN P0_19 #define Y_ENABLE_PIN P0_19
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN P0_19 // BSD2660 default #define Y_CS_PIN P0_19 // BSD2660 default
#endif #endif
#define Z_STEP_PIN P2_03 #define Z_STEP_PIN P2_03
#define Z_DIR_PIN P0_22 #define Z_DIR_PIN P0_22
#define Z_ENABLE_PIN P0_21 #define Z_ENABLE_PIN P0_21
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN P0_21 // BSD2660 default #define Z_CS_PIN P0_21 // BSD2660 default
#endif #endif
#define E0_STEP_PIN P2_00 #define E0_STEP_PIN P2_00
#define E0_DIR_PIN P0_05 #define E0_DIR_PIN P0_05
#define E0_ENABLE_PIN P0_04 #define E0_ENABLE_PIN P0_04
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN P0_04 // BSD2660 default #define E0_CS_PIN P0_04 // BSD2660 default
#endif #endif
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN P4_29 // BSD2660 default #define E1_CS_PIN P4_29 // BSD2660 default
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1) #define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
#define TEMP_0_PIN P0_24_A1 // A1 (TH2) #define TEMP_0_PIN P0_24_A1 // A1 (TH2)
#define TEMP_1_PIN P0_25_A2 // A2 (TH3) #define TEMP_1_PIN P0_25_A2 // A2 (TH3)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_07 #define HEATER_BED_PIN P2_07
#define HEATER_0_PIN P2_04 #define HEATER_0_PIN P2_04
#define HEATER_1_PIN P2_05 #define HEATER_1_PIN P2_05
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P0_26 #define FAN_PIN P0_26
#endif #endif
#define FAN1_PIN P1_22 #define FAN1_PIN P1_22
// //
// Display // Display
// //
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#define BEEPER_PIN P1_31 #define BEEPER_PIN P1_31
#define DOGLCD_A0 P2_06 #define DOGLCD_A0 P2_06
#define DOGLCD_CS P0_16 #define DOGLCD_CS P0_16
#define BTN_EN1 P3_25 #define BTN_EN1 P3_25
#define BTN_EN2 P3_26 #define BTN_EN2 P3_26
#define BTN_ENC P2_11 #define BTN_ENC P2_11
#define SD_DETECT_PIN P1_18 #define SD_DETECT_PIN P1_18
#define SDSS P1_21 #define SDSS P1_21
#define STAT_LED_RED_PIN P1_19 #define STAT_LED_RED_PIN P1_19
#define STAT_LED_BLUE_PIN P1_20 #define STAT_LED_BLUE_PIN P1_20
#endif #endif

View file

@ -37,74 +37,74 @@
// //
// LED // LED
// //
#define LED_PIN P1_18 #define LED_PIN P1_18
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_29 #define SERVO0_PIN P1_29
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN P1_24 #define X_STOP_PIN P1_24
#define Y_STOP_PIN P1_26 #define Y_STOP_PIN P1_26
#define Z_STOP_PIN P1_28 #define Z_STOP_PIN P1_28
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN P2_04 #define FIL_RUNOUT_PIN P2_04
#endif #endif
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN P0_25_A2 // Analog Input (P0_25) #define FILWIDTH_PIN P0_25_A2 // Analog Input (P0_25)
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_01 #define X_STEP_PIN P2_01
#define X_DIR_PIN P0_11 #define X_DIR_PIN P0_11
#define X_ENABLE_PIN P0_10 #define X_ENABLE_PIN P0_10
#define Y_STEP_PIN P2_02 #define Y_STEP_PIN P2_02
#define Y_DIR_PIN P0_20 #define Y_DIR_PIN P0_20
#define Y_ENABLE_PIN P0_19 #define Y_ENABLE_PIN P0_19
#define Z_STEP_PIN P2_03 #define Z_STEP_PIN P2_03
#define Z_DIR_PIN P0_22 #define Z_DIR_PIN P0_22
#define Z_ENABLE_PIN P0_21 #define Z_ENABLE_PIN P0_21
#define E0_STEP_PIN P2_00 #define E0_STEP_PIN P2_00
#define E0_DIR_PIN P0_05 #define E0_DIR_PIN P0_05
#define E0_ENABLE_PIN P0_04 #define E0_ENABLE_PIN P0_04
// //
// DIGIPOT slave addresses // DIGIPOT slave addresses
// //
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
#endif #endif
#ifndef DIGIPOT_I2C_ADDRESS_B #ifndef DIGIPOT_I2C_ADDRESS_B
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT #define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1) #define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
#define TEMP_0_PIN P0_24_A1 // A1 (TH2) #define TEMP_0_PIN P0_24_A1 // A1 (TH2)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_07 #define HEATER_BED_PIN P2_07
#define HEATER_0_PIN P2_05 #define HEATER_0_PIN P2_05
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P0_26 #define FAN_PIN P0_26
#endif #endif
#define FAN1_PIN P1_25 #define FAN1_PIN P1_25
// //
// Display // Display
@ -118,61 +118,61 @@
// 10-pin IDC connector trimmed or replaced with a 12-pin IDC connector to fit J3. // 10-pin IDC connector trimmed or replaced with a 12-pin IDC connector to fit J3.
// Requires REVERSE_ENCODER_DIRECTION in Configuration.h // Requires REVERSE_ENCODER_DIRECTION in Configuration.h
#define BEEPER_PIN P2_11 // J3-3 & AUX-4 #define BEEPER_PIN P2_11 // J3-3 & AUX-4
#define BTN_EN1 P0_16 // J3-7 & AUX-4 #define BTN_EN1 P0_16 // J3-7 & AUX-4
#define BTN_EN2 P1_23 // J3-5 & AUX-4 #define BTN_EN2 P1_23 // J3-5 & AUX-4
#define BTN_ENC P3_25 // J3-4 & AUX-4 #define BTN_ENC P3_25 // J3-4 & AUX-4
#define LCD_PINS_RS P0_15 // J3-9 & AUX-4 (CS) #define LCD_PINS_RS P0_15 // J3-9 & AUX-4 (CS)
#define LCD_PINS_ENABLE P0_18 // J3-10 & AUX-3 (SID, MOSI) #define LCD_PINS_ENABLE P0_18 // J3-10 & AUX-3 (SID, MOSI)
#define LCD_PINS_D4 P2_06 // J3-8 & AUX-3 (SCK, CLK) #define LCD_PINS_D4 P2_06 // J3-8 & AUX-3 (SCK, CLK)
#else #else
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4 #define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
#define BTN_EN2 P3_25 // (33) J3-4 & AUX-4 #define BTN_EN2 P3_25 // (33) J3-4 & AUX-4
#define BTN_ENC P2_11 // (35) J3-3 & AUX-4 #define BTN_ENC P2_11 // (35) J3-3 & AUX-4
#define SD_DETECT_PIN P1_31 // (49) not 5V tolerant J3-1 & AUX-3 #define SD_DETECT_PIN P1_31 // (49) not 5V tolerant J3-1 & AUX-3
#define KILL_PIN P1_22 // (41) J5-4 & AUX-4 #define KILL_PIN P1_22 // (41) J5-4 & AUX-4
#define LCD_PINS_RS P0_16 // (16) J3-7 & AUX-4 #define LCD_PINS_RS P0_16 // (16) J3-7 & AUX-4
#define LCD_SDSS P0_16 // (16) J3-7 & AUX-4 #define LCD_SDSS P0_16 // (16) J3-7 & AUX-4
#define LCD_BACKLIGHT_PIN P0_16 // (16) J3-7 & AUX-4 - only used on DOGLCD controllers #define LCD_BACKLIGHT_PIN P0_16 // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
#define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3 #define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3
#define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3 #define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3
#define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2 #define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define SHIFT_OUT P0_18 // (51) (MOSI) J3-10 & AUX-3 #define SHIFT_OUT P0_18 // (51) (MOSI) J3-10 & AUX-3
#define SHIFT_CLK P0_15 // (52) (SCK) J3-9 & AUX-3 #define SHIFT_CLK P0_15 // (52) (SCK) J3-9 & AUX-3
#define SHIFT_LD P1_31 // (49) not 5V tolerant J3-1 & AUX-3 #define SHIFT_LD P1_31 // (49) not 5V tolerant J3-1 & AUX-3
#elif DISABLED(NEWPANEL) #elif DISABLED(NEWPANEL)
//#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4 //#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4
//#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4 //#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4
//#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4 //#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4
//#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4 //#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4
#endif #endif
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
#define BEEPER_PIN P1_30 // (37) may change if cable changes #define BEEPER_PIN P1_30 // (37) may change if cable changes
#define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2 #define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2
#define DOGLCD_SCK SCK_PIN #define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN #define DOGLCD_MOSI MOSI_PIN
#define STAT_LED_BLUE_PIN P0_26 // (63) may change if cable changes #define STAT_LED_BLUE_PIN P0_26 // (63) may change if cable changes
#define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes #define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes
#else #else
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)
#define LCD_PINS_D5 P1_17 // (71) ENET_MDIO #define LCD_PINS_D5 P1_17 // (71) ENET_MDIO
#define LCD_PINS_D6 P1_14 // (73) ENET_RX_ER #define LCD_PINS_D6 P1_14 // (73) ENET_RX_ER
#define LCD_PINS_D7 P1_10 // (75) ENET_RXD1 #define LCD_PINS_D7 P1_10 // (75) ENET_RXD1
#endif #endif
#define BEEPER_PIN P1_30 // (37) not 5V tolerant #define BEEPER_PIN P1_30 // (37) not 5V tolerant
#define DOGLCD_CS P0_16 // (16) #define DOGLCD_CS P0_16 // (16)
#endif #endif
#if ENABLED(MINIPANEL) #if ENABLED(MINIPANEL)
@ -199,22 +199,22 @@
// SD Support // SD Support
// //
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#endif #endif
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_15 #define SCK_PIN P0_15
#define MISO_PIN P0_17 #define MISO_PIN P0_17
#define MOSI_PIN P0_18 #define MOSI_PIN P0_18
#define SS_PIN P1_23 #define SS_PIN P1_23
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#elif SD_CONNECTION_IS(CUSTOM_CABLE) #elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board." #error "No custom SD drive cable defined for this board."
#endif #endif

View file

@ -40,53 +40,53 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 #define SERVO0_PIN P1_23
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V #define X_MIN_PIN P1_24 // 10k pullup to 3.3V
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V #define X_MAX_PIN P1_25 // 10k pullup to 3.3V
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V #define Y_MIN_PIN P1_26 // 10k pullup to 3.3V
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V #define Y_MAX_PIN P1_27 // 10k pullup to 3.3V
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V #define Z_MIN_PIN P1_28 // 10k pullup to 3.3V
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V #define Z_MAX_PIN P1_29 // 10k pullup to 3.3V
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9 #define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10 #define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11 #define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12 #define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12
// //
// Default pins for TMC software SPI // Default pins for TMC software SPI
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5 #define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6 #define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7 #define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7
#endif #endif
#endif #endif
@ -94,42 +94,42 @@
// Analog Inputs // Analog Inputs
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 // P0_23 #define TEMP_0_PIN P0_23_A0 // P0_23
#define TEMP_BED_PIN P0_24_A1 // P0_24 #define TEMP_BED_PIN P0_24_A1 // P0_24
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 // FET 1 #define HEATER_0_PIN P2_07 // FET 1
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_06 // FET 3 #define FAN_PIN P2_06 // FET 3
#endif #endif
// //
// Auto fans // Auto fans
// //
#define AUTO_FAN_PIN P2_04 // FET 4 #define AUTO_FAN_PIN P2_04 // FET 4
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN P4_28 // Play LED #define LED_PIN P4_28 // Play LED
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER #if HAS_CUTTER
#undef HEATER_0_PIN #undef HEATER_0_PIN
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1 #define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
#undef HEATER_BED_PIN #undef HEATER_BED_PIN
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET #define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
#undef FAN_PIN #undef FAN_PIN
#define SPINDLE_DIR_PIN P2_06 // FET 3 #define SPINDLE_DIR_PIN P2_06 // FET 3
#endif #endif
// //
@ -144,18 +144,18 @@
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN P0_27 // EXP2-7 - open drain #define BEEPER_PIN P0_27 // EXP2-7 - open drain
#define BTN_EN1 P3_26 // EXP2-5 #define BTN_EN1 P3_26 // EXP2-5
#define BTN_EN2 P3_25 // EXP2-3 #define BTN_EN2 P3_25 // EXP2-3
#define BTN_ENC P1_30 // EXP1-2 #define BTN_ENC P1_30 // EXP1-2
#define LCD_PINS_RS P0_16 // EXP1-4 #define LCD_PINS_RS P0_16 // EXP1-4
#define LCD_SDSS P0_28 // EXP2-4 #define LCD_SDSS P0_28 // EXP2-4
#define LCD_PINS_ENABLE P0_18 // EXP1-3 #define LCD_PINS_ENABLE P0_18 // EXP1-3
#define LCD_PINS_D4 P0_15 // EXP1-5 #define LCD_PINS_D4 P0_15 // EXP1-5
#define KILL_PIN P2_11 // EXP2-10 #define KILL_PIN P2_11 // EXP2-10
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
#error "SDSUPPORT is not currently supported by the Cohesion3D boards" #error "SDSUPPORT is not currently supported by the Cohesion3D boards"
@ -166,13 +166,13 @@
// //
// Ethernet pins // Ethernet pins
// //
#define ENET_MDIO P1_17 #define ENET_MDIO P1_17
#define ENET_RX_ER P1_14 #define ENET_RX_ER P1_14
#define ENET_RXD1 P1_10 #define ENET_RXD1 P1_10
#define ENET_MOC P1_16 #define ENET_MOC P1_16
#define REF_CLK P1_15 #define REF_CLK P1_15
#define ENET_RXD0 P1_09 #define ENET_RXD0 P1_09
#define ENET_CRS P1_08 #define ENET_CRS P1_08
#define ENET_TX_EN P1_04 #define ENET_TX_EN P1_04
#define ENET_TXD0 P1_00 #define ENET_TXD0 P1_00
#define ENET_TXD1 P1_01 #define ENET_TXD1 P1_01

View file

@ -40,70 +40,70 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P2_04 #define SERVO0_PIN P2_04
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V #define X_MIN_PIN P1_24 // 10k pullup to 3.3V
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V #define X_MAX_PIN P1_25 // 10k pullup to 3.3V
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V #define Y_MIN_PIN P1_26 // 10k pullup to 3.3V
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V #define Y_MAX_PIN P1_27 // 10k pullup to 3.3V
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V #define Z_MIN_PIN P1_28 // 10k pullup to 3.3V
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V #define Z_MAX_PIN P1_29 // 10k pullup to 3.3V
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P1_29 #define Z_MIN_PROBE_PIN P1_29
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9 #define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10 #define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11 #define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12 #define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
#define E1_CS_PIN P1_01 // Ethernet Expansion - Pin 14 #define E1_CS_PIN P1_01 // Ethernet Expansion - Pin 14
#define E2_STEP_PIN P1_20 #define E2_STEP_PIN P1_20
#define E2_DIR_PIN P1_19 #define E2_DIR_PIN P1_19
#define E2_ENABLE_PIN P1_21 #define E2_ENABLE_PIN P1_21
#define E2_CS_PIN P1_18 // FET 6 #define E2_CS_PIN P1_18 // FET 6
// //
// Default pins for TMC software SPI // Default pins for TMC software SPI
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5 #define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6 #define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7 #define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7
#endif #endif
#endif #endif
@ -111,42 +111,42 @@
// Analog Inputs // Analog Inputs
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 #define TEMP_0_PIN P0_23_A0
#define TEMP_BED_PIN P0_24_A1 #define TEMP_BED_PIN P0_24_A1
#define TEMP_1_PIN P0_25_A2 #define TEMP_1_PIN P0_25_A2
#if ENABLED(FILAMENT_WIDTH_SENSOR) #if ENABLED(FILAMENT_WIDTH_SENSOR)
#define FILWIDTH_PIN P0_26_A3 #define FILWIDTH_PIN P0_26_A3
#else #else
#define TEMP_2_PIN P0_26_A3 #define TEMP_2_PIN P0_26_A3
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 // FET 1 #define HEATER_0_PIN P2_07 // FET 1
#define HEATER_1_PIN P1_23 // FET 2 #define HEATER_1_PIN P1_23 // FET 2
#define HEATER_2_PIN P1_22 // FET 3 #define HEATER_2_PIN P1_22 // FET 3
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_06 // FET 4 #define FAN_PIN P2_06 // FET 4
#endif #endif
// //
// Auto fans // Auto fans
// //
#if HOTENDS == 3 #if HOTENDS == 3
#define AUTO_FAN_PIN P1_18 // FET 6 #define AUTO_FAN_PIN P1_18 // FET 6
#else #else
#define AUTO_FAN_PIN P1_22 // FET 3 #define AUTO_FAN_PIN P1_22 // FET 3
#endif #endif
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN P4_28 // Play LED #define LED_PIN P4_28 // Play LED
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
@ -155,9 +155,9 @@
#undef HEATER_0_PIN #undef HEATER_0_PIN
#undef HEATER_BED_PIN #undef HEATER_BED_PIN
#undef FAN_PIN #undef FAN_PIN
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1 #define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET #define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
#define SPINDLE_DIR_PIN P2_06 // FET 4 #define SPINDLE_DIR_PIN P2_06 // FET 4
#endif #endif
// //
@ -173,54 +173,54 @@
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
#define FORCE_SOFT_SPI // REQUIRED - results in LCD soft SPI mode 3 #define FORCE_SOFT_SPI // REQUIRED - results in LCD soft SPI mode 3
#define BEEPER_PIN P1_31 // EXP1-1 #define BEEPER_PIN P1_31 // EXP1-1
#define BTN_ENC P1_30 // EXP1-2 #define BTN_ENC P1_30 // EXP1-2
#define DOGLCD_CS P0_18 // EXP1-3 #define DOGLCD_CS P0_18 // EXP1-3
#define DOGLCD_A0 P0_16 // EXP1-4 #define DOGLCD_A0 P0_16 // EXP1-4
#define LCD_RESET_PIN P0_15 // EXP1-5 #define LCD_RESET_PIN P0_15 // EXP1-5
// A custom cable is REQUIRED for EXP2 cable because the SCK & MOSI on the card's EXP2 are dedicated // A custom cable is REQUIRED for EXP2 cable because the SCK & MOSI on the card's EXP2 are dedicated
// to the onboard SD card. All required EXP2 signals come from the Ethernet connector. Pin 1 of this // to the onboard SD card. All required EXP2 signals come from the Ethernet connector. Pin 1 of this
// connector is the one nearest the motor power connector. // connector is the one nearest the motor power connector.
#define DOGLCD_SCK P1_17 // EXP2-2 => Ethernet pin 5 (bottom, 3 from left) #define DOGLCD_SCK P1_17 // EXP2-2 => Ethernet pin 5 (bottom, 3 from left)
#define BTN_EN2 P1_09 // EXP2-3 => Ethernet pin 9 (bottom, 5 from left) #define BTN_EN2 P1_09 // EXP2-3 => Ethernet pin 9 (bottom, 5 from left)
#define BTN_EN1 P1_04 // EXP2-5 => Ethernet pin 11 (bottom, 6 from left) #define BTN_EN1 P1_04 // EXP2-5 => Ethernet pin 11 (bottom, 6 from left)
#define DOGLCD_MOSI P1_01 // EXP2-6 => Ethernet pin 13 (bottom, 7 from left) #define DOGLCD_MOSI P1_01 // EXP2-6 => Ethernet pin 13 (bottom, 7 from left)
// A custom EXP1 cable is required colored LEDs. Pins 1-5, 9, 10 of the cable go to pins 1-5, 9, 10 // A custom EXP1 cable is required colored LEDs. Pins 1-5, 9, 10 of the cable go to pins 1-5, 9, 10
// on the board's EXP1 connector. Pins 6, 7, and 8 of the EXP1 cable go to the Ethernet connector. // on the board's EXP1 connector. Pins 6, 7, and 8 of the EXP1 cable go to the Ethernet connector.
// Rev 1.2 displays do NOT require the RGB LEDs. 2.0 and 2.1 displays do require RGB. // Rev 1.2 displays do NOT require the RGB LEDs. 2.0 and 2.1 displays do require RGB.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left) #define RGB_LED_R_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left)
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN P1_10 // EXP1-7 => Ethernet pin 10 (top row, 5 from left) #define RGB_LED_G_PIN P1_10 // EXP1-7 => Ethernet pin 10 (top row, 5 from left)
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN P1_00 // EXP1-8 => Ethernet pin 12 (top row, 6 from left) #define RGB_LED_B_PIN P1_00 // EXP1-8 => Ethernet pin 12 (top row, 6 from left)
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left) #define NEOPIXEL_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left)
#endif #endif
#elif HAS_SPI_LCD #elif HAS_SPI_LCD
#define BEEPER_PIN P1_31 // EXP1-1 #define BEEPER_PIN P1_31 // EXP1-1
//#define SD_DETECT_PIN P0_27 // EXP2-7 //#define SD_DETECT_PIN P0_27 // EXP2-7
#define BTN_EN1 P3_26 // EXP2-5 #define BTN_EN1 P3_26 // EXP2-5
#define BTN_EN2 P3_25 // EXP2-3 #define BTN_EN2 P3_25 // EXP2-3
#define BTN_ENC P1_30 // EXP1-2 #define BTN_ENC P1_30 // EXP1-2
#define LCD_PINS_RS P0_16 // EXP1-4 #define LCD_PINS_RS P0_16 // EXP1-4
#define LCD_SDSS P0_28 // EXP2-4 #define LCD_SDSS P0_28 // EXP2-4
#define LCD_PINS_ENABLE P0_18 // EXP1-3 #define LCD_PINS_ENABLE P0_18 // EXP1-3
#define LCD_PINS_D4 P0_15 // EXP1-5 #define LCD_PINS_D4 P0_15 // EXP1-5
#define KILL_PIN P2_11 // EXP2-10 #define KILL_PIN P2_11 // EXP2-10
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD
@ -228,22 +228,22 @@
// SD Support // SD Support
// //
#ifndef SDCARD_CONNECTION #ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#endif #endif
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
#if SD_CONNECTION_IS(LCD) #if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_07 // (52) system defined J3-9 & AUX-3 #define SCK_PIN P0_07 // (52) system defined J3-9 & AUX-3
#define MISO_PIN P0_08 // (50) system defined J3-10 & AUX-3 #define MISO_PIN P0_08 // (50) system defined J3-10 & AUX-3
#define MOSI_PIN P0_09 // (51) system defined J3-10 & AUX-3 #define MOSI_PIN P0_09 // (51) system defined J3-10 & AUX-3
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin #define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
#elif SD_CONNECTION_IS(ONBOARD) #elif SD_CONNECTION_IS(ONBOARD)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
#elif SD_CONNECTION_IS(CUSTOM_CABLE) #elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board." #error "No custom SD drive cable defined for this board."
#endif #endif
@ -251,16 +251,16 @@
// //
// Ethernet pins // Ethernet pins
// //
//#define ENET_MDIO P1_17 // Ethernet pin 5 (bottom, 3 from left) //#define ENET_MDIO P1_17 // Ethernet pin 5 (bottom, 3 from left)
//#define ENET_RX_ER P1_14 //#define ENET_RX_ER P1_14
//#define ENET_RXD1 P1_10 // Ethernet pin 10 (top row, 5 from left) //#define ENET_RXD1 P1_10 // Ethernet pin 10 (top row, 5 from left)
//#define ENET_MOC P1_16 // Ethernet pin 6 (top row, 3 from left) //#define ENET_MOC P1_16 // Ethernet pin 6 (top row, 3 from left)
//#define REF_CLK P1_15 //#define REF_CLK P1_15
//#define ENET_RXD0 P1_09 // Ethernet pin 9 (bottom, 5 from left) //#define ENET_RXD0 P1_09 // Ethernet pin 9 (bottom, 5 from left)
//#define ENET_CRS P1_08 // Ethernet pin 8 (top row, 4 from left) - INPUT ONLY //#define ENET_CRS P1_08 // Ethernet pin 8 (top row, 4 from left) - INPUT ONLY
//#define ENET_TX_EN P1_04 // Ethernet pin 11 (bottom, 6 from left) //#define ENET_TX_EN P1_04 // Ethernet pin 11 (bottom, 6 from left)
//#define ENET_TXD0 P1_00 // Ethernet pin 12 (top row, 6 from left) //#define ENET_TXD0 P1_00 // Ethernet pin 12 (top row, 6 from left)
//#define ENET_TXD1 P1_01 // Ethernet pin 13 (bottom, 7 from left) //#define ENET_TXD1 P1_01 // Ethernet pin 13 (bottom, 7 from left)
/** /**
* EXP1 pins * EXP1 pins

View file

@ -47,8 +47,8 @@
//#undef BTN_EN1 //#undef BTN_EN1
//#undef BTN_EN2 //#undef BTN_EN2
//#define BTN_EN1 P1_23 // EXP2.5 //#define BTN_EN1 P1_23 // EXP2.5
//#define BTN_EN2 P1_22 // EXP2.3 //#define BTN_EN2 P1_22 // EXP2.3
#if HAS_TMC_UART #if HAS_TMC_UART
/** /**
@ -58,16 +58,16 @@
* In the worst case you may have to give up the LCD. * In the worst case you may have to give up the LCD.
* RX pins must be interrupt-capable. * RX pins must be interrupt-capable.
*/ */
#define X_SERIAL_TX_PIN P4_29 // J8-2 #define X_SERIAL_TX_PIN P4_29 // J8-2
#define X_SERIAL_RX_PIN P4_29 // J8-2 #define X_SERIAL_RX_PIN P4_29 // J8-2
#define Y_SERIAL_TX_PIN P2_08 // J8-3 #define Y_SERIAL_TX_PIN P2_08 // J8-3
#define Y_SERIAL_RX_PIN P2_08 // J8-3 #define Y_SERIAL_RX_PIN P2_08 // J8-3
#define Z_SERIAL_TX_PIN P2_11 // J8-4 #define Z_SERIAL_TX_PIN P2_11 // J8-4
#define Z_SERIAL_RX_PIN P2_11 // J8-4 #define Z_SERIAL_RX_PIN P2_11 // J8-4
#define E0_SERIAL_TX_PIN P2_13 // J8-5 #define E0_SERIAL_TX_PIN P2_13 // J8-5
#define E0_SERIAL_RX_PIN P2_13 // J8-5 #define E0_SERIAL_RX_PIN P2_13 // J8-5
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200

View file

@ -41,79 +41,79 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P1_23 #define SERVO0_PIN P1_23
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN P1_24 #define X_MIN_PIN P1_24
#define X_MAX_PIN P1_25 #define X_MAX_PIN P1_25
#define Y_MIN_PIN P1_26 #define Y_MIN_PIN P1_26
#define Y_MAX_PIN P1_27 #define Y_MAX_PIN P1_27
#define Z_MIN_PIN P1_28 #define Z_MIN_PIN P1_28
#define Z_MAX_PIN P1_29 #define Z_MAX_PIN P1_29
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P0_05 #define X_DIR_PIN P0_05
#define X_ENABLE_PIN P0_04 #define X_ENABLE_PIN P0_04
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P0_11 #define Y_DIR_PIN P0_11
#define Y_ENABLE_PIN P0_10 #define Y_ENABLE_PIN P0_10
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P0_20 #define Z_DIR_PIN P0_20
#define Z_ENABLE_PIN P0_19 #define Z_ENABLE_PIN P0_19
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
// //
#define TEMP_0_PIN P0_23_A0 // (T1) #define TEMP_0_PIN P0_23_A0 // (T1)
#define TEMP_BED_PIN P0_24_A1 // (T2) #define TEMP_BED_PIN P0_24_A1 // (T2)
#define TEMP_1_PIN P0_25_A2 // (T3) #define TEMP_1_PIN P0_25_A2 // (T3)
#define TEMP_2_PIN P0_26_A3 // (T4) #define TEMP_2_PIN P0_26_A3 // (T4)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#define HEATER_1_PIN P1_23 #define HEATER_1_PIN P1_23
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_06 #define FAN_PIN P2_06
#endif #endif
#define FAN1_PIN P2_04 #define FAN1_PIN P2_04
// //
// LCD / Controller // LCD / Controller
// //
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#define BEEPER_PIN P1_31 #define BEEPER_PIN P1_31
#define DOGLCD_A0 P2_11 #define DOGLCD_A0 P2_11
#define DOGLCD_CS P0_16 #define DOGLCD_CS P0_16
#define BTN_EN1 P3_25 #define BTN_EN1 P3_25
#define BTN_EN2 P3_26 #define BTN_EN2 P3_26
#define BTN_ENC P1_30 #define BTN_ENC P1_30
#define SD_DETECT_PIN P1_18 #define SD_DETECT_PIN P1_18
#define SDSS P1_21 #define SDSS P1_21
#define STAT_LED_RED_PIN P1_19 #define STAT_LED_RED_PIN P1_19
#define STAT_LED_BLUE_PIN P1_20 #define STAT_LED_BLUE_PIN P1_20
#elif HAS_SPI_LCD #elif HAS_SPI_LCD

View file

@ -41,58 +41,58 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P2_04 #define SERVO0_PIN P2_04
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN P1_24 #define X_STOP_PIN P1_24
#define Y_STOP_PIN P1_25 #define Y_STOP_PIN P1_25
#define Z_STOP_PIN P1_26 #define Z_STOP_PIN P1_26
// //
// Filament Runout Sensor // Filament Runout Sensor
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN P1_27 #define FIL_RUNOUT_PIN P1_27
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN P2_00 #define X_STEP_PIN P2_00
#define X_DIR_PIN P1_16 #define X_DIR_PIN P1_16
#define X_ENABLE_PIN P1_17 #define X_ENABLE_PIN P1_17
#define Y_STEP_PIN P2_01 #define Y_STEP_PIN P2_01
#define Y_DIR_PIN P1_10 #define Y_DIR_PIN P1_10
#define Y_ENABLE_PIN P1_09 #define Y_ENABLE_PIN P1_09
#define Z_STEP_PIN P2_02 #define Z_STEP_PIN P2_02
#define Z_DIR_PIN P1_15 #define Z_DIR_PIN P1_15
#define Z_ENABLE_PIN P1_14 #define Z_ENABLE_PIN P1_14
#define E0_STEP_PIN P2_03 #define E0_STEP_PIN P2_03
#define E0_DIR_PIN P1_04 #define E0_DIR_PIN P1_04
#define E0_ENABLE_PIN P1_08 #define E0_ENABLE_PIN P1_08
#define E1_STEP_PIN P2_08 #define E1_STEP_PIN P2_08
#define E1_DIR_PIN P2_13 #define E1_DIR_PIN P2_13
#define E1_ENABLE_PIN P4_29 #define E1_ENABLE_PIN P4_29
#if HAS_TMC_UART #if HAS_TMC_UART
// //
// TMC220x stepper drivers // TMC220x stepper drivers
// Software serial // Software serial
// //
#define X_SERIAL_TX_PIN P0_04 #define X_SERIAL_TX_PIN P0_04
#define X_SERIAL_RX_PIN P0_05 #define X_SERIAL_RX_PIN P0_05
#define Y_SERIAL_TX_PIN P0_10 #define Y_SERIAL_TX_PIN P0_10
#define Y_SERIAL_RX_PIN P0_11 #define Y_SERIAL_RX_PIN P0_11
#define Z_SERIAL_TX_PIN P0_19 #define Z_SERIAL_TX_PIN P0_19
#define Z_SERIAL_RX_PIN P0_20 #define Z_SERIAL_RX_PIN P0_20
#define E0_SERIAL_TX_PIN P0_22 #define E0_SERIAL_TX_PIN P0_22
#define E0_SERIAL_RX_PIN P0_21 #define E0_SERIAL_RX_PIN P0_21
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
@ -102,50 +102,50 @@
// Temp Sensors // Temp Sensors
// 3.3V max when defined as an Analog Input! // 3.3V max when defined as an Analog Input!
// //
#if TEMP_SENSOR_0 == 20 // PT100 Adapter #if TEMP_SENSOR_0 == 20 // PT100 Adapter
#define TEMP_0_PIN P0_02_A7 // Analog Input #define TEMP_0_PIN P0_02_A7 // Analog Input
#else #else
#define TEMP_0_PIN P0_23_A0 // Analog Input P0_23 #define TEMP_0_PIN P0_23_A0 // Analog Input P0_23
#endif #endif
#define TEMP_BED_PIN P0_24_A1 // Analog Input P0_24 #define TEMP_BED_PIN P0_24_A1 // Analog Input P0_24
#define TEMP_1_PIN P0_25_A2 // Analog Input P0_25 #define TEMP_1_PIN P0_25_A2 // Analog Input P0_25
#if ENABLED(FILAMENT_WIDTH_SENSOR) #if ENABLED(FILAMENT_WIDTH_SENSOR)
#define FILWIDTH_PIN P0_26_A3 // Analog Input P0_26 #define FILWIDTH_PIN P0_26_A3 // Analog Input P0_26
#else #else
#define TEMP_2_PIN P0_26_A3 // Analog Input P0_26 #define TEMP_2_PIN P0_26_A3 // Analog Input P0_26
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 #define HEATER_0_PIN P2_07
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_06 #define FAN_PIN P2_06
#endif #endif
#define FAN1_PIN P1_22 #define FAN1_PIN P1_22
// //
// Auto fans // Auto fans
// //
#define AUTO_FAN_PIN P1_22 // FET 3 #define AUTO_FAN_PIN P1_22 // FET 3
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN #define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
// //
// SD Card // SD Card
// //
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#define SCK_PIN P0_07 #define SCK_PIN P0_07
#define MISO_PIN P0_08 #define MISO_PIN P0_08
#define MOSI_PIN P0_09 #define MOSI_PIN P0_09
#define ONBOARD_SD_CS_PIN P0_06 #define ONBOARD_SD_CS_PIN P0_06
#define SS_PIN ONBOARD_SD_CS_PIN #define SS_PIN ONBOARD_SD_CS_PIN
// //
// LCD / Controller // LCD / Controller
@ -170,14 +170,14 @@
*/ */
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define BEEPER_PIN P1_31 #define BEEPER_PIN P1_31
#define BTN_EN1 P3_26 #define BTN_EN1 P3_26
#define BTN_EN2 P3_25 #define BTN_EN2 P3_25
#define BTN_ENC P1_30 #define BTN_ENC P1_30
#define LCD_PINS_RS P0_16 #define LCD_PINS_RS P0_16
#define LCD_PINS_ENABLE P0_18 #define LCD_PINS_ENABLE P0_18
#define LCD_PINS_D4 P0_15 #define LCD_PINS_D4 P0_15
#define KILL_PIN P2_11 #define KILL_PIN P2_11
#elif HAS_SPI_LCD #elif HAS_SPI_LCD
#error "Only the CR10_STOCKDISPLAY is supported with TH3D EZBoard." #error "Only the CR10_STOCKDISPLAY is supported with TH3D EZBoard."
#endif #endif

View file

@ -33,46 +33,46 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 3 #define X_STOP_PIN 3
#define Y_STOP_PIN 2 #define Y_STOP_PIN 2
#define Z_STOP_PIN 5 #define Z_STOP_PIN 5
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 14 #define X_STEP_PIN 14
#define X_DIR_PIN 15 #define X_DIR_PIN 15
#define X_ENABLE_PIN 24 #define X_ENABLE_PIN 24
#define Y_STEP_PIN 35 #define Y_STEP_PIN 35
#define Y_DIR_PIN 36 #define Y_DIR_PIN 36
#define Y_ENABLE_PIN 31 #define Y_ENABLE_PIN 31
#define Z_STEP_PIN 40 #define Z_STEP_PIN 40
#define Z_DIR_PIN 41 #define Z_DIR_PIN 41
#define Z_ENABLE_PIN 37 #define Z_ENABLE_PIN 37
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 25 #define E0_ENABLE_PIN 25
#define E1_STEP_PIN 33 #define E1_STEP_PIN 33
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
// //
// Temperature sensors // Temperature sensors
// //
#define TEMP_0_PIN 15 // Analog Input #define TEMP_0_PIN 15 // Analog Input
#define TEMP_1_PIN 14 // Analog Input #define TEMP_1_PIN 14 // Analog Input
#define TEMP_BED_PIN 13 // Analog Input #define TEMP_BED_PIN 13 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 19 // EXTRUDER 1 #define HEATER_0_PIN 19 // EXTRUDER 1
#define HEATER_1_PIN 23 // EXTRUDER 2 #define HEATER_1_PIN 23 // EXTRUDER 2
#define HEATER_BED_PIN 22 #define HEATER_BED_PIN 22
// //
// LCD / Controller // LCD / Controller

View file

@ -36,101 +36,101 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 30 #define X_MIN_PIN 30
#define X_MAX_PIN 31 #define X_MAX_PIN 31
#define Y_MIN_PIN 32 #define Y_MIN_PIN 32
#define Y_MAX_PIN 33 #define Y_MAX_PIN 33
#define Z_MIN_PIN 34 #define Z_MIN_PIN 34
#define Z_MAX_PIN 35 #define Z_MAX_PIN 35
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 17 #define X_STEP_PIN 17
#define X_DIR_PIN 16 #define X_DIR_PIN 16
#define X_ENABLE_PIN 48 #define X_ENABLE_PIN 48
#define Y_STEP_PIN 54 #define Y_STEP_PIN 54
#define Y_DIR_PIN 47 #define Y_DIR_PIN 47
#define Y_ENABLE_PIN 55 #define Y_ENABLE_PIN 55
#define Z_STEP_PIN 57 #define Z_STEP_PIN 57
#define Z_DIR_PIN 56 #define Z_DIR_PIN 56
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#define E0_STEP_PIN 23 #define E0_STEP_PIN 23
#define E0_DIR_PIN 22 #define E0_DIR_PIN 22
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#define E1_STEP_PIN 26 #define E1_STEP_PIN 26
#define E1_DIR_PIN 25 #define E1_DIR_PIN 25
#define E1_ENABLE_PIN 27 #define E1_ENABLE_PIN 27
#define E2_STEP_PIN 29 #define E2_STEP_PIN 29
#define E2_DIR_PIN 28 #define E2_DIR_PIN 28
#define E2_ENABLE_PIN 39 #define E2_ENABLE_PIN 39
// //
// Temperature sensors // Temperature sensors
// //
#define TEMP_0_PIN 15 #define TEMP_0_PIN 15
#define TEMP_1_PIN 13 #define TEMP_1_PIN 13
#define TEMP_2_PIN 14 #define TEMP_2_PIN 14
#define TEMP_3_PIN 11 // should be used for chamber temperature control #define TEMP_3_PIN 11 // should be used for chamber temperature control
#define TEMP_BED_PIN 12 #define TEMP_BED_PIN 12
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 6 #define HEATER_0_PIN 6
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_2_PIN 8 #define HEATER_2_PIN 8
#define HEATER_BED_PIN 9 #define HEATER_BED_PIN 9
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 3 #define FAN_PIN 3
#endif #endif
#define FAN2_PIN 58 // additional fan or light control output #define FAN2_PIN 58 // additional fan or light control output
// //
// Other board specific pins // Other board specific pins
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 37 // board input labeled as F-DET #define FIL_RUNOUT_PIN 37 // board input labeled as F-DET
#endif #endif
#define Z_MIN_PROBE_PIN 36 // additional external board input labeled as E-SENS (should be used for Z-probe) #define Z_MIN_PROBE_PIN 36 // additional external board input labeled as E-SENS (should be used for Z-probe)
#define LED_PIN 13 #define LED_PIN 13
#define SPINDLE_ENABLE_PIN 4 // additional PWM pin 1 at JP1 connector - should be used for laser control too #define SPINDLE_ENABLE_PIN 4 // additional PWM pin 1 at JP1 connector - should be used for laser control too
#define EXT_2 5 // additional PWM pin 2 at JP1 connector #define EXT_2 5 // additional PWM pin 2 at JP1 connector
#define EXT_3 2 // additional PWM pin 3 at JP1 connector #define EXT_3 2 // additional PWM pin 3 at JP1 connector
#define PS_ON_PIN 45 #define PS_ON_PIN 45
#define KILL_PIN 46 #define KILL_PIN 46
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 11 // shared with TEMP_3 analog input #define FILWIDTH_PIN 11 // shared with TEMP_3 analog input
#endif #endif
// //
// LCD / Controller // LCD / Controller
// //
#define LCD_PINS_RS 19 #define LCD_PINS_RS 19
#define LCD_PINS_ENABLE 42 #define LCD_PINS_ENABLE 42
#define LCD_PINS_D4 18 #define LCD_PINS_D4 18
#define LCD_PINS_D5 38 #define LCD_PINS_D5 38
#define LCD_PINS_D6 41 #define LCD_PINS_D6 41
#define LCD_PINS_D7 40 #define LCD_PINS_D7 40
// //
// Beeper, SD Card, Encoder // Beeper, SD Card, Encoder
// //
#define BEEPER_PIN 44 #define BEEPER_PIN 44
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#endif #endif
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_EN1 11 #define BTN_EN1 11
#define BTN_EN2 12 #define BTN_EN2 12
#define BTN_ENC 43 #define BTN_ENC 43
#endif #endif

View file

@ -34,115 +34,115 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 43 #define X_STOP_PIN 43
#define Y_STOP_PIN 45 #define Y_STOP_PIN 45
#define Z_STOP_PIN 42 #define Z_STOP_PIN 42
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 34 #define X_STEP_PIN 34
#define X_DIR_PIN 36 #define X_DIR_PIN 36
#define X_ENABLE_PIN 35 #define X_ENABLE_PIN 35
#define Y_STEP_PIN 37 #define Y_STEP_PIN 37
#define Y_DIR_PIN 39 #define Y_DIR_PIN 39
#define Y_ENABLE_PIN 38 #define Y_ENABLE_PIN 38
#define Z_STEP_PIN 40 #define Z_STEP_PIN 40
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 41 #define Z_ENABLE_PIN 41
#define E0_STEP_PIN 29 #define E0_STEP_PIN 29
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 3 #define E0_ENABLE_PIN 3
#define E1_STEP_PIN 61 #define E1_STEP_PIN 61
#define E1_DIR_PIN 62 #define E1_DIR_PIN 62
#define E1_ENABLE_PIN 60 #define E1_ENABLE_PIN 60
#define E2_STEP_PIN 15 #define E2_STEP_PIN 15
#define E2_DIR_PIN 14 #define E2_DIR_PIN 14
#define E2_ENABLE_PIN 16 #define E2_ENABLE_PIN 16
#define E3_STEP_PIN 44 #define E3_STEP_PIN 44
#define E3_DIR_PIN 49 #define E3_DIR_PIN 49
#define E3_ENABLE_PIN 47 #define E3_ENABLE_PIN 47
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 3 // Analog Input. 3 for tool2 -> 2 for chambertemp #define TEMP_1_PIN 3 // Analog Input. 3 for tool2 -> 2 for chambertemp
#define TEMP_2_PIN 2 // Analog Input. 9 for tool3 -> 2 for chambertemp #define TEMP_2_PIN 2 // Analog Input. 9 for tool3 -> 2 for chambertemp
#define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 2 for chambertemp #define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 2 for chambertemp
#define TEMP_BED_PIN 1 // Analog Input #define TEMP_BED_PIN 1 // Analog Input
#ifndef TEMP_CHAMBER_PIN #ifndef TEMP_CHAMBER_PIN
//#define TEMP_CHAMBER_PIN 2 // Analog Input //#define TEMP_CHAMBER_PIN 2 // Analog Input
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 5 #define HEATER_0_PIN 5
#define HEATER_1_PIN 58 #define HEATER_1_PIN 58
#define HEATER_2_PIN 64 #define HEATER_2_PIN 64
#define HEATER_3_PIN 46 #define HEATER_3_PIN 46
#define HEATER_BED_PIN 2 #define HEATER_BED_PIN 2
#ifndef FAN_PIN #ifndef FAN_PIN
//#define FAN_PIN 7 // common PWM pin for all tools //#define FAN_PIN 7 // common PWM pin for all tools
#endif #endif
#define ORIG_E0_AUTO_FAN_PIN 7 #define ORIG_E0_AUTO_FAN_PIN 7
#define ORIG_E1_AUTO_FAN_PIN 7 #define ORIG_E1_AUTO_FAN_PIN 7
#define ORIG_E2_AUTO_FAN_PIN 7 #define ORIG_E2_AUTO_FAN_PIN 7
#define ORIG_E3_AUTO_FAN_PIN 7 #define ORIG_E3_AUTO_FAN_PIN 7
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 13 #define SD_DETECT_PIN 13
// Tools // Tools
//#define TOOL_0_PIN 4 //#define TOOL_0_PIN 4
//#define TOOL_1_PIN 59 //#define TOOL_1_PIN 59
//#define TOOL_2_PIN 8 //#define TOOL_2_PIN 8
//#define TOOL_3_PIN 30 //#define TOOL_3_PIN 30
//#define TOOL_PWM_PIN 7 // common PWM pin for all tools //#define TOOL_PWM_PIN 7 // common PWM pin for all tools
// Common I/O // Common I/O
//#define FIL_RUNOUT_PIN -1 //#define FIL_RUNOUT_PIN -1
//#define PWM_1_PIN 11 //#define PWM_1_PIN 11
//#define PWM_2_PIN 10 //#define PWM_2_PIN 10
//#define SPARE_IO 12 //#define SPARE_IO 12
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 6 #define BEEPER_PIN 6
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 26 #define DOGLCD_A0 26
#define DOGLCD_CS 24 #define DOGLCD_CS 24
#define DOGLCD_MOSI -1 #define DOGLCD_MOSI -1
#define DOGLCD_SCK -1 #define DOGLCD_SCK -1
#define BTN_EN1 23 #define BTN_EN1 23
#define BTN_EN2 25 #define BTN_EN2 25
#define BTN_ENC 27 #define BTN_ENC 27
// Hardware buttons for manual movement of XYZ // Hardware buttons for manual movement of XYZ
#define SHIFT_OUT 19 #define SHIFT_OUT 19
#define SHIFT_LD 18 #define SHIFT_LD 18
#define SHIFT_CLK 17 #define SHIFT_CLK 17
//#define UI1 31 //#define UI1 31
//#define UI2 22 //#define UI2 22
#define STAT_LED_BLUE_PIN -1 #define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 31 #define STAT_LED_RED_PIN 31

View file

@ -34,122 +34,122 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 19 #define X_STOP_PIN 19
#define Y_STOP_PIN 22 #define Y_STOP_PIN 22
#define Z_STOP_PIN 23 #define Z_STOP_PIN 23
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 27 #define X_DIR_PIN 27
#define X_ENABLE_PIN 26 #define X_ENABLE_PIN 26
#define Y_STEP_PIN 28 #define Y_STEP_PIN 28
#define Y_DIR_PIN 30 #define Y_DIR_PIN 30
#define Y_ENABLE_PIN 29 #define Y_ENABLE_PIN 29
#define Z_STEP_PIN 31 #define Z_STEP_PIN 31
#define Z_DIR_PIN 33 #define Z_DIR_PIN 33
#define Z_ENABLE_PIN 32 #define Z_ENABLE_PIN 32
#define E0_STEP_PIN 57 #define E0_STEP_PIN 57
#define E0_DIR_PIN 55 #define E0_DIR_PIN 55
#define E0_ENABLE_PIN 58 #define E0_ENABLE_PIN 58
#define E1_STEP_PIN 61 #define E1_STEP_PIN 61
#define E1_DIR_PIN 62 #define E1_DIR_PIN 62
#define E1_ENABLE_PIN 60 #define E1_ENABLE_PIN 60
#define E2_STEP_PIN 46 #define E2_STEP_PIN 46
#define E2_DIR_PIN 66 #define E2_DIR_PIN 66
#define E2_ENABLE_PIN 44 #define E2_ENABLE_PIN 44
#define E3_STEP_PIN 45 #define E3_STEP_PIN 45
#define E3_DIR_PIN 69 #define E3_DIR_PIN 69
#define E3_ENABLE_PIN 47 #define E3_ENABLE_PIN 47
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 9 // Analog Input. 9 for tool2 -> 13 for chambertemp #define TEMP_1_PIN 9 // Analog Input. 9 for tool2 -> 13 for chambertemp
#define TEMP_2_PIN 13 // Analog Input. 10 for tool3 -> 13 for chambertemp #define TEMP_2_PIN 13 // Analog Input. 10 for tool3 -> 13 for chambertemp
#define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 13 for chambertemp #define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 13 for chambertemp
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
#ifndef TEMP_CHAMBER_PIN #ifndef TEMP_CHAMBER_PIN
//#define TEMP_CHAMBER_PIN 13 // Analog Input //#define TEMP_CHAMBER_PIN 13 // Analog Input
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 11 #define HEATER_0_PIN 11
#define HEATER_1_PIN 9 #define HEATER_1_PIN 9
#define HEATER_2_PIN 6 #define HEATER_2_PIN 6
#define HEATER_3_PIN 3 #define HEATER_3_PIN 3
#define HEATER_BED_PIN 24 #define HEATER_BED_PIN 24
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools #define FAN_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools
#endif #endif
#define ORIG_E0_AUTO_FAN_PIN 7 #define ORIG_E0_AUTO_FAN_PIN 7
#define ORIG_E1_AUTO_FAN_PIN 7 #define ORIG_E1_AUTO_FAN_PIN 7
#define ORIG_E2_AUTO_FAN_PIN 7 #define ORIG_E2_AUTO_FAN_PIN 7
#define ORIG_E3_AUTO_FAN_PIN 7 #define ORIG_E3_AUTO_FAN_PIN 7
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 15 #define SD_DETECT_PIN 15
// Tools // Tools
//#define TOOL_0_PIN 56 //#define TOOL_0_PIN 56
//#define TOOL_0_PWM_PIN 10 // red warning led at dual extruder //#define TOOL_0_PWM_PIN 10 // red warning led at dual extruder
//#define TOOL_1_PIN 59 //#define TOOL_1_PIN 59
//#define TOOL_1_PWM_PIN 8 // lights at dual extruder //#define TOOL_1_PWM_PIN 8 // lights at dual extruder
//#define TOOL_2_PIN 4 //#define TOOL_2_PIN 4
//#define TOOL_2_PWM_PIN 5 //#define TOOL_2_PWM_PIN 5
//#define TOOL_3_PIN 14 //#define TOOL_3_PIN 14
//#define TOOL_3_PWM_PIN 2 //#define TOOL_3_PWM_PIN 2
// Common I/O // Common I/O
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 18 #define FIL_RUNOUT_PIN 18
#endif #endif
//#define PWM_1_PIN 12 //#define PWM_1_PIN 12
//#define PWM_2_PIN 13 //#define PWM_2_PIN 13
//#define SPARE_IO 17 //#define SPARE_IO 17
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 16 #define BEEPER_PIN 16
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 39 #define DOGLCD_A0 39
#define DOGLCD_CS 35 #define DOGLCD_CS 35
#define DOGLCD_MOSI 48 #define DOGLCD_MOSI 48
#define DOGLCD_SCK 49 #define DOGLCD_SCK 49
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
// The encoder and click button // The encoder and click button
#define BTN_EN1 36 #define BTN_EN1 36
#define BTN_EN2 34 #define BTN_EN2 34
#define BTN_ENC 38 #define BTN_ENC 38
// Hardware buttons for manual movement of XYZ // Hardware buttons for manual movement of XYZ
#define SHIFT_OUT 42 #define SHIFT_OUT 42
#define SHIFT_LD 41 #define SHIFT_LD 41
#define SHIFT_CLK 40 #define SHIFT_CLK 40
//#define UI1 43 //#define UI1 43
//#define UI2 37 //#define UI2 37
#define STAT_LED_BLUE_PIN -1 #define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN #define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN

View file

@ -34,79 +34,79 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 6 #define SERVO0_PIN 6
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 34 #define X_STOP_PIN 34
#define Y_STOP_PIN 39 #define Y_STOP_PIN 39
#define Z_STOP_PIN 62 #define Z_STOP_PIN 62
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 49 #define Z_MIN_PROBE_PIN 49
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 14 #define X_STEP_PIN 14
#define X_DIR_PIN 25 #define X_DIR_PIN 25
#define X_ENABLE_PIN 26 #define X_ENABLE_PIN 26
#define Y_STEP_PIN 11 #define Y_STEP_PIN 11
#define Y_DIR_PIN 12 #define Y_DIR_PIN 12
#define Y_ENABLE_PIN 15 #define Y_ENABLE_PIN 15
#define Z_STEP_PIN 24 #define Z_STEP_PIN 24
#define Z_DIR_PIN 27 #define Z_DIR_PIN 27
#define Z_ENABLE_PIN 28 #define Z_ENABLE_PIN 28
#define E0_STEP_PIN 64 #define E0_STEP_PIN 64
#define E0_DIR_PIN 65 #define E0_DIR_PIN 65
#define E0_ENABLE_PIN 63 #define E0_ENABLE_PIN 63
// //
// Temperature Sensors // Temperature Sensors
// Analog Inputs // Analog Inputs
// //
#define TEMP_0_PIN 2 // Analog Input #define TEMP_0_PIN 2 // Analog Input
#define TEMP_BED_PIN 4 // Analog Input #define TEMP_BED_PIN 4 // Analog Input
#ifndef TEMP_CHAMBER_PIN #ifndef TEMP_CHAMBER_PIN
#define TEMP_CHAMBER_PIN 5 // Analog Input #define TEMP_CHAMBER_PIN 5 // Analog Input
#endif #endif
// //
// Heaters // Heaters
// //
#define HEATER_0_PIN 4 #define HEATER_0_PIN 4
#define HEATER_BED_PIN 32 #define HEATER_BED_PIN 32
#define HEATER_CHAMBER_PIN 33 #define HEATER_CHAMBER_PIN 33
// //
// Fans // Fans
// //
#define FAN_PIN 8 #define FAN_PIN 8
#define ORIG_E0_AUTO_FAN_PIN 30 #define ORIG_E0_AUTO_FAN_PIN 30
#define ORIG_E1_AUTO_FAN_PIN 30 #define ORIG_E1_AUTO_FAN_PIN 30
#define ORIG_E2_AUTO_FAN_PIN 30 #define ORIG_E2_AUTO_FAN_PIN 30
#define ORIG_E3_AUTO_FAN_PIN 30 #define ORIG_E3_AUTO_FAN_PIN 30
//#define ORIG_CHAMBER_AUTO_FAN_PIN 10 //#define ORIG_CHAMBER_AUTO_FAN_PIN 10
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 40 #define SD_DETECT_PIN 40
// Common I/O // Common I/O
#define FIL_RUNOUT_PIN 9 #define FIL_RUNOUT_PIN 9
//#define FIL_RUNOUT_PIN 29 // encoder sensor //#define FIL_RUNOUT_PIN 29 // encoder sensor
//#define PWM_1_PIN 12 //#define PWM_1_PIN 12
//#define PWM_2_PIN 13 //#define PWM_2_PIN 13
//#define SPARE_IO 17 //#define SPARE_IO 17
#define BEEPER_PIN 13 #define BEEPER_PIN 13
#define STAT_LED_BLUE_PIN -1 #define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 10 // 31 #define STAT_LED_RED_PIN 10 // 31

View file

@ -35,48 +35,48 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 44 #define X_STOP_PIN 44
#define Y_STOP_PIN 43 #define Y_STOP_PIN 43
#define Z_STOP_PIN 42 #define Z_STOP_PIN 42
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 76 #define X_STEP_PIN 76
#define X_DIR_PIN 75 #define X_DIR_PIN 75
#define X_ENABLE_PIN 73 #define X_ENABLE_PIN 73
#define Y_STEP_PIN 31 #define Y_STEP_PIN 31
#define Y_DIR_PIN 32 #define Y_DIR_PIN 32
#define Y_ENABLE_PIN 72 #define Y_ENABLE_PIN 72
#define Z_STEP_PIN 34 #define Z_STEP_PIN 34
#define Z_DIR_PIN 35 #define Z_DIR_PIN 35
#define Z_ENABLE_PIN 33 #define Z_ENABLE_PIN 33
#define E0_STEP_PIN 36 #define E0_STEP_PIN 36
#define E0_DIR_PIN 37 #define E0_DIR_PIN 37
#define E0_ENABLE_PIN 30 #define E0_ENABLE_PIN 30
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_BED_PIN 1 // Analog Input #define TEMP_BED_PIN 1 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 83 #define HEATER_0_PIN 83
#define HEATER_BED_PIN 38 #define HEATER_BED_PIN 38
#define FAN_PIN 82 #define FAN_PIN 82
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 4 #define LED_PIN 4
////////////////////////// //////////////////////////
// LCDs and Controllers // // LCDs and Controllers //
@ -90,24 +90,24 @@
// u8glib constructor // u8glib constructor
// U8GLIB_SH1106_128X64 u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, LCD_PINS_DC, LCD_PINS_RS); // U8GLIB_SH1106_128X64 u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, LCD_PINS_DC, LCD_PINS_RS);
#define LCD_PINS_DC 78 #define LCD_PINS_DC 78
#define LCD_PINS_RS 79 #define LCD_PINS_RS 79
// DOGM SPI LCD Support // DOGM SPI LCD Support
#define DOGLCD_CS 3 #define DOGLCD_CS 3
#define DOGLCD_MOSI 2 #define DOGLCD_MOSI 2
#define DOGLCD_SCK 5 #define DOGLCD_SCK 5
#define DOGLCD_A0 2 #define DOGLCD_A0 2
// //
// LCD Display input pins // LCD Display input pins
// //
#define BTN_UP 25 #define BTN_UP 25
#define BTN_DWN 26 #define BTN_DWN 26
#define BTN_LFT 27 #define BTN_LFT 27
#define BTN_RT 28 #define BTN_RT 28
// 'OK' button // 'OK' button
#define BTN_ENC 29 #define BTN_ENC 29
// Set Kill to right arrow, same as RIGID_PANEL // Set Kill to right arrow, same as RIGID_PANEL
#define KILL_PIN 28 #define KILL_PIN 28

View file

@ -34,115 +34,115 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 35 #define X_MIN_PIN 35
#define X_MAX_PIN 34 #define X_MAX_PIN 34
#define Y_MIN_PIN 33 #define Y_MIN_PIN 33
#define Y_MAX_PIN 32 #define Y_MAX_PIN 32
#define Z_MIN_PIN 31 #define Z_MIN_PIN 31
#define Z_MAX_PIN 30 #define Z_MAX_PIN 30
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 30 #define Z_MIN_PROBE_PIN 30
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 49 #define X_STEP_PIN 49
#define X_DIR_PIN 13 #define X_DIR_PIN 13
#define X_ENABLE_PIN 48 #define X_ENABLE_PIN 48
#define Y_STEP_PIN 11 #define Y_STEP_PIN 11
#define Y_DIR_PIN 9 #define Y_DIR_PIN 9
#define Y_ENABLE_PIN 12 #define Y_ENABLE_PIN 12
#define Z_STEP_PIN 7 #define Z_STEP_PIN 7
#define Z_DIR_PIN 6 #define Z_DIR_PIN 6
#define Z_ENABLE_PIN 8 #define Z_ENABLE_PIN 8
#define E0_STEP_PIN 40 #define E0_STEP_PIN 40
#define E0_DIR_PIN 41 #define E0_DIR_PIN 41
#define E0_ENABLE_PIN 37 #define E0_ENABLE_PIN 37
#define E1_STEP_PIN 18 #define E1_STEP_PIN 18
#define E1_DIR_PIN 19 #define E1_DIR_PIN 19
#define E1_ENABLE_PIN 38 #define E1_ENABLE_PIN 38
#define E2_STEP_PIN 43 #define E2_STEP_PIN 43
#define E2_DIR_PIN 47 #define E2_DIR_PIN 47
#define E2_ENABLE_PIN 42 #define E2_ENABLE_PIN 42
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 3 // Analog Input #define TEMP_0_PIN 3 // Analog Input
#define TEMP_1_PIN 2 // Analog Input #define TEMP_1_PIN 2 // Analog Input
#define TEMP_2_PIN 1 // Analog Input #define TEMP_2_PIN 1 // Analog Input
#define TEMP_BED_PIN 0 // Analog Input #define TEMP_BED_PIN 0 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 45 // 12V PWM1 #define HEATER_0_PIN 45 // 12V PWM1
#define HEATER_1_PIN 46 // 12V PWM2 #define HEATER_1_PIN 46 // 12V PWM2
#define HEATER_2_PIN 17 // 12V PWM3 #define HEATER_2_PIN 17 // 12V PWM3
#define HEATER_BED_PIN 44 // DOUBLE 12V PWM #define HEATER_BED_PIN 44 // DOUBLE 12V PWM
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 16 // 5V PWM #define FAN_PIN 16 // 5V PWM
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define PS_ON_PIN 10 // Set to -1 if using a manual switch on the PWRSW Connector #define PS_ON_PIN 10 // Set to -1 if using a manual switch on the PWRSW Connector
#define SLEEP_WAKE_PIN 26 // This feature still needs work #define SLEEP_WAKE_PIN 26 // This feature still needs work
#define PHOTOGRAPH_PIN 29 #define PHOTOGRAPH_PIN 29
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 36 #define BEEPER_PIN 36
#if ENABLED(RA_CONTROL_PANEL) #if ENABLED(RA_CONTROL_PANEL)
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 28 #define SD_DETECT_PIN 28
#define BTN_EN1 14 #define BTN_EN1 14
#define BTN_EN2 39 #define BTN_EN2 39
#define BTN_ENC 15 #define BTN_ENC 15
#endif // RA_CONTROL_PANEL #endif // RA_CONTROL_PANEL
#if ENABLED(RA_DISCO) #if ENABLED(RA_DISCO)
// variables for which pins the TLC5947 is using // variables for which pins the TLC5947 is using
#define TLC_CLOCK_PIN 25 #define TLC_CLOCK_PIN 25
#define TLC_BLANK_PIN 23 #define TLC_BLANK_PIN 23
#define TLC_XLAT_PIN 22 #define TLC_XLAT_PIN 22
#define TLC_DATA_PIN 24 #define TLC_DATA_PIN 24
// We also need to define pin to port number mapping for the 2560 to match the pins listed above. // We also need to define pin to port number mapping for the 2560 to match the pins listed above.
// If you change the TLC pins, update this as well per the 2560 datasheet! This currently only works with the RA Board. // If you change the TLC pins, update this as well per the 2560 datasheet! This currently only works with the RA Board.
#define TLC_CLOCK_BIT 3 #define TLC_CLOCK_BIT 3
#define TLC_CLOCK_PORT &PORTA #define TLC_CLOCK_PORT &PORTA
#define TLC_BLANK_BIT 1 #define TLC_BLANK_BIT 1
#define TLC_BLANK_PORT &PORTA #define TLC_BLANK_PORT &PORTA
#define TLC_DATA_BIT 2 #define TLC_DATA_BIT 2
#define TLC_DATA_PORT &PORTA #define TLC_DATA_PORT &PORTA
#define TLC_XLAT_BIT 0 #define TLC_XLAT_BIT 0
#define TLC_XLAT_PORT &PORTA #define TLC_XLAT_PORT &PORTA
// Change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful // Change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
// Leave it at at least 1 if you have enabled RA_LIGHTING // Leave it at at least 1 if you have enabled RA_LIGHTING
// The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module. // The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module.
#define NUM_TLCS 2 #define NUM_TLCS 2
// These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions. // These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
// Modify them according to your specific situation. // Modify them according to your specific situation.

View file

@ -39,102 +39,102 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 22 #define X_MIN_PIN 22
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 26 #define Y_MIN_PIN 26
#define Y_MAX_PIN 28 #define Y_MAX_PIN 28
#define Z_MIN_PIN 30 #define Z_MIN_PIN 30
#define Z_MAX_PIN 32 #define Z_MAX_PIN 32
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 27 #define X_ENABLE_PIN 27
#define Y_STEP_PIN 31 #define Y_STEP_PIN 31
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 29 #define Y_ENABLE_PIN 29
#define Z_STEP_PIN 37 #define Z_STEP_PIN 37
#define Z_DIR_PIN 39 #define Z_DIR_PIN 39
#define Z_ENABLE_PIN 35 #define Z_ENABLE_PIN 35
#define E0_STEP_PIN 43 #define E0_STEP_PIN 43
#define E0_DIR_PIN 45 #define E0_DIR_PIN 45
#define E0_ENABLE_PIN 41 #define E0_ENABLE_PIN 41
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 8 #define TEMP_0_PIN 8
#define TEMP_1_PIN 9 #define TEMP_1_PIN 9
#define TEMP_BED_PIN 10 #define TEMP_BED_PIN 10
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 #define FAN_PIN 7
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#define SUICIDE_PIN 54 // Must be enabled at startup to keep power flowing #define SUICIDE_PIN 54 // Must be enabled at startup to keep power flowing
#define KILL_PIN -1 #define KILL_PIN -1
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
#define DOGLCD_A0 5 #define DOGLCD_A0 5
#define DOGLCD_CS 21 #define DOGLCD_CS 21
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 42 #define BTN_EN2 42
#else #else
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 16 #define LCD_PINS_D4 16
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
#define BTN_EN1 42 #define BTN_EN1 42
#define BTN_EN2 40 #define BTN_EN2 40
#endif #endif
#define BTN_ENC 19 #define BTN_ENC 19
#define SD_DETECT_PIN 38 #define SD_DETECT_PIN 38
#else // !NEWPANEL #else // !NEWPANEL
#define SHIFT_CLK 38 #define SHIFT_CLK 38
#define SHIFT_LD 42 #define SHIFT_LD 42
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_EN 17 #define SHIFT_EN 17
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 5 #define LCD_PINS_ENABLE 5
#define LCD_PINS_D4 6 #define LCD_PINS_D4 6
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 20 #define LCD_PINS_D6 20
#define LCD_PINS_D7 19 #define LCD_PINS_D7 19
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#endif // !NEWPANEL #endif // !NEWPANEL

View file

@ -36,33 +36,33 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 11 //13 untested 3Dtouch #define SERVO0_PIN 11 //13 untested 3Dtouch
// //
// Limit Switches // Limit Switches
// //
#ifndef X_STOP_PIN #ifndef X_STOP_PIN
#ifndef X_MIN_PIN #ifndef X_MIN_PIN
#define X_MIN_PIN 24 #define X_MIN_PIN 24
#endif #endif
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 22 #define X_MAX_PIN 22
#endif #endif
#endif #endif
#ifndef Y_STOP_PIN #ifndef Y_STOP_PIN
#ifndef Y_MIN_PIN #ifndef Y_MIN_PIN
#define Y_MIN_PIN 28 #define Y_MIN_PIN 28
#endif #endif
#ifndef Y_MAX_PIN #ifndef Y_MAX_PIN
#define Y_MAX_PIN 26 #define Y_MAX_PIN 26
#endif #endif
#endif #endif
#ifndef Z_STOP_PIN #ifndef Z_STOP_PIN
#ifndef Z_MIN_PIN #ifndef Z_MIN_PIN
#define Z_MIN_PIN 30 #define Z_MIN_PIN 30
#endif #endif
#ifndef Z_MAX_PIN #ifndef Z_MAX_PIN
#define Z_MAX_PIN 32 #define Z_MAX_PIN 32
#endif #endif
#endif #endif
@ -70,116 +70,116 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Runout Sensor // Runout Sensor
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 66 #define FIL_RUNOUT_PIN 66
#endif #endif
#ifndef FIL_RUNOUT2_PIN #ifndef FIL_RUNOUT2_PIN
#define FIL_RUNOUT2_PIN 67 #define FIL_RUNOUT2_PIN 67
#endif #endif
// //
// Power Recovery // Power Recovery
// //
#define POWER_LOSS_PIN 69 // Pin to detect power loss #define POWER_LOSS_PIN 69 // Pin to detect power loss
#define POWER_LOSS_STATE LOW #define POWER_LOSS_STATE LOW
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 37 #define X_STEP_PIN 37
#define X_DIR_PIN 39 #define X_DIR_PIN 39
#define X_ENABLE_PIN 35 #define X_ENABLE_PIN 35
#define Y_STEP_PIN 31 #define Y_STEP_PIN 31
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 29 #define Y_ENABLE_PIN 29
#define Z_STEP_PIN 25 #define Z_STEP_PIN 25
#define Z_DIR_PIN 23 #define Z_DIR_PIN 23
#define Z_ENABLE_PIN 27 #define Z_ENABLE_PIN 27
#define E0_STEP_PIN 46 #define E0_STEP_PIN 46
#define E0_DIR_PIN 44 #define E0_DIR_PIN 44
#define E0_ENABLE_PIN 12 #define E0_ENABLE_PIN 12
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
#define E2_STEP_PIN 43 #define E2_STEP_PIN 43
#define E2_DIR_PIN 45 #define E2_DIR_PIN 45
#define E2_ENABLE_PIN 41 #define E2_ENABLE_PIN 41
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 11 // Analog Input #define TEMP_0_PIN 11 // Analog Input
#define TEMP_1_PIN 9 // Analog Input #define TEMP_1_PIN 9 // Analog Input
#define TEMP_2_PIN 1 // Analog Input #define TEMP_2_PIN 1 // Analog Input
#define TEMP_BED_PIN 10 // Analog Input #define TEMP_BED_PIN 10 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_2_PIN 1 #define HEATER_2_PIN 1
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#define FAN_PIN 9 #define FAN_PIN 9
#define FAN1_PIN 8 #define FAN1_PIN 8
#define FAN2_PIN 7 #define FAN2_PIN 7
// //
// Misc. Functions // Misc. Functions
// //
#define SD_DETECT_PIN 38 #define SD_DETECT_PIN 38
#define SDSS 53 #define SDSS 53
#define LED_PIN 6 #define LED_PIN 6
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#define SUICIDE_PIN 54 // This pin must be enabled at boot to keep power flowing #define SUICIDE_PIN 54 // This pin must be enabled at boot to keep power flowing
#ifndef CASE_LIGHT_PIN #ifndef CASE_LIGHT_PIN
#define CASE_LIGHT_PIN 6 // 21 #define CASE_LIGHT_PIN 6 // 21
#endif #endif
// //
// LCD Controller // LCD Controller
// //
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#ifndef LCD_PINS_RS #ifndef LCD_PINS_RS
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#endif #endif
#ifndef LCD_PINS_ENABLE #ifndef LCD_PINS_ENABLE
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#endif #endif
#ifndef LCD_PINS_D4 #ifndef LCD_PINS_D4
#define LCD_PINS_D4 16 #define LCD_PINS_D4 16
#endif #endif
#ifndef LCD_PINS_D5 #ifndef LCD_PINS_D5
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#endif #endif
#ifndef LCD_PINS_D6 #ifndef LCD_PINS_D6
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#endif #endif
#ifndef LCD_PINS_D7 #ifndef LCD_PINS_D7
#define LCD_PINS_D7 36 #define LCD_PINS_D7 36
#endif #endif
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#ifndef BTN_EN1 #ifndef BTN_EN1
#define BTN_EN1 42 #define BTN_EN1 42
#endif #endif
#ifndef BTN_EN2 #ifndef BTN_EN2
#define BTN_EN2 40 #define BTN_EN2 40
#endif #endif
#ifndef BTN_ENC #ifndef BTN_ENC
#define BTN_ENC 19 #define BTN_ENC 19
#endif #endif
#endif #endif

View file

@ -25,15 +25,15 @@
* Geeetech A20M pin assignment * Geeetech A20M pin assignment
*/ */
#define LCD_PINS_RS 5 #define LCD_PINS_RS 5
#define LCD_PINS_ENABLE 36 #define LCD_PINS_ENABLE 36
#define LCD_PINS_D4 21 #define LCD_PINS_D4 21
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_EN1 16 #define BTN_EN1 16
#define BTN_EN2 17 #define BTN_EN2 17
#define BTN_ENC 19 #define BTN_ENC 19
#endif #endif
#include "pins_GT2560_V3.h" #include "pins_GT2560_V3.h"

View file

@ -27,9 +27,9 @@
#define BOARD_INFO_NAME "GT2560 V3.0 (MC2)" #define BOARD_INFO_NAME "GT2560 V3.0 (MC2)"
#define X_MIN_PIN 22 #define X_MIN_PIN 22
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 26 #define Y_MIN_PIN 26
#define Y_MAX_PIN 28 #define Y_MAX_PIN 28
#include "pins_GT2560_V3.h" #include "pins_GT2560_V3.h"

View file

@ -42,79 +42,79 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 22 #define X_STOP_PIN 22
#define Y_STOP_PIN 26 #define Y_STOP_PIN 26
#define Z_STOP_PIN 29 #define Z_STOP_PIN 29
//#define EXP_STOP_PIN 28 //#define EXP_STOP_PIN 28
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 27 #define X_ENABLE_PIN 27
#define Y_STEP_PIN 32 #define Y_STEP_PIN 32
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 31 #define Y_ENABLE_PIN 31
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 36 #define Z_DIR_PIN 36
#define Z_ENABLE_PIN 34 #define Z_ENABLE_PIN 34
#define E0_STEP_PIN 42 #define E0_STEP_PIN 42
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 37 #define E0_ENABLE_PIN 37
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
#define MOTOR_CURRENT_PWM_XY_PIN 44 #define MOTOR_CURRENT_PWM_XY_PIN 44
#define MOTOR_CURRENT_PWM_Z_PIN 45 #define MOTOR_CURRENT_PWM_Z_PIN 45
#define MOTOR_CURRENT_PWM_E_PIN 46 #define MOTOR_CURRENT_PWM_E_PIN 46
// Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
#ifndef MOTOR_CURRENT_PWM_RANGE #ifndef MOTOR_CURRENT_PWM_RANGE
#define MOTOR_CURRENT_PWM_RANGE 2000 #define MOTOR_CURRENT_PWM_RANGE 2000
#endif #endif
#define DEFAULT_PWM_MOTOR_CURRENT { 1300, 1300, 1250 } #define DEFAULT_PWM_MOTOR_CURRENT { 1300, 1300, 1250 }
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 8 // Analog Input #define TEMP_0_PIN 8 // Analog Input
#define TEMP_1_PIN 9 // Analog Input #define TEMP_1_PIN 9 // Analog Input
#define TEMP_BED_PIN 10 // Analog Input #define TEMP_BED_PIN 10 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 //默认不使用PWM_FAN冷却喷嘴如果需要则取消注释 #define FAN_PIN 7 //默认不使用PWM_FAN冷却喷嘴如果需要则取消注释
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 39 #define SD_DETECT_PIN 39
//#define LED_PIN 8 //#define LED_PIN 8
#define CASE_LIGHT_PIN 8 // 8 默认挤出机风扇作为Case LED如果需要PWM FAN,则需要将FAN_PIN置为7LED_PIN置为8 #define CASE_LIGHT_PIN 8 // 8 默认挤出机风扇作为Case LED如果需要PWM FAN,则需要将FAN_PIN置为7LED_PIN置为8
//#define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered //#define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered
//#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider. //#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if ENABLED(SPINDLE_LASER_ENABLE) #if ENABLED(SPINDLE_LASER_ENABLE)
#define SPINDLE_DIR_PIN 16 #define SPINDLE_DIR_PIN 16
#define SPINDLE_LASER_ENABLE_PIN 17 // Pin should have a pullup! #define SPINDLE_LASER_ENABLE_PIN 17 // Pin should have a pullup!
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
#endif #endif
// //
@ -122,48 +122,48 @@
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define LCD_PINS_RS 20 // LCD_CS #define LCD_PINS_RS 20 // LCD_CS
#define LCD_PINS_ENABLE 15 // LCD_SDA #define LCD_PINS_ENABLE 15 // LCD_SDA
#define LCD_PINS_D4 14 // LCD_SCK #define LCD_PINS_D4 14 // LCD_SCK
#if ENABLED(HJC_LCD_SMART_CONTROLLER) #if ENABLED(HJC_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 5 // LCD_Backlight #define LCD_BACKLIGHT_PIN 5 // LCD_Backlight
//#ifndef LCD_CONTRAST_PIN //#ifndef LCD_CONTRAST_PIN
// #define LCD_CONTRAST_PIN 5 // LCD_Contrast // #define LCD_CONTRAST_PIN 5 // LCD_Contrast
//#endif //#endif
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 24 // Filament runout #define FIL_RUNOUT_PIN 24 // Filament runout
#endif #endif
#else #else
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
#endif #endif
#define BTN_EN1 41 #define BTN_EN1 41
#define BTN_EN2 40 #define BTN_EN2 40
#define BTN_ENC 19 #define BTN_ENC 19
#define SD_DETECT_PIN 39 #define SD_DETECT_PIN 39
#else #else
// Buttons attached to a shift register // Buttons attached to a shift register
#define SHIFT_CLK 38 #define SHIFT_CLK 38
#define SHIFT_LD 42 #define SHIFT_LD 42
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_EN 17 #define SHIFT_EN 17
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 5 #define LCD_PINS_ENABLE 5
#define LCD_PINS_D4 6 #define LCD_PINS_D4 6
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 20 #define LCD_PINS_D6 20
#define LCD_PINS_D7 19 #define LCD_PINS_D7 19
#endif // !NEWPANEL #endif // !NEWPANEL

View file

@ -34,59 +34,59 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 47 #define X_MIN_PIN 47
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#define Y_MIN_PIN 48 #define Y_MIN_PIN 48
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 49 #define Z_MIN_PIN 49
#define Z_MAX_PIN -1 #define Z_MAX_PIN -1
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 28 #define X_STEP_PIN 28
#define X_DIR_PIN 63 #define X_DIR_PIN 63
#define X_ENABLE_PIN 29 #define X_ENABLE_PIN 29
#define Y_STEP_PIN 14 // A6 #define Y_STEP_PIN 14 // A6
#define Y_DIR_PIN 15 // A0 #define Y_DIR_PIN 15 // A0
#define Y_ENABLE_PIN 39 #define Y_ENABLE_PIN 39
#define Z_STEP_PIN 31 // A2 #define Z_STEP_PIN 31 // A2
#define Z_DIR_PIN 32 // A6 #define Z_DIR_PIN 32 // A6
#define Z_ENABLE_PIN 30 // A1 #define Z_ENABLE_PIN 30 // A1
#define E0_STEP_PIN 34 // 34 #define E0_STEP_PIN 34 // 34
#define E0_DIR_PIN 35 // 35 #define E0_DIR_PIN 35 // 35
#define E0_ENABLE_PIN 33 // 33 #define E0_ENABLE_PIN 33 // 33
#define E1_STEP_PIN 37 // 37 #define E1_STEP_PIN 37 // 37
#define E1_DIR_PIN 40 // 40 #define E1_DIR_PIN 40 // 40
#define E1_ENABLE_PIN 36 // 36 #define E1_ENABLE_PIN 36 // 36
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 // Analog Input (D27) #define TEMP_0_PIN 13 // Analog Input (D27)
#define TEMP_1_PIN 15 // Analog Input (1) #define TEMP_1_PIN 15 // Analog Input (1)
#define TEMP_BED_PIN 14 // Analog Input (1,2 or I2C) #define TEMP_BED_PIN 14 // Analog Input (1,2 or I2C)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 9 #define HEATER_0_PIN 9
#define HEATER_1_PIN 8 // 12 #define HEATER_1_PIN 8 // 12
#define HEATER_2_PIN 11 // 13 #define HEATER_2_PIN 11 // 13
#define HEATER_BED_PIN 10 // 14/15 #define HEATER_BED_PIN 10 // 14/15
#define FAN_PIN 7 #define FAN_PIN 7
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 11 #define SDSS 11
#define LED_PIN 13 #define LED_PIN 13
#define SOL1_PIN 16 #define SOL1_PIN 16
#define SOL2_PIN 17 #define SOL2_PIN 17
/* Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31) */ /* Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31) */

View file

@ -38,9 +38,9 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 47 // 'X Min' #define X_STOP_PIN 47 // 'X Min'
#define Y_STOP_PIN 48 // 'Y Min' #define Y_STOP_PIN 48 // 'Y Min'
#define Z_STOP_PIN 49 // 'Z Min' #define Z_STOP_PIN 49 // 'Z Min'
// //
// Steppers // Steppers
@ -51,65 +51,65 @@
// //
// X-axis signal-level connector // X-axis signal-level connector
#define X_STEP_PIN 65 #define X_STEP_PIN 65
#define X_DIR_PIN 64 #define X_DIR_PIN 64
#define X_ENABLE_PIN 66 // Not actually used on Xeed, could be repurposed #define X_ENABLE_PIN 66 // Not actually used on Xeed, could be repurposed
// Y-axis signal-level connector // Y-axis signal-level connector
#define Y_STEP_PIN 23 #define Y_STEP_PIN 23
#define Y_DIR_PIN 22 #define Y_DIR_PIN 22
#define Y_ENABLE_PIN 24 // Not actually used on Xeed, could be repurposed #define Y_ENABLE_PIN 24 // Not actually used on Xeed, could be repurposed
// ZMOT connector (Front Right Z Motor) // ZMOT connector (Front Right Z Motor)
#define Z_STEP_PIN 31 #define Z_STEP_PIN 31
#define Z_DIR_PIN 32 #define Z_DIR_PIN 32
#define Z_ENABLE_PIN 30 #define Z_ENABLE_PIN 30
// XMOT connector (Rear Z Motor) // XMOT connector (Rear Z Motor)
#define Z2_STEP_PIN 28 #define Z2_STEP_PIN 28
#define Z2_DIR_PIN 63 #define Z2_DIR_PIN 63
#define Z2_ENABLE_PIN 29 #define Z2_ENABLE_PIN 29
// YMOT connector (Front Left Z Motor) // YMOT connector (Front Left Z Motor)
#define Z3_STEP_PIN 14 #define Z3_STEP_PIN 14
#define Z3_DIR_PIN 15 #define Z3_DIR_PIN 15
#define Z3_ENABLE_PIN 39 #define Z3_ENABLE_PIN 39
// EMOT2 connector // EMOT2 connector
#define E0_STEP_PIN 37 #define E0_STEP_PIN 37
#define E0_DIR_PIN 40 #define E0_DIR_PIN 40
#define E0_ENABLE_PIN 36 #define E0_ENABLE_PIN 36
// EMOT connector // EMOT connector
#define E1_STEP_PIN 34 #define E1_STEP_PIN 34
#define E1_DIR_PIN 35 #define E1_DIR_PIN 35
#define E1_ENABLE_PIN 33 #define E1_ENABLE_PIN 33
// //
// Filament runout // Filament runout
// //
#define FIL_RUNOUT_PIN 42 // ROT2 Connector #define FIL_RUNOUT_PIN 42 // ROT2 Connector
#define FIL_RUNOUT2_PIN 44 // ROT1 Connector #define FIL_RUNOUT2_PIN 44 // ROT1 Connector
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 15 // T3 Connector #define TEMP_0_PIN 15 // T3 Connector
#define TEMP_1_PIN 13 // T1 Connector #define TEMP_1_PIN 13 // T1 Connector
#define TEMP_BED_PIN 14 // BED Connector (Between T1 and T3) #define TEMP_BED_PIN 14 // BED Connector (Between T1 and T3)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 8 // Misc Connector, pins 3 and 4 (Out2) #define HEATER_0_PIN 8 // Misc Connector, pins 3 and 4 (Out2)
#define HEATER_1_PIN 9 // Misc Connector, pins 5 and 6 (Out3) #define HEATER_1_PIN 9 // Misc Connector, pins 5 and 6 (Out3)
#define HEATER_BED_PIN 6 // Misc Connector, pins 9(-) and 10(+) (OutA) #define HEATER_BED_PIN 6 // Misc Connector, pins 9(-) and 10(+) (OutA)
#define FAN_PIN 10 // Misc Connector, pins 7(-) and 8 (+) (Out4) #define FAN_PIN 10 // Misc Connector, pins 7(-) and 8 (+) (Out4)
#define LED_PIN 13 #define LED_PIN 13
#define SOL1_PIN 7 // Misc Connector, pins 1(-) and 2(+) (Out1) #define SOL1_PIN 7 // Misc Connector, pins 1(-) and 2(+) (Out1)
// Door Closed Sensor // Door Closed Sensor
//#define DOOR_PIN 45 // HM1 Connector //#define DOOR_PIN 45 // HM1 Connector

View file

@ -36,89 +36,89 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 30 #define SERVO0_PIN 30
#define SERVO1_PIN 31 #define SERVO1_PIN 31
#define SERVO2_PIN 32 #define SERVO2_PIN 32
#define SERVO3_PIN 33 #define SERVO3_PIN 33
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 43 #define X_MIN_PIN 43
#define X_MAX_PIN 42 #define X_MAX_PIN 42
#define Y_MIN_PIN 38 #define Y_MIN_PIN 38
#define Y_MAX_PIN 41 #define Y_MAX_PIN 41
#define Z_MIN_PIN 40 #define Z_MIN_PIN 40
#define Z_MAX_PIN 37 #define Z_MAX_PIN 37
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 37 #define Z_MIN_PROBE_PIN 37
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 62 // A8 #define X_STEP_PIN 62 // A8
#define X_DIR_PIN 63 // A9 #define X_DIR_PIN 63 // A9
#define X_ENABLE_PIN 61 // A7 #define X_ENABLE_PIN 61 // A7
#define Y_STEP_PIN 65 // A11 #define Y_STEP_PIN 65 // A11
#define Y_DIR_PIN 66 // A12 #define Y_DIR_PIN 66 // A12
#define Y_ENABLE_PIN 64 // A10 #define Y_ENABLE_PIN 64 // A10
#define Z_STEP_PIN 68 // A14 #define Z_STEP_PIN 68 // A14
#define Z_DIR_PIN 69 // A15 #define Z_DIR_PIN 69 // A15
#define Z_ENABLE_PIN 67 // A13 #define Z_ENABLE_PIN 67 // A13
#define E0_STEP_PIN 23 #define E0_STEP_PIN 23
#define E0_DIR_PIN 24 #define E0_DIR_PIN 24
#define E0_ENABLE_PIN 22 #define E0_ENABLE_PIN 22
#define E1_STEP_PIN 26 #define E1_STEP_PIN 26
#define E1_DIR_PIN 27 #define E1_DIR_PIN 27
#define E1_ENABLE_PIN 25 #define E1_ENABLE_PIN 25
// //
// Temperature Sensors // Temperature Sensors
// //
#if TEMP_SENSOR_0 == -1 #if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 4 // Analog Input #define TEMP_0_PIN 4 // Analog Input
#else #else
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#endif #endif
#if TEMP_SENSOR_1 == -1 #if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 5 // Analog Input #define TEMP_1_PIN 5 // Analog Input
#else #else
#define TEMP_1_PIN 2 // Analog Input #define TEMP_1_PIN 2 // Analog Input
#endif #endif
#define TEMP_2_PIN 3 // Analog Input #define TEMP_2_PIN 3 // Analog Input
#if TEMP_SENSOR_BED == -1 #if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 6 // Analog Input #define TEMP_BED_PIN 6 // Analog Input
#else #else
#define TEMP_BED_PIN 1 // Analog Input #define TEMP_BED_PIN 1 // Analog Input
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 29 #define HEATER_0_PIN 29
#define HEATER_1_PIN 34 #define HEATER_1_PIN 34
#define HEATER_BED_PIN 28 #define HEATER_BED_PIN 28
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 39 #define FAN_PIN 39
#endif #endif
#define FAN1_PIN 35 #define FAN1_PIN 35
#define FAN2_PIN 36 #define FAN2_PIN 36
#ifndef CONTROLLER_FAN_PIN #ifndef CONTROLLER_FAN_PIN
#define CONTROLLER_FAN_PIN FAN2_PIN #define CONTROLLER_FAN_PIN FAN2_PIN
#endif #endif
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
@ -126,39 +126,39 @@
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define CASE_LIGHT_PIN 2 #define CASE_LIGHT_PIN 2
// //
// LCD / Controller // LCD / Controller
// //
#if ENABLED(MINIPANEL) #if ENABLED(MINIPANEL)
#define BEEPER_PIN 46 #define BEEPER_PIN 46
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 47 #define DOGLCD_A0 47
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define LCD_BACKLIGHT_PIN 44 // backlight LED on PA3 #define LCD_BACKLIGHT_PIN 44 // backlight LED on PA3
#define KILL_PIN 12 #define KILL_PIN 12
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
#define BTN_EN1 48 #define BTN_EN1 48
#define BTN_EN2 11 #define BTN_EN2 11
#define BTN_ENC 10 #define BTN_ENC 10
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#endif // MINIPANEL #endif // MINIPANEL
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 7 // Pullup! #define SPINDLE_LASER_ENA_PIN 7 // Pullup!
#define SPINDLE_DIR_PIN 8 #define SPINDLE_DIR_PIN 8

View file

@ -33,99 +33,99 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 41 #define X_MIN_PIN 41
#define X_MAX_PIN 37 #define X_MAX_PIN 37
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 19 #define Z_MIN_PROBE_PIN 19
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 26 #define X_STEP_PIN 26
#define X_DIR_PIN 28 #define X_DIR_PIN 28
#define X_ENABLE_PIN 24 #define X_ENABLE_PIN 24
#define Y_STEP_PIN 60 // A6 #define Y_STEP_PIN 60 // A6
#define Y_DIR_PIN 61 // A7 #define Y_DIR_PIN 61 // A7
#define Y_ENABLE_PIN 22 #define Y_ENABLE_PIN 22
#define Z_STEP_PIN 54 // A0 #define Z_STEP_PIN 54 // A0
#define Z_DIR_PIN 55 // A1 #define Z_DIR_PIN 55 // A1
#define Z_ENABLE_PIN 56 // A2 #define Z_ENABLE_PIN 56 // A2
#define E0_STEP_PIN 31 #define E0_STEP_PIN 31
#define E0_DIR_PIN 32 #define E0_DIR_PIN 32
#define E0_ENABLE_PIN 38 #define E0_ENABLE_PIN 38
#define E1_STEP_PIN 34 #define E1_STEP_PIN 34
#define E1_DIR_PIN 36 #define E1_DIR_PIN 36
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
// //
// Temperature Sensors // Temperature Sensors
// //
#if TEMP_SENSOR_0 == -1 #if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 8 // Analog Input #define TEMP_0_PIN 8 // Analog Input
#else #else
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#endif #endif
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 9 #define HEATER_0_PIN 9
#define HEATER_1_PIN 8 #define HEATER_1_PIN 8
#define HEATER_BED_PIN 10 #define HEATER_BED_PIN 10
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 // IO pin. Buffer needed #define FAN_PIN 7 // IO pin. Buffer needed
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#define CASE_LIGHT_PIN 2 #define CASE_LIGHT_PIN 2
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#if BOTH(ULTRA_LCD, NEWPANEL) #if BOTH(ULTRA_LCD, NEWPANEL)
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
// Buttons directly attached to AUX-2 // Buttons directly attached to AUX-2
#define BTN_EN1 59 #define BTN_EN1 59
#define BTN_EN2 64 #define BTN_EN2 64
#define BTN_ENC 43 #define BTN_ENC 43
#define SD_DETECT_PIN -1 // RAMPS doesn't use this #define SD_DETECT_PIN -1 // RAMPS doesn't use this
#endif // HAS_SPI_LCD && NEWPANEL #endif // HAS_SPI_LCD && NEWPANEL
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_PWM_PIN 3 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 3 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 4 // Pullup! #define SPINDLE_LASER_ENA_PIN 4 // Pullup!
#define SPINDLE_DIR_PIN 11 #define SPINDLE_DIR_PIN 11

View file

@ -33,120 +33,120 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 37 #define X_MIN_PIN 37
#define X_MAX_PIN 40 #define X_MAX_PIN 40
#define Y_MIN_PIN 41 #define Y_MIN_PIN 41
#define Y_MAX_PIN 38 #define Y_MAX_PIN 38
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 19 #define Z_MIN_PROBE_PIN 19
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 26 #define X_STEP_PIN 26
#define X_DIR_PIN 27 #define X_DIR_PIN 27
#define X_ENABLE_PIN 25 #define X_ENABLE_PIN 25
#define Y_STEP_PIN 4 // A6 #define Y_STEP_PIN 4 // A6
#define Y_DIR_PIN 54 // A0 #define Y_DIR_PIN 54 // A0
#define Y_ENABLE_PIN 5 #define Y_ENABLE_PIN 5
#define Z_STEP_PIN 56 // A2 #define Z_STEP_PIN 56 // A2
#define Z_DIR_PIN 60 // A6 #define Z_DIR_PIN 60 // A6
#define Z_ENABLE_PIN 55 // A1 #define Z_ENABLE_PIN 55 // A1
#define E0_STEP_PIN 35 #define E0_STEP_PIN 35
#define E0_DIR_PIN 36 #define E0_DIR_PIN 36
#define E0_ENABLE_PIN 34 #define E0_ENABLE_PIN 34
#define E1_STEP_PIN 29 #define E1_STEP_PIN 29
#define E1_DIR_PIN 39 #define E1_DIR_PIN 39
#define E1_ENABLE_PIN 28 #define E1_ENABLE_PIN 28
#define E2_STEP_PIN 23 // ? schematic says 24 #define E2_STEP_PIN 23 // ? schematic says 24
#define E2_DIR_PIN 24 // ? schematic says 23 #define E2_DIR_PIN 24 // ? schematic says 23
#define E2_ENABLE_PIN 22 #define E2_ENABLE_PIN 22
// //
// Temperature Sensors // Temperature Sensors
// //
#if TEMP_SENSOR_0 == -1 #if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 4 // Analog Input #define TEMP_0_PIN 4 // Analog Input
#else #else
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#endif #endif
#if TEMP_SENSOR_1 == -1 #if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 8 // Analog Input #define TEMP_1_PIN 8 // Analog Input
#else #else
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#endif #endif
#if TEMP_SENSOR_BED == -1 #if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 8 // Analog Input #define TEMP_BED_PIN 8 // Analog Input
#else #else
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 9 #define HEATER_0_PIN 9
#define HEATER_1_PIN 8 #define HEATER_1_PIN 8
#define HEATER_BED_PIN 10 #define HEATER_BED_PIN 10
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 #define FAN_PIN 7
#endif #endif
#define FAN1_PIN 6 #define FAN1_PIN 6
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#define CASE_LIGHT_PIN 2 #define CASE_LIGHT_PIN 2
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_PWM_PIN 3 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 3 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 16 // Pullup! #define SPINDLE_LASER_ENA_PIN 16 // Pullup!
#define SPINDLE_DIR_PIN 11 #define SPINDLE_DIR_PIN 11
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 64 #define BEEPER_PIN 64
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define LCD_PINS_RS 14 #define LCD_PINS_RS 14
#define LCD_PINS_ENABLE 15 #define LCD_PINS_ENABLE 15
#define LCD_PINS_D4 30 #define LCD_PINS_D4 30
#define LCD_PINS_D5 31 #define LCD_PINS_D5 31
#define LCD_PINS_D6 32 #define LCD_PINS_D6 32
#define LCD_PINS_D7 33 #define LCD_PINS_D7 33
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
// Buttons are directly attached using keypad // Buttons are directly attached using keypad
#define BTN_EN1 61 #define BTN_EN1 61
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 43 #define BTN_ENC 43
#else #else
// Buttons attached to shift register of reprapworld keypad v1.1 // Buttons attached to shift register of reprapworld keypad v1.1
#define SHIFT_CLK 63 #define SHIFT_CLK 63
#define SHIFT_LD 42 #define SHIFT_LD 42
#define SHIFT_OUT 17 #define SHIFT_OUT 17
#define SHIFT_EN 17 #define SHIFT_EN 17
#endif #endif
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -40,132 +40,132 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 46 // AUX3-6 #define SERVO0_PIN 46 // AUX3-6
#define SERVO1_PIN 47 // AUX3-5 #define SERVO1_PIN 47 // AUX3-5
#define SERVO2_PIN 48 // AUX3-4 #define SERVO2_PIN 48 // AUX3-4
#define SERVO3_PIN 49 // AUX3-3 #define SERVO3_PIN 49 // AUX3-3
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 37 // No INT #define X_MIN_PIN 37 // No INT
#define X_MAX_PIN 40 // No INT #define X_MAX_PIN 40 // No INT
#define Y_MIN_PIN 41 // No INT #define Y_MIN_PIN 41 // No INT
#define Y_MAX_PIN 38 // No INT #define Y_MAX_PIN 38 // No INT
#define Z_MIN_PIN 18 // No INT #define Z_MIN_PIN 18 // No INT
#define Z_MAX_PIN 19 // No INT #define Z_MAX_PIN 19 // No INT
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 19 #define Z_MIN_PROBE_PIN 19
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 58 #define X_STEP_PIN 58
#define X_DIR_PIN 57 #define X_DIR_PIN 57
#define X_ENABLE_PIN 59 #define X_ENABLE_PIN 59
#define Y_STEP_PIN 5 #define Y_STEP_PIN 5
#define Y_DIR_PIN 17 #define Y_DIR_PIN 17
#define Y_ENABLE_PIN 4 #define Y_ENABLE_PIN 4
#define Z_STEP_PIN 16 #define Z_STEP_PIN 16
#define Z_DIR_PIN 11 #define Z_DIR_PIN 11
#define Z_ENABLE_PIN 3 #define Z_ENABLE_PIN 3
#define E0_STEP_PIN 28 #define E0_STEP_PIN 28
#define E0_DIR_PIN 27 #define E0_DIR_PIN 27
#define E0_ENABLE_PIN 29 #define E0_ENABLE_PIN 29
#define E1_STEP_PIN 25 #define E1_STEP_PIN 25
#define E1_DIR_PIN 24 #define E1_DIR_PIN 24
#define E1_ENABLE_PIN 26 #define E1_ENABLE_PIN 26
#define E2_STEP_PIN 22 #define E2_STEP_PIN 22
#define E2_DIR_PIN 60 #define E2_DIR_PIN 60
#define E2_ENABLE_PIN 23 #define E2_ENABLE_PIN 23
// //
// Temperature Sensors // Temperature Sensors
// //
#if TEMP_SENSOR_0 == -1 #if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 11 // Analog Input #define TEMP_0_PIN 11 // Analog Input
#else #else
#define TEMP_0_PIN 15 // Analog Input #define TEMP_0_PIN 15 // Analog Input
#endif #endif
#if TEMP_SENSOR_1 == -1 #if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 10 // Analog Input #define TEMP_1_PIN 10 // Analog Input
#else #else
#define TEMP_1_PIN 13 // Analog Input #define TEMP_1_PIN 13 // Analog Input
#endif #endif
#if TEMP_SENSOR_2 == -1 #if TEMP_SENSOR_2 == -1
#define TEMP_2_PIN 9 // Analog Input #define TEMP_2_PIN 9 // Analog Input
#else #else
#define TEMP_2_PIN 12 // Analog Input #define TEMP_2_PIN 12 // Analog Input
#endif #endif
#if TEMP_SENSOR_BED == -1 #if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 8 // Analog Input #define TEMP_BED_PIN 8 // Analog Input
#else #else
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 9 #define HEATER_1_PIN 9
#define HEATER_2_PIN 8 #define HEATER_2_PIN 8
#define HEATER_BED_PIN 10 #define HEATER_BED_PIN 10
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 6 #define FAN_PIN 6
#endif #endif
#define FAN1_PIN 7 #define FAN1_PIN 7
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#define CASE_LIGHT_PIN 45 // Try the keypad connector #define CASE_LIGHT_PIN 45 // Try the keypad connector
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 61 #define BEEPER_PIN 61
#define BTN_EN1 44 #define BTN_EN1 44
#define BTN_EN2 45 #define BTN_EN2 45
#define BTN_ENC 33 #define BTN_ENC 33
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 56 // CS chip select / SS chip slave select #define LCD_PINS_RS 56 // CS chip select / SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#define SD_DETECT_PIN 35 #define SD_DETECT_PIN 35
#else #else
#define LCD_PINS_RS 32 #define LCD_PINS_RS 32
#define LCD_PINS_ENABLE 31 #define LCD_PINS_ENABLE 31
#define LCD_PINS_D4 14 #define LCD_PINS_D4 14
#define LCD_PINS_D5 30 #define LCD_PINS_D5 30
#define LCD_PINS_D6 39 #define LCD_PINS_D6 39
#define LCD_PINS_D7 15 #define LCD_PINS_D7 15
#define SHIFT_CLK 43 #define SHIFT_CLK 43
#define SHIFT_LD 35 #define SHIFT_LD 35
#define SHIFT_OUT 34 #define SHIFT_OUT 34
#define SHIFT_EN 44 #define SHIFT_EN 44
#if MB(MEGATRONICS_31, MEGATRONICS_32) #if MB(MEGATRONICS_31, MEGATRONICS_32)
#define SD_DETECT_PIN 56 #define SD_DETECT_PIN 56
#endif #endif
#endif #endif
@ -173,23 +173,23 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if DISABLED(REPRAPWORLD_KEYPAD) // try to use the keypad connector first #if DISABLED(REPRAPWORLD_KEYPAD) // try to use the keypad connector first
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 43 // Pullup! #define SPINDLE_LASER_ENA_PIN 43 // Pullup!
#define SPINDLE_DIR_PIN 42 #define SPINDLE_DIR_PIN 42
#elif EXTRUDERS <= 2 #elif EXTRUDERS <= 2
// Hijack the last extruder so that we can get the PWM signal off the Y breakout // Hijack the last extruder so that we can get the PWM signal off the Y breakout
// Move Y to the E2 plug. This makes dual Y steppers harder // Move Y to the E2 plug. This makes dual Y steppers harder
#undef Y_ENABLE_PIN // 4 #undef Y_ENABLE_PIN // 4
#undef Y_STEP_PIN // 5 #undef Y_STEP_PIN // 5
#undef Y_DIR_PIN // 17 #undef Y_DIR_PIN // 17
#undef E2_ENABLE_PIN // 23 #undef E2_ENABLE_PIN // 23
#undef E2_STEP_PIN // 22 #undef E2_STEP_PIN // 22
#undef E2_DIR_PIN // 60 #undef E2_DIR_PIN // 60
#define Y_ENABLE_PIN 23 #define Y_ENABLE_PIN 23
#define Y_STEP_PIN 22 #define Y_STEP_PIN 22
#define Y_DIR_PIN 60 #define Y_DIR_PIN 60
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 17 // Pullup! #define SPINDLE_LASER_ENA_PIN 17 // Pullup!
#define SPINDLE_DIR_PIN 5 #define SPINDLE_DIR_PIN 5
#endif #endif

View file

@ -47,60 +47,60 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 36 // C1 (1280-EX1) #define SERVO0_PIN 36 // C1 (1280-EX1)
#define SERVO1_PIN 37 // C0 (1280-EX2) #define SERVO1_PIN 37 // C0 (1280-EX2)
#define SERVO2_PIN 40 // G1 (1280-EX3) #define SERVO2_PIN 40 // G1 (1280-EX3)
#define SERVO3_PIN 41 // G0 (1280-EX4) #define SERVO3_PIN 41 // G0 (1280-EX4)
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 49 // L0 #define X_MIN_PIN 49 // L0
#define X_MAX_PIN 48 // L1 #define X_MAX_PIN 48 // L1
#define Y_MIN_PIN 47 // L2 #define Y_MIN_PIN 47 // L2
#define Y_MAX_PIN 46 // L3 #define Y_MAX_PIN 46 // L3
#define Z_MIN_PIN 43 // L6 #define Z_MIN_PIN 43 // L6
#define Z_MAX_PIN 42 // L7 #define Z_MAX_PIN 42 // L7
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 42 #define Z_MIN_PROBE_PIN 42
#endif #endif
// //
// Filament Runout Pins // Filament Runout Pins
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 49 #define FIL_RUNOUT_PIN 49
#endif #endif
#ifndef FIL_RUNOUT2_PIN #ifndef FIL_RUNOUT2_PIN
#define FIL_RUNOUT2_PIN 47 #define FIL_RUNOUT2_PIN 47
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 55 // F1 #define X_STEP_PIN 55 // F1
#define X_DIR_PIN 54 // F0 #define X_DIR_PIN 54 // F0
#define X_ENABLE_PIN 56 // F2 #define X_ENABLE_PIN 56 // F2
#define Y_STEP_PIN 59 // F5 #define Y_STEP_PIN 59 // F5
#define Y_DIR_PIN 58 // F4 #define Y_DIR_PIN 58 // F4
#define Y_ENABLE_PIN 60 // F6 #define Y_ENABLE_PIN 60 // F6
#define Z_STEP_PIN 63 // K1 #define Z_STEP_PIN 63 // K1
#define Z_DIR_PIN 62 // K0 #define Z_DIR_PIN 62 // K0
#define Z_ENABLE_PIN 64 // K2 #define Z_ENABLE_PIN 64 // K2
#define E0_STEP_PIN 25 // A3 #define E0_STEP_PIN 25 // A3
#define E0_DIR_PIN 24 // A2 #define E0_DIR_PIN 24 // A2
#define E0_ENABLE_PIN 26 // A4 #define E0_ENABLE_PIN 26 // A4
#define E1_STEP_PIN 29 // A7 #define E1_STEP_PIN 29 // A7
#define E1_DIR_PIN 28 // A6 #define E1_DIR_PIN 28 // A6
#define E1_ENABLE_PIN 39 // G2 #define E1_ENABLE_PIN 39 // G2
// //
// I2C Digipots - MCP4018 // I2C Digipots - MCP4018
@ -108,22 +108,22 @@
// Set from 0 - 127 with stop bit. // Set from 0 - 127 with stop bit.
// (Ex. 3F << 1 | 1) // (Ex. 3F << 1 | 1)
// //
#define DIGIPOTS_I2C_SCL 76 // J5 #define DIGIPOTS_I2C_SCL 76 // J5
#define DIGIPOTS_I2C_SDA_X 57 // F3 #define DIGIPOTS_I2C_SDA_X 57 // F3
#define DIGIPOTS_I2C_SDA_Y 61 // F7 #define DIGIPOTS_I2C_SDA_Y 61 // F7
#define DIGIPOTS_I2C_SDA_Z 65 // K3 #define DIGIPOTS_I2C_SDA_Z 65 // K3
#define DIGIPOTS_I2C_SDA_E0 27 // A5 #define DIGIPOTS_I2C_SDA_E0 27 // A5
#define DIGIPOTS_I2C_SDA_E1 77 // J6 #define DIGIPOTS_I2C_SDA_E1 77 // J6
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2F // unshifted slave address (5E <- 2F << 1) #define DIGIPOT_I2C_ADDRESS_A 0x2F // unshifted slave address (5E <- 2F << 1)
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
// K7 - 69 / ADC15 - 15 // K7 - 69 / ADC15 - 15
#define TEMP_BED_PIN 15 #define TEMP_BED_PIN 15
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
// Uses a separate SPI bus // Uses a separate SPI bus
@ -133,15 +133,15 @@
// 2 E4 CS2 // 2 E4 CS2
// 78 E2 SCK // 78 E2 SCK
// //
#define THERMO_SCK_PIN 78 // E2 #define THERMO_SCK_PIN 78 // E2
#define THERMO_DO_PIN 3 // E5 #define THERMO_DO_PIN 3 // E5
#define THERMO_CS1_PIN 5 // E3 #define THERMO_CS1_PIN 5 // E3
#define THERMO_CS2_PIN 2 // E4 #define THERMO_CS2_PIN 2 // E4
#define MAX6675_SS_PIN THERMO_CS1_PIN #define MAX6675_SS_PIN THERMO_CS1_PIN
#define MAX6675_SS2_PIN THERMO_CS2_PIN #define MAX6675_SS2_PIN THERMO_CS2_PIN
#define MAX6675_SCK_PIN THERMO_SCK_PIN #define MAX6675_SCK_PIN THERMO_SCK_PIN
#define MAX6675_DO_PIN THERMO_DO_PIN #define MAX6675_DO_PIN THERMO_DO_PIN
// //
// Augmentation for auto-assigning plugs // Augmentation for auto-assigning plugs
@ -152,12 +152,12 @@
// //
// Labels from the schematic: // Labels from the schematic:
#define EX1_HEAT_PIN 6 // H3 #define EX1_HEAT_PIN 6 // H3
#define EX1_FAN_PIN 7 // H4 #define EX1_FAN_PIN 7 // H4
#define EX2_HEAT_PIN 11 // B5 #define EX2_HEAT_PIN 11 // B5
#define EX2_FAN_PIN 12 // B6 #define EX2_FAN_PIN 12 // B6
#define HBP_PIN 45 // L4 #define HBP_PIN 45 // L4
#define EXTRA_FET_PIN 44 // L5 #define EXTRA_FET_PIN 44 // L5
#if HOTENDS > 1 #if HOTENDS > 1
#if TEMP_SENSOR_BED #if TEMP_SENSOR_BED
@ -174,35 +174,35 @@
// //
// Heaters / Fans (24V) // Heaters / Fans (24V)
// //
#define HEATER_0_PIN EX1_HEAT_PIN #define HEATER_0_PIN EX1_HEAT_PIN
#if ENABLED(IS_EFB) // Hotend, Fan, Bed #if ENABLED(IS_EFB) // Hotend, Fan, Bed
#define HEATER_BED_PIN HBP_PIN #define HEATER_BED_PIN HBP_PIN
#elif ENABLED(IS_EEF) // Hotend, Hotend, Fan #elif ENABLED(IS_EEF) // Hotend, Hotend, Fan
#define HEATER_1_PIN EX2_HEAT_PIN #define HEATER_1_PIN EX2_HEAT_PIN
#elif ENABLED(IS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_EEB) // Hotend, Hotend, Bed
#define HEATER_1_PIN EX2_HEAT_PIN #define HEATER_1_PIN EX2_HEAT_PIN
#define HEATER_BED_PIN HBP_PIN #define HEATER_BED_PIN HBP_PIN
#elif ENABLED(IS_EFF) // Hotend, Fan, Fan #elif ENABLED(IS_EFF) // Hotend, Fan, Fan
#define FAN1_PIN HBP_PIN #define FAN1_PIN HBP_PIN
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#if EITHER(IS_EFB, IS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan #if EITHER(IS_EFB, IS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan
#define FAN_PIN EX2_HEAT_PIN #define FAN_PIN EX2_HEAT_PIN
#elif EITHER(IS_EEF, IS_SF) // Hotend, Hotend, Fan or Spindle, Fan #elif EITHER(IS_EEF, IS_SF) // Hotend, Hotend, Fan or Spindle, Fan
#define FAN_PIN HBP_PIN #define FAN_PIN HBP_PIN
#else #else
#define FAN_PIN EXTRA_FET_PIN #define FAN_PIN EXTRA_FET_PIN
#endif #endif
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN 13 // B7 #define LED_PIN 13 // B7
#define CUTOFF_RESET_PIN 16 // H1 #define CUTOFF_RESET_PIN 16 // H1
#define CUTOFF_TEST_PIN 17 // H0 #define CUTOFF_TEST_PIN 17 // H0
// //
// LCD / Controller // LCD / Controller
@ -211,57 +211,57 @@
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define LCD_PINS_RS 33 // C4: LCD-STROBE #define LCD_PINS_RS 33 // C4: LCD-STROBE
#define LCD_PINS_ENABLE 72 // J2: LEFT #define LCD_PINS_ENABLE 72 // J2: LEFT
#define LCD_PINS_D4 35 // C2: LCD-CLK #define LCD_PINS_D4 35 // C2: LCD-CLK
#define LCD_PINS_D5 32 // C5: RLED #define LCD_PINS_D5 32 // C5: RLED
#define LCD_PINS_D6 34 // C3: LCD-DATA #define LCD_PINS_D6 34 // C3: LCD-DATA
#define LCD_PINS_D7 31 // C6: GLED #define LCD_PINS_D7 31 // C6: GLED
#define BTN_EN2 75 // J4, UP #define BTN_EN2 75 // J4, UP
#define BTN_EN1 73 // J3, DOWN #define BTN_EN1 73 // J3, DOWN
//STOP button connected as KILL_PIN //STOP button connected as KILL_PIN
#define KILL_PIN 14 // J1, RIGHT #define KILL_PIN 14 // J1, RIGHT
//KILL - not connected //KILL - not connected
#define BEEPER_PIN 8 // H5, SD_WP #define BEEPER_PIN 8 // H5, SD_WP
//on board leds //on board leds
#define STAT_LED_RED_LED SERVO0_PIN // C1 (1280-EX1, DEBUG2) #define STAT_LED_RED_LED SERVO0_PIN // C1 (1280-EX1, DEBUG2)
#define STAT_LED_BLUE_PIN SERVO1_PIN // C0 (1280-EX2, DEBUG3) #define STAT_LED_BLUE_PIN SERVO1_PIN // C0 (1280-EX2, DEBUG3)
#else #else
// Replicator uses a 3-wire SR controller with HD44780 // Replicator uses a 3-wire SR controller with HD44780
#define SR_DATA_PIN 34 // C3 #define SR_DATA_PIN 34 // C3
#define SR_CLK_PIN 35 // C2 #define SR_CLK_PIN 35 // C2
#define SR_STROBE_PIN 33 // C4 #define SR_STROBE_PIN 33 // C4
#define BTN_UP 75 // J4 #define BTN_UP 75 // J4
#define BTN_DWN 73 // J3 #define BTN_DWN 73 // J3
#define BTN_LFT 72 // J2 #define BTN_LFT 72 // J2
#define BTN_RT 14 // J1 #define BTN_RT 14 // J1
// Disable encoder // Disable encoder
#undef BTN_EN1 #undef BTN_EN1
#undef BTN_EN2 #undef BTN_EN2
#define BEEPER_PIN 4 // G5 #define BEEPER_PIN 4 // G5
#define STAT_LED_RED_PIN 32 // C5 #define STAT_LED_RED_PIN 32 // C5
#define STAT_LED_BLUE_PIN 31 // C6 (Actually green) #define STAT_LED_BLUE_PIN 31 // C6 (Actually green)
#endif #endif
#define BTN_CENTER 15 // J0 #define BTN_CENTER 15 // J0
#define BTN_ENC BTN_CENTER #define BTN_ENC BTN_CENTER
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD
// //
// SD Card // SD Card
// //
#define SDSS 53 // B0 #define SDSS 53 // B0
#define SD_DETECT_PIN 9 // H6 #define SD_DETECT_PIN 9 // H6
// //
// TMC 220x // TMC 220x
@ -280,19 +280,19 @@
* Software serial * Software serial
*/ */
#define X_SERIAL_TX_PIN 16 #define X_SERIAL_TX_PIN 16
#define X_SERIAL_RX_PIN 17 #define X_SERIAL_RX_PIN 17
#define Y_SERIAL_TX_PIN 18 #define Y_SERIAL_TX_PIN 18
#define Y_SERIAL_RX_PIN 19 #define Y_SERIAL_RX_PIN 19
#define Z_SERIAL_TX_PIN 41 #define Z_SERIAL_TX_PIN 41
#define Z_SERIAL_RX_PIN 66 #define Z_SERIAL_RX_PIN 66
#define E0_SERIAL_TX_PIN 40 #define E0_SERIAL_TX_PIN 40
#define E0_SERIAL_RX_PIN 67 #define E0_SERIAL_RX_PIN 67
#define E1_SERIAL_TX_PIN 37 #define E1_SERIAL_TX_PIN 37
#define E1_SERIAL_RX_PIN 68 #define E1_SERIAL_RX_PIN 68
#endif #endif

View file

@ -42,102 +42,102 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 5 #define X_MIN_PIN 5
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#define Y_MIN_PIN 2 #define Y_MIN_PIN 2
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 6 #define Z_MIN_PIN 6
#define Z_MAX_PIN -1 #define Z_MAX_PIN -1
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 48 #define X_STEP_PIN 48
#define X_DIR_PIN 47 #define X_DIR_PIN 47
#define X_ENABLE_PIN 49 #define X_ENABLE_PIN 49
#define Y_STEP_PIN 39 // A6 #define Y_STEP_PIN 39 // A6
#define Y_DIR_PIN 40 // A0 #define Y_DIR_PIN 40 // A0
#define Y_ENABLE_PIN 38 #define Y_ENABLE_PIN 38
#define Z_STEP_PIN 42 // A2 #define Z_STEP_PIN 42 // A2
#define Z_DIR_PIN 43 // A6 #define Z_DIR_PIN 43 // A6
#define Z_ENABLE_PIN 41 // A1 #define Z_ENABLE_PIN 41 // A1
#define E0_STEP_PIN 45 #define E0_STEP_PIN 45
#define E0_DIR_PIN 44 #define E0_DIR_PIN 44
#define E0_ENABLE_PIN 27 #define E0_ENABLE_PIN 27
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 35 #define E1_DIR_PIN 35
#define E1_ENABLE_PIN 37 #define E1_ENABLE_PIN 37
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 7 // Analog Input #define TEMP_0_PIN 7 // Analog Input
#define TEMP_1_PIN 6 // Analog Input #define TEMP_1_PIN 6 // Analog Input
#define TEMP_BED_PIN 6 // Analog Input #define TEMP_BED_PIN 6 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 7 // EXTRUDER 1 #define HEATER_0_PIN 7 // EXTRUDER 1
#define HEATER_1_PIN 8 // EXTRUDER 2 #define HEATER_1_PIN 8 // EXTRUDER 2
#define HEATER_BED_PIN 3 // BED #define HEATER_BED_PIN 3 // BED
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 9 #define FAN_PIN 9
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 16 #define SDSS 16
#define LED_PIN 46 #define LED_PIN 46
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN -1 #define BEEPER_PIN -1
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 15 // CS chip select /SS chip slave select #define LCD_PINS_RS 15 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 11 // SID (MOSI) #define LCD_PINS_ENABLE 11 // SID (MOSI)
#define LCD_PINS_D4 10 // SCK (CLK) clock #define LCD_PINS_D4 10 // SCK (CLK) clock
#define BTN_EN1 18 #define BTN_EN1 18
#define BTN_EN2 17 #define BTN_EN2 17
#define BTN_ENC 25 #define BTN_ENC 25
#define SD_DETECT_PIN 30 #define SD_DETECT_PIN 30
#else #else
#define LCD_PINS_RS -1 #define LCD_PINS_RS -1
#define LCD_PINS_ENABLE -1 #define LCD_PINS_ENABLE -1
// Buttons are directly attached using keypad // Buttons are directly attached using keypad
#define BTN_EN1 -1 #define BTN_EN1 -1
#define BTN_EN2 -1 #define BTN_EN2 -1
#define BTN_ENC -1 #define BTN_ENC -1
#define SD_DETECT_PIN -1 // Minitronics doesn't use this #define SD_DETECT_PIN -1 // Minitronics doesn't use this
#endif #endif
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER // assumes we're only doing CNC work (no 3D printing) #if HAS_CUTTER // assumes we're only doing CNC work (no 3D printing)
#undef HEATER_BED_PIN #undef HEATER_BED_PIN
#undef TEMP_BED_PIN // need to free up some pins but also need to #undef TEMP_BED_PIN // need to free up some pins but also need to
#undef TEMP_0_PIN // re-assign them (to unused pins) because Marlin #undef TEMP_0_PIN // re-assign them (to unused pins) because Marlin
#undef TEMP_1_PIN // requires the presence of certain pins or else it #undef TEMP_1_PIN // requires the presence of certain pins or else it
#define HEATER_BED_PIN 4 // won't compile #define HEATER_BED_PIN 4 // won't compile
#define TEMP_BED_PIN 50 #define TEMP_BED_PIN 50
#define TEMP_0_PIN 51 #define TEMP_0_PIN 51
#define SPINDLE_LASER_ENA_PIN 52 // using A6 because it already has a pullup #define SPINDLE_LASER_ENA_PIN 52 // using A6 because it already has a pullup
#define SPINDLE_LASER_PWM_PIN 3 // WARNING - LED & resistor pull up to +12/+24V stepper voltage #define SPINDLE_LASER_PWM_PIN 3 // WARNING - LED & resistor pull up to +12/+24V stepper voltage
#define SPINDLE_DIR_PIN 53 #define SPINDLE_DIR_PIN 53
#endif #endif

View file

@ -37,83 +37,83 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 24 #define X_STOP_PIN 24
#define Y_STOP_PIN 28 #define Y_STOP_PIN 28
#define Z_MIN_PIN 46 #define Z_MIN_PIN 46
#define Z_MAX_PIN 32 #define Z_MAX_PIN 32
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 46 // JP4, Tfeed1 #define Z_MIN_PROBE_PIN 46 // JP4, Tfeed1
#endif #endif
#if ENABLED(FILAMENT_RUNOUT_SENSOR) #if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define FIL_RUNOUT_PIN 44 // JP3, Tfeed2 #define FIL_RUNOUT_PIN 44 // JP3, Tfeed2
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 27 #define X_ENABLE_PIN 27
#define Y_STEP_PIN 31 #define Y_STEP_PIN 31
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 29 #define Y_ENABLE_PIN 29
#define Z_STEP_PIN 37 #define Z_STEP_PIN 37
#define Z_DIR_PIN 39 #define Z_DIR_PIN 39
#define Z_ENABLE_PIN 35 #define Z_ENABLE_PIN 35
#define E0_STEP_PIN 43 #define E0_STEP_PIN 43
#define E0_DIR_PIN 45 #define E0_DIR_PIN 45
#define E0_ENABLE_PIN 41 #define E0_ENABLE_PIN 41
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 8 // Analog Input #define TEMP_0_PIN 8 // Analog Input
#define TEMP_1_PIN 9 // Analog Input - Redundant temp sensor #define TEMP_1_PIN 9 // Analog Input - Redundant temp sensor
#define TEMP_2_PIN 12 // Analog Input #define TEMP_2_PIN 12 // Analog Input
#define TEMP_3_PIN 14 // Analog Input #define TEMP_3_PIN 14 // Analog Input
#define TEMP_BED_PIN 10 // Analog Input #define TEMP_BED_PIN 10 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#define FAN_PIN 7 // material cooling fan #define FAN_PIN 7 // material cooling fan
// //
// SD Card // SD Card
// //
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 38 #define SD_DETECT_PIN 38
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN 13 // On PCB status led #define LED_PIN 13 // On PCB status led
#define PS_ON_PIN 12 // For stepper/heater/fan power. Active HIGH. #define PS_ON_PIN 12 // For stepper/heater/fan power. Active HIGH.
#define POWER_LOSS_PIN 34 // Power check - whether hotends/steppers/fans have power #define POWER_LOSS_PIN 34 // Power check - whether hotends/steppers/fans have power
#if ENABLED(BATTERY_STATUS_AVAILABLE) #if ENABLED(BATTERY_STATUS_AVAILABLE)
#undef BATTERY_STATUS_PIN #undef BATTERY_STATUS_PIN
#define BATTERY_STATUS_PIN 26 // Status of power loss battery, whether it is charged (low) or charging (high) #define BATTERY_STATUS_PIN 26 // Status of power loss battery, whether it is charged (low) or charging (high)
#endif #endif
#if ENABLED(INPUT_VOLTAGE_AVAILABLE) #if ENABLED(INPUT_VOLTAGE_AVAILABLE)
#undef VOLTAGE_DETECTION_PIN #undef VOLTAGE_DETECTION_PIN
#define VOLTAGE_DETECTION_PIN 11 // Analog Input - ADC Voltage level of main input #define VOLTAGE_DETECTION_PIN 11 // Analog Input - ADC Voltage level of main input
#endif #endif
// //
@ -121,24 +121,24 @@
// //
#if HAS_GRAPHICAL_LCD #if HAS_GRAPHICAL_LCD
// OVERLORD OLED pins // OVERLORD OLED pins
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_ENABLE 15 #define LCD_PINS_ENABLE 15
#define LCD_PINS_D4 14 #define LCD_PINS_D4 14
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
#ifndef LCD_RESET_PIN #ifndef LCD_RESET_PIN
#define LCD_RESET_PIN 5 // LCD_PINS_D6 #define LCD_RESET_PIN 5 // LCD_PINS_D6
#endif #endif
#endif #endif
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_ENC 16 // Enter Pin #define BTN_ENC 16 // Enter Pin
#define BTN_UP 19 // Button UP Pin #define BTN_UP 19 // Button UP Pin
#define BTN_DWN 17 // Button DOWN Pin #define BTN_DWN 17 // Button DOWN Pin
#endif #endif
// Additional connectors/pins on the Overlord V1.X board // Additional connectors/pins on the Overlord V1.X board
#define PCB_VERSION_PIN 22 #define PCB_VERSION_PIN 22
#define APPROACH_PIN 11 // JP7, Tpd #define APPROACH_PIN 11 // JP7, Tpd
#define GATE_PIN 36 // Threshold, JP6, Tg #define GATE_PIN 36 // Threshold, JP6, Tg

View file

@ -49,95 +49,95 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 14 #define X_MIN_PIN 14
#define X_MAX_PIN 15 #define X_MAX_PIN 15
#define Y_MIN_PIN 16 #define Y_MIN_PIN 16
#define Y_MAX_PIN 17 #define Y_MAX_PIN 17
#define Z_MIN_PIN 23 #define Z_MIN_PIN 23
#define Z_MAX_PIN 22 #define Z_MAX_PIN 22
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 55 #define X_STEP_PIN 55
#define X_DIR_PIN 54 #define X_DIR_PIN 54
#define X_ENABLE_PIN 60 #define X_ENABLE_PIN 60
#define Y_STEP_PIN 57 #define Y_STEP_PIN 57
#define Y_DIR_PIN 56 #define Y_DIR_PIN 56
#define Y_ENABLE_PIN 61 #define Y_ENABLE_PIN 61
#define Z_STEP_PIN 59 #define Z_STEP_PIN 59
#define Z_DIR_PIN 58 #define Z_DIR_PIN 58
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#define E0_STEP_PIN 67 #define E0_STEP_PIN 67
#define E0_DIR_PIN 24 #define E0_DIR_PIN 24
#define E0_ENABLE_PIN 26 #define E0_ENABLE_PIN 26
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 9 // Analog Input #define TEMP_0_PIN 9 // Analog Input
#define TEMP_1_PIN 10 #define TEMP_1_PIN 10
#define TEMP_BED_PIN 10 #define TEMP_BED_PIN 10
#define TEMP_2_PIN 11 #define TEMP_2_PIN 11
#define TEMP_3_PIN 12 #define TEMP_3_PIN 12
// //
// Heaters / Fans // Heaters / Fans
// //
#ifndef HEATER_0_PIN #ifndef HEATER_0_PIN
#define HEATER_0_PIN 10 // E0 #define HEATER_0_PIN 10 // E0
#endif #endif
#ifndef HEATER_1_PIN #ifndef HEATER_1_PIN
#define HEATER_1_PIN 2 // E1 #define HEATER_1_PIN 2 // E1
#endif #endif
#define HEATER_BED_PIN 8 // HEAT-BED #define HEATER_BED_PIN 8 // HEAT-BED
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 9 #define FAN_PIN 9
#endif #endif
#ifndef FAN_2_PIN #ifndef FAN_2_PIN
#define FAN_2_PIN 7 #define FAN_2_PIN 7
#endif #endif
#define SDPOWER_PIN -1 #define SDPOWER_PIN -1
#define LED_PIN -1 #define LED_PIN -1
#define PS_ON_PIN -1 #define PS_ON_PIN -1
#define KILL_PIN -1 #define KILL_PIN -1
#define SSR_PIN 6 #define SSR_PIN 6
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
// SD Support // SD Support
// //
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define SDSS 53 #define SDSS 53
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 29 #define BEEPER_PIN 29
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define LCD_PINS_RS 33 #define LCD_PINS_RS 33
#define LCD_PINS_ENABLE 30 #define LCD_PINS_ENABLE 30
#define LCD_PINS_D4 35 #define LCD_PINS_D4 35
#define LCD_PINS_D5 32 #define LCD_PINS_D5 32
#define LCD_PINS_D6 37 #define LCD_PINS_D6 37
#define LCD_PINS_D7 36 #define LCD_PINS_D7 36
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 48 #define BTN_EN2 48
#define BTN_ENC 31 #define BTN_ENC 31
#define LCD_SDSS 53 #define LCD_SDSS 53
#endif #endif

View file

@ -20,9 +20,9 @@
* *
*/ */
#define HEATER_0_PIN 9 // E0 #define HEATER_0_PIN 9 // E0
#define HEATER_1_PIN 10 // E1 #define HEATER_1_PIN 10 // E1
#define FAN_PIN 11 #define FAN_PIN 11
#define FAN2_PIN 12 #define FAN2_PIN 12
#include "pins_PICA.h" #include "pins_PICA.h"

View file

@ -27,67 +27,67 @@
#define BOARD_INFO_NAME "Silver Gate" #define BOARD_INFO_NAME "Silver Gate"
#define X_STEP_PIN 43 #define X_STEP_PIN 43
#define X_DIR_PIN 44 #define X_DIR_PIN 44
#define X_ENABLE_PIN 42 #define X_ENABLE_PIN 42
#define X_MIN_PIN 31 #define X_MIN_PIN 31
#define X_MAX_PIN 34 #define X_MAX_PIN 34
#define Y_STEP_PIN 40 #define Y_STEP_PIN 40
#define Y_DIR_PIN 41 #define Y_DIR_PIN 41
#define Y_ENABLE_PIN 39 #define Y_ENABLE_PIN 39
#define Y_MIN_PIN 32 #define Y_MIN_PIN 32
#define Y_MAX_PIN 35 #define Y_MAX_PIN 35
#define Z_STEP_PIN 13 #define Z_STEP_PIN 13
#define Z_DIR_PIN 38 #define Z_DIR_PIN 38
#define Z_ENABLE_PIN 14 #define Z_ENABLE_PIN 14
#define Z_MIN_PIN 33 #define Z_MIN_PIN 33
#define Z_MAX_PIN 36 #define Z_MAX_PIN 36
#define E0_STEP_PIN 27 #define E0_STEP_PIN 27
#define E0_DIR_PIN 37 #define E0_DIR_PIN 37
#define E0_ENABLE_PIN 45 #define E0_ENABLE_PIN 45
#define SDSS 16 #define SDSS 16
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 34 // X_MAX unless overridden #define FIL_RUNOUT_PIN 34 // X_MAX unless overridden
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 5 #define FAN_PIN 5
#endif #endif
#define HEATER_0_PIN 7 #define HEATER_0_PIN 7
#define ORIG_E0_AUTO_FAN_PIN 3 // Use this by NOT overriding E0_AUTO_FAN_PIN #define ORIG_E0_AUTO_FAN_PIN 3 // Use this by NOT overriding E0_AUTO_FAN_PIN
#define CONTROLLER_FAN_PIN 2 #define CONTROLLER_FAN_PIN 2
#define TEMP_0_PIN 7 // Analog Input #define TEMP_0_PIN 7 // Analog Input
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#define TEMP_BED_PIN 6 #define TEMP_BED_PIN 6
#if HAS_GRAPHICAL_LCD #if HAS_GRAPHICAL_LCD
#if ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920 #if ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920
#define LCD_PINS_RS 30 #define LCD_PINS_RS 30
#define LCD_PINS_ENABLE 20 #define LCD_PINS_ENABLE 20
#define LCD_PINS_D4 25 #define LCD_PINS_D4 25
#define BEEPER_PIN 29 #define BEEPER_PIN 29
#define BTN_EN1 19 #define BTN_EN1 19
#define BTN_EN2 22 #define BTN_EN2 22
#define BTN_ENC 24 #define BTN_ENC 24
#define LCD_BACKLIGHT_PIN 6 #define LCD_BACKLIGHT_PIN 6
#if ENABLED(SILVER_GATE_GLCD_CONTROLLER) #if ENABLED(SILVER_GATE_GLCD_CONTROLLER)
#define KILL_PIN 21 #define KILL_PIN 21
#define HOME_PIN 28 #define HOME_PIN 28
#endif #endif
#endif #endif
#endif #endif
#define SD_DETECT_PIN 15 #define SD_DETECT_PIN 15
#define STAT_LED_RED_PIN 23 #define STAT_LED_RED_PIN 23
#define STAT_LED_BLUE_PIN 26 #define STAT_LED_BLUE_PIN 26
#define CASE_LIGHT_PIN 51 #define CASE_LIGHT_PIN 51

View file

@ -36,76 +36,76 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 19 #define X_STOP_PIN 19
#define Y_STOP_PIN 18 #define Y_STOP_PIN 18
#define Z_STOP_PIN 38 #define Z_STOP_PIN 38
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 38 #define Z_MIN_PROBE_PIN 38
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 22 #define X_STEP_PIN 22
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 57 #define X_ENABLE_PIN 57
#define Y_STEP_PIN 25 #define Y_STEP_PIN 25
#define Y_DIR_PIN 26 #define Y_DIR_PIN 26
#define Y_ENABLE_PIN 24 #define Y_ENABLE_PIN 24
#define Z_STEP_PIN 29 #define Z_STEP_PIN 29
#define Z_DIR_PIN 39 #define Z_DIR_PIN 39
#define Z_ENABLE_PIN 28 #define Z_ENABLE_PIN 28
#define E0_STEP_PIN 55 #define E0_STEP_PIN 55
#define E0_DIR_PIN 56 #define E0_DIR_PIN 56
#define E0_ENABLE_PIN 54 #define E0_ENABLE_PIN 54
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 #define TEMP_0_PIN 13
#define TEMP_BED_PIN 14 #define TEMP_BED_PIN 14
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 4 #define HEATER_0_PIN 4
#define HEATER_BED_PIN 44 #define HEATER_BED_PIN 44
#define FAN_PIN 12 // IO pin. Buffer needed #define FAN_PIN 12 // IO pin. Buffer needed
// //
// SD Card // SD Card
// //
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#define SDSS 53 #define SDSS 53
// //
// Misc. Functions // Misc. Functions
// //
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define KILL_PIN 64 #define KILL_PIN 64
// //
// LCD / Controller (Integrated MINIPANEL) // LCD / Controller (Integrated MINIPANEL)
// //
#if ENABLED(MINIPANEL) #if ENABLED(MINIPANEL)
#define DOGLCD_A0 40 #define DOGLCD_A0 40
#define DOGLCD_CS 41 #define DOGLCD_CS 41
#define LCD_BACKLIGHT_PIN 65 // Backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // Backlight LED on A11/D65
#define LCD_RESET_PIN 27 #define LCD_RESET_PIN 27
#define BTN_EN1 2 #define BTN_EN1 2
#define BTN_EN2 3 #define BTN_EN2 3
#define BTN_ENC 5 #define BTN_ENC 5
// This display has adjustable contrast // This display has adjustable contrast
#define LCD_CONTRAST_MIN 0 #define LCD_CONTRAST_MIN 0
#define LCD_CONTRAST_MAX 255 #define LCD_CONTRAST_MAX 255
#define LCD_CONTRAST_INIT LCD_CONTRAST_MAX #define LCD_CONTRAST_INIT LCD_CONTRAST_MAX
#endif #endif

View file

@ -39,10 +39,10 @@
#endif #endif
// TMC2130 Diag Pins (currently just for reference) // TMC2130 Diag Pins (currently just for reference)
#define X_DIAG_PIN 64 #define X_DIAG_PIN 64
#define Y_DIAG_PIN 69 #define Y_DIAG_PIN 69
#define Z_DIAG_PIN 68 #define Z_DIAG_PIN 68
#define E0_DIAG_PIN 65 #define E0_DIAG_PIN 65
// //
// Limit Switches // Limit Switches
@ -55,20 +55,20 @@
#if DISABLED(SENSORLESS_HOMING) #if DISABLED(SENSORLESS_HOMING)
#define X_STOP_PIN 12 #define X_STOP_PIN 12
#define Y_STOP_PIN 11 #define Y_STOP_PIN 11
#define Z_STOP_PIN 10 #define Z_STOP_PIN 10
#else #else
#define X_STOP_PIN X_DIAG_PIN #define X_STOP_PIN X_DIAG_PIN
#define Y_STOP_PIN Y_DIAG_PIN #define Y_STOP_PIN Y_DIAG_PIN
#if ENABLED(BLTOUCH) #if ENABLED(BLTOUCH)
#define Z_STOP_PIN 11 // Y-MIN #define Z_STOP_PIN 11 // Y-MIN
#define SERVO0_PIN 10 // Z-MIN #define SERVO0_PIN 10 // Z-MIN
#else #else
#define Z_STOP_PIN 10 #define Z_STOP_PIN 10
#endif #endif
#endif #endif
@ -77,104 +77,104 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 10 #define Z_MIN_PROBE_PIN 10
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 37 #define X_STEP_PIN 37
#define X_DIR_PIN 49 #define X_DIR_PIN 49
#define X_ENABLE_PIN 29 #define X_ENABLE_PIN 29
#define X_CS_PIN 41 #define X_CS_PIN 41
#define Y_STEP_PIN 36 #define Y_STEP_PIN 36
#define Y_DIR_PIN 48 #define Y_DIR_PIN 48
#define Y_ENABLE_PIN 28 #define Y_ENABLE_PIN 28
#define Y_CS_PIN 39 #define Y_CS_PIN 39
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 47 #define Z_DIR_PIN 47
#define Z_ENABLE_PIN 27 #define Z_ENABLE_PIN 27
#define Z_CS_PIN 67 #define Z_CS_PIN 67
#define E0_STEP_PIN 34 #define E0_STEP_PIN 34
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 26 #define E0_ENABLE_PIN 26
#define E0_CS_PIN 66 #define E0_CS_PIN 66
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input #define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input #define TEMP_BED_PIN 2 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 3 #define HEATER_0_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 #define FAN_PIN 8
#endif #endif
#ifndef FAN1_PIN #ifndef FAN1_PIN
#define FAN1_PIN 6 #define FAN1_PIN 6
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 77 #define SDSS 77
#define LED_PIN 13 #define LED_PIN 13
#define CASE_LIGHT_PIN 9 #define CASE_LIGHT_PIN 9
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
// use P1 connector for spindle pins // use P1 connector for spindle pins
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 18 // Pullup! #define SPINDLE_LASER_ENA_PIN 18 // Pullup!
#define SPINDLE_DIR_PIN 19 #define SPINDLE_DIR_PIN 19
// //
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#define E_MUX0_PIN 17 #define E_MUX0_PIN 17
#define E_MUX1_PIN 16 #define E_MUX1_PIN 16
#define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78 #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL #if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
#define KILL_PIN 32 #define KILL_PIN 32
#if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL #if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS 85 #define LCD_PINS_RS 85
#define LCD_PINS_ENABLE 71 #define LCD_PINS_ENABLE 71
#define LCD_PINS_D4 70 #define LCD_PINS_D4 70
#define BTN_EN1 61 #define BTN_EN1 61
#define BTN_EN2 59 #define BTN_EN2 59
#else #else
#define LCD_PINS_RS 82 #define LCD_PINS_RS 82
#define LCD_PINS_ENABLE 61 #define LCD_PINS_ENABLE 61
#define LCD_PINS_D4 59 #define LCD_PINS_D4 59
#define LCD_PINS_D5 70 #define LCD_PINS_D5 70
#define LCD_PINS_D6 85 #define LCD_PINS_D6 85
#define LCD_PINS_D7 71 #define LCD_PINS_D7 71
#define BTN_EN1 14 #define BTN_EN1 14
#define BTN_EN2 72 #define BTN_EN2 72
#endif #endif
#define BTN_ENC 9 // AUX-2 #define BTN_ENC 9 // AUX-2
#define BEEPER_PIN 84 // AUX-4 #define BEEPER_PIN 84 // AUX-4
#define SD_DETECT_PIN 15 #define SD_DETECT_PIN 15
#endif // ULTIPANEL || TOUCH_UI_ULTIPANEL #endif // ULTIPANEL || TOUCH_UI_ULTIPANEL
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -39,10 +39,10 @@
#endif #endif
// TMC2130 Diag Pins // TMC2130 Diag Pins
#define X_DIAG_PIN 64 #define X_DIAG_PIN 64
#define Y_DIAG_PIN 69 #define Y_DIAG_PIN 69
#define Z_DIAG_PIN 68 #define Z_DIAG_PIN 68
#define E0_DIAG_PIN 65 #define E0_DIAG_PIN 65
// //
// Limit Switches // Limit Switches
@ -55,141 +55,141 @@
#if DISABLED(SENSORLESS_HOMING) #if DISABLED(SENSORLESS_HOMING)
#define X_MIN_PIN 12 // X- #define X_MIN_PIN 12 // X-
#define Y_MIN_PIN 11 // Y- #define Y_MIN_PIN 11 // Y-
#define Z_MIN_PIN 10 // Z- #define Z_MIN_PIN 10 // Z-
#define X_MAX_PIN 81 // X+ #define X_MAX_PIN 81 // X+
#define Y_MAX_PIN 57 // Y+ #define Y_MAX_PIN 57 // Y+
#else #else
#if X_HOME_DIR < 0 #if X_HOME_DIR < 0
#define X_MIN_PIN X_DIAG_PIN #define X_MIN_PIN X_DIAG_PIN
#define X_MAX_PIN 81 // X+ #define X_MAX_PIN 81 // X+
#else #else
#define X_MIN_PIN 12 // X- #define X_MIN_PIN 12 // X-
#define X_MAX_PIN X_DIAG_PIN #define X_MAX_PIN X_DIAG_PIN
#endif #endif
#if Y_HOME_DIR < 0 #if Y_HOME_DIR < 0
#define Y_MIN_PIN Y_DIAG_PIN #define Y_MIN_PIN Y_DIAG_PIN
#define Y_MAX_PIN 57 // Y+ #define Y_MAX_PIN 57 // Y+
#else #else
#define Y_MIN_PIN 11 // Y- #define Y_MIN_PIN 11 // Y-
#define Y_MAX_PIN Y_DIAG_PIN #define Y_MAX_PIN Y_DIAG_PIN
#endif #endif
#if ENABLED(BLTOUCH) #if ENABLED(BLTOUCH)
#define Z_MIN_PIN 11 // Y-MIN #define Z_MIN_PIN 11 // Y-MIN
#define SERVO0_PIN 10 // Z-MIN #define SERVO0_PIN 10 // Z-MIN
#else #else
#define Z_MIN_PIN 10 #define Z_MIN_PIN 10
#endif #endif
#endif #endif
#define Z_MAX_PIN 7 #define Z_MAX_PIN 7
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 10 #define Z_MIN_PROBE_PIN 10
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 37 #define X_STEP_PIN 37
#define X_DIR_PIN 49 #define X_DIR_PIN 49
#define X_ENABLE_PIN 29 #define X_ENABLE_PIN 29
#define X_CS_PIN 41 #define X_CS_PIN 41
#define Y_STEP_PIN 36 #define Y_STEP_PIN 36
#define Y_DIR_PIN 48 #define Y_DIR_PIN 48
#define Y_ENABLE_PIN 28 #define Y_ENABLE_PIN 28
#define Y_CS_PIN 39 #define Y_CS_PIN 39
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 47 #define Z_DIR_PIN 47
#define Z_ENABLE_PIN 27 #define Z_ENABLE_PIN 27
#define Z_CS_PIN 67 #define Z_CS_PIN 67
#define E0_STEP_PIN 34 #define E0_STEP_PIN 34
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 26 #define E0_ENABLE_PIN 26
#define E0_CS_PIN 66 #define E0_CS_PIN 66
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input #define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input #define TEMP_BED_PIN 2 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 3 #define HEATER_0_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 #define FAN_PIN 8
#endif #endif
#define FAN1_PIN 6 #define FAN1_PIN 6
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define CASE_LIGHT_PIN 9 #define CASE_LIGHT_PIN 9
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
// use P1 connector for spindle pins // use P1 connector for spindle pins
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 18 // Pullup! #define SPINDLE_LASER_ENA_PIN 18 // Pullup!
#define SPINDLE_DIR_PIN 19 #define SPINDLE_DIR_PIN 19
// //
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#define E_MUX0_PIN 17 #define E_MUX0_PIN 17
#define E_MUX1_PIN 16 #define E_MUX1_PIN 16
#define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78 #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE) #if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE)
#define KILL_PIN 32 #define KILL_PIN 32
#if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE) #if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE)
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS 85 #define LCD_PINS_RS 85
#define LCD_PINS_ENABLE 71 #define LCD_PINS_ENABLE 71
#define LCD_PINS_D4 70 #define LCD_PINS_D4 70
#define BTN_EN1 18 #define BTN_EN1 18
#define BTN_EN2 19 #define BTN_EN2 19
#else #else
#define LCD_PINS_RS 82 #define LCD_PINS_RS 82
#define LCD_PINS_ENABLE 18 // On 0.6b, use 61 #define LCD_PINS_ENABLE 18 // On 0.6b, use 61
#define LCD_PINS_D4 19 // On 0.6b, use 59 #define LCD_PINS_D4 19 // On 0.6b, use 59
#define LCD_PINS_D5 70 #define LCD_PINS_D5 70
#define LCD_PINS_D6 85 #define LCD_PINS_D6 85
#define LCD_PINS_D7 71 #define LCD_PINS_D7 71
#define BTN_EN1 14 #define BTN_EN1 14
#define BTN_EN2 72 #define BTN_EN2 72
#endif #endif
#define BTN_ENC 9 // AUX-2 #define BTN_ENC 9 // AUX-2
#define BEEPER_PIN 84 // AUX-4 #define BEEPER_PIN 84 // AUX-4
#define SD_DETECT_PIN 15 #define SD_DETECT_PIN 15
#endif // ULTIPANEL || TOUCH_UI_ULTIPANEL #endif // ULTIPANEL || TOUCH_UI_ULTIPANEL
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -38,104 +38,104 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 12 #define X_MIN_PIN 12
#define X_MAX_PIN 30 #define X_MAX_PIN 30
#define Y_MIN_PIN 11 #define Y_MIN_PIN 11
#define Y_MAX_PIN 24 #define Y_MAX_PIN 24
#define Z_MIN_PIN 10 #define Z_MIN_PIN 10
#define Z_MAX_PIN 23 #define Z_MAX_PIN 23
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 23 #define Z_MIN_PROBE_PIN 23
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 37 #define X_STEP_PIN 37
#define X_DIR_PIN 48 #define X_DIR_PIN 48
#define X_ENABLE_PIN 29 #define X_ENABLE_PIN 29
#define Y_STEP_PIN 36 #define Y_STEP_PIN 36
#define Y_DIR_PIN 49 #define Y_DIR_PIN 49
#define Y_ENABLE_PIN 28 #define Y_ENABLE_PIN 28
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 47 #define Z_DIR_PIN 47
#define Z_ENABLE_PIN 27 #define Z_ENABLE_PIN 27
#define E0_STEP_PIN 34 #define E0_STEP_PIN 34
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 26 #define E0_ENABLE_PIN 26
// Microstepping pins - Mapping not from fastio.h (?) // Microstepping pins - Mapping not from fastio.h (?)
#define X_MS1_PIN 40 #define X_MS1_PIN 40
#define X_MS2_PIN 41 #define X_MS2_PIN 41
#define Y_MS1_PIN 69 #define Y_MS1_PIN 69
#define Y_MS2_PIN 39 #define Y_MS2_PIN 39
#define Z_MS1_PIN 68 #define Z_MS1_PIN 68
#define Z_MS2_PIN 67 #define Z_MS2_PIN 67
#define E0_MS1_PIN 65 #define E0_MS1_PIN 65
#define E0_MS2_PIN 66 #define E0_MS2_PIN 66
#define MOTOR_CURRENT_PWM_XY_PIN 46 #define MOTOR_CURRENT_PWM_XY_PIN 46
#define MOTOR_CURRENT_PWM_Z_PIN 45 #define MOTOR_CURRENT_PWM_Z_PIN 45
#define MOTOR_CURRENT_PWM_E_PIN 44 #define MOTOR_CURRENT_PWM_E_PIN 44
// Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
#ifndef MOTOR_CURRENT_PWM_RANGE #ifndef MOTOR_CURRENT_PWM_RANGE
#define MOTOR_CURRENT_PWM_RANGE 2000 #define MOTOR_CURRENT_PWM_RANGE 2000
#endif #endif
#define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250} #define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input #define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input #define TEMP_BED_PIN 2 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 3 #define HEATER_0_PIN 3
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#if !MB(MINIRAMBO_10A) #if !MB(MINIRAMBO_10A)
#define HEATER_2_PIN 6 #define HEATER_2_PIN 6
#endif #endif
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 #define FAN_PIN 8
#endif #endif
#define FAN1_PIN 6 #define FAN1_PIN 6
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#if !MB(MINIRAMBO_10A) #if !MB(MINIRAMBO_10A)
#define CASE_LIGHT_PIN 9 #define CASE_LIGHT_PIN 9
#endif #endif
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
// use P1 connector for spindle pins // use P1 connector for spindle pins
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 18 // Pullup! #define SPINDLE_LASER_ENA_PIN 18 // Pullup!
#define SPINDLE_DIR_PIN 19 #define SPINDLE_DIR_PIN 19
// //
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#define E_MUX0_PIN 17 #define E_MUX0_PIN 17
#define E_MUX1_PIN 16 #define E_MUX1_PIN 16
#if !MB(MINIRAMBO_10A) #if !MB(MINIRAMBO_10A)
#define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78 #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
#endif #endif
// //
@ -144,46 +144,46 @@
#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL #if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
#if !MB(MINIRAMBO_10A) #if !MB(MINIRAMBO_10A)
#define KILL_PIN 32 #define KILL_PIN 32
#endif #endif
#if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL #if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL
#if MB(MINIRAMBO_10A) #if MB(MINIRAMBO_10A)
#define BEEPER_PIN 78 #define BEEPER_PIN 78
#define BTN_EN1 80 #define BTN_EN1 80
#define BTN_EN2 73 #define BTN_EN2 73
#define BTN_ENC 21 #define BTN_ENC 21
#define LCD_PINS_RS 38 #define LCD_PINS_RS 38
#define LCD_PINS_ENABLE 5 #define LCD_PINS_ENABLE 5
#define LCD_PINS_D4 14 #define LCD_PINS_D4 14
#define LCD_PINS_D5 15 #define LCD_PINS_D5 15
#define LCD_PINS_D6 32 #define LCD_PINS_D6 32
#define LCD_PINS_D7 31 #define LCD_PINS_D7 31
#define SD_DETECT_PIN 72 #define SD_DETECT_PIN 72
#else // !MINIRAMBO_10A #else // !MINIRAMBO_10A
// AUX-4 // AUX-4
#define BEEPER_PIN 84 #define BEEPER_PIN 84
// AUX-2 // AUX-2
#define BTN_EN1 14 #define BTN_EN1 14
#define BTN_EN2 72 #define BTN_EN2 72
#define BTN_ENC 9 #define BTN_ENC 9
#define LCD_PINS_RS 82 #define LCD_PINS_RS 82
#define LCD_PINS_ENABLE 18 #define LCD_PINS_ENABLE 18
#define LCD_PINS_D4 19 #define LCD_PINS_D4 19
#define LCD_PINS_D5 70 #define LCD_PINS_D5 70
#define LCD_PINS_D6 85 #define LCD_PINS_D6 85
#define LCD_PINS_D7 71 #define LCD_PINS_D7 71
#define SD_DETECT_PIN 15 #define SD_DETECT_PIN 15
#endif // !MINIRAMBO_10A #endif // !MINIRAMBO_10A

View file

@ -50,64 +50,64 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 22 // Motor header MX1 #define SERVO0_PIN 22 // Motor header MX1
#define SERVO1_PIN 23 // Motor header MX2 #define SERVO1_PIN 23 // Motor header MX2
#define SERVO2_PIN 24 // Motor header MX3 #define SERVO2_PIN 24 // Motor header MX3
#define SERVO3_PIN 5 // PWM header pin 5 #define SERVO3_PIN 5 // PWM header pin 5
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 12 #define X_MIN_PIN 12
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 11 #define Y_MIN_PIN 11
#define Y_MAX_PIN 23 #define Y_MAX_PIN 23
#define Z_MIN_PIN 10 #define Z_MIN_PIN 10
#define Z_MAX_PIN 30 #define Z_MAX_PIN 30
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 30 #define Z_MIN_PROBE_PIN 30
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 37 #define X_STEP_PIN 37
#define X_DIR_PIN 48 #define X_DIR_PIN 48
#define X_ENABLE_PIN 29 #define X_ENABLE_PIN 29
#define Y_STEP_PIN 36 #define Y_STEP_PIN 36
#define Y_DIR_PIN 49 #define Y_DIR_PIN 49
#define Y_ENABLE_PIN 28 #define Y_ENABLE_PIN 28
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 47 #define Z_DIR_PIN 47
#define Z_ENABLE_PIN 27 #define Z_ENABLE_PIN 27
#define E0_STEP_PIN 34 #define E0_STEP_PIN 34
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 26 #define E0_ENABLE_PIN 26
#define E1_STEP_PIN 33 #define E1_STEP_PIN 33
#define E1_DIR_PIN 42 #define E1_DIR_PIN 42
#define E1_ENABLE_PIN 25 #define E1_ENABLE_PIN 25
// Microstepping pins - Mapping not from fastio.h (?) // Microstepping pins - Mapping not from fastio.h (?)
#define X_MS1_PIN 40 #define X_MS1_PIN 40
#define X_MS2_PIN 41 #define X_MS2_PIN 41
#define Y_MS1_PIN 69 #define Y_MS1_PIN 69
#define Y_MS2_PIN 39 #define Y_MS2_PIN 39
#define Z_MS1_PIN 68 #define Z_MS1_PIN 68
#define Z_MS2_PIN 67 #define Z_MS2_PIN 67
#define E0_MS1_PIN 65 #define E0_MS1_PIN 65
#define E0_MS2_PIN 66 #define E0_MS2_PIN 66
#define E1_MS1_PIN 63 #define E1_MS1_PIN 63
#define E1_MS2_PIN 64 #define E1_MS2_PIN 64
#define DIGIPOTSS_PIN 38 #define DIGIPOTSS_PIN 38
#define DIGIPOT_CHANNELS { 4,5,3,0,1 } // X Y Z E0 E1 digipot channels to stepper driver mapping #define DIGIPOT_CHANNELS { 4,5,3,0,1 } // X Y Z E0 E1 digipot channels to stepper driver mapping
#ifndef DIGIPOT_MOTOR_CURRENT #ifndef DIGIPOT_MOTOR_CURRENT
#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) #define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -116,122 +116,122 @@
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_1_PIN 1 // Analog Input #define TEMP_1_PIN 1 // Analog Input
#define TEMP_BED_PIN 2 // Analog Input #define TEMP_BED_PIN 2 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 9 #define HEATER_0_PIN 9
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_2_PIN 6 #define HEATER_2_PIN 6
#define HEATER_BED_PIN 3 #define HEATER_BED_PIN 3
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 #define FAN_PIN 8
#endif #endif
#define FAN1_PIN 6 #define FAN1_PIN 6
#define FAN2_PIN 2 #define FAN2_PIN 2
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 4 #define PS_ON_PIN 4
#define CASE_LIGHT_PIN 46 #define CASE_LIGHT_PIN 46
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 3 // Analog Input #define FILWIDTH_PIN 3 // Analog Input
#endif #endif
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 31 // Pullup! #define SPINDLE_LASER_ENA_PIN 31 // Pullup!
#define SPINDLE_DIR_PIN 32 #define SPINDLE_DIR_PIN 32
// //
// M7/M8/M9 - Coolant Control // M7/M8/M9 - Coolant Control
// //
#define COOLANT_MIST_PIN 22 #define COOLANT_MIST_PIN 22
#define COOLANT_FLOOD_PIN 44 #define COOLANT_FLOOD_PIN 44
// //
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#define E_MUX0_PIN 17 #define E_MUX0_PIN 17
#define E_MUX1_PIN 16 #define E_MUX1_PIN 16
#define E_MUX2_PIN 84 // 84 in MK2 Firmware #define E_MUX2_PIN 84 // 84 in MK2 Firmware
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL #if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
#define KILL_PIN 80 #define KILL_PIN 80
#if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL #if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL
#define LCD_PINS_RS 70 #define LCD_PINS_RS 70
#define LCD_PINS_ENABLE 71 #define LCD_PINS_ENABLE 71
#define LCD_PINS_D4 72 #define LCD_PINS_D4 72
#define LCD_PINS_D5 73 #define LCD_PINS_D5 73
#define LCD_PINS_D6 74 #define LCD_PINS_D6 74
#define LCD_PINS_D7 75 #define LCD_PINS_D7 75
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#define BEEPER_PIN 44 #define BEEPER_PIN 44
// NB: Panucatt's Viki 2.0 wiring diagram (v1.2) indicates that the // NB: Panucatt's Viki 2.0 wiring diagram (v1.2) indicates that the
// beeper/buzzer is connected to pin 33; however, the pin used in the // beeper/buzzer is connected to pin 33; however, the pin used in the
// diagram is actually pin 44, so this is correct. // diagram is actually pin 44, so this is correct.
#define DOGLCD_A0 70 #define DOGLCD_A0 70
#define DOGLCD_CS 71 #define DOGLCD_CS 71
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BTN_EN1 85 #define BTN_EN1 85
#define BTN_EN2 84 #define BTN_EN2 84
#define BTN_ENC 83 #define BTN_ENC 83
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
#define STAT_LED_RED_PIN 22 #define STAT_LED_RED_PIN 22
#define STAT_LED_BLUE_PIN 32 #define STAT_LED_BLUE_PIN 32
#else // !VIKI2 && !miniVIKI #else // !VIKI2 && !miniVIKI
#define BEEPER_PIN 79 // AUX-4 #define BEEPER_PIN 79 // AUX-4
// AUX-2 // AUX-2
#define BTN_EN1 76 #define BTN_EN1 76
#define BTN_EN2 77 #define BTN_EN2 77
#define BTN_ENC 78 #define BTN_ENC 78
#define SD_DETECT_PIN 81 #define SD_DETECT_PIN 81
#endif // !VIKI2 && !miniVIKI #endif // !VIKI2 && !miniVIKI
#else // !NEWPANEL - old style panel with shift register #else // !NEWPANEL - old style panel with shift register
// No Beeper added // No Beeper added
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#define LCD_PINS_RS 75 #define LCD_PINS_RS 75
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#endif // !NEWPANEL #endif // !NEWPANEL

View file

@ -34,126 +34,126 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 22 // Motor header MX1 #define SERVO0_PIN 22 // Motor header MX1
#define SERVO1_PIN 23 // Motor header MX2 #define SERVO1_PIN 23 // Motor header MX2
#define SERVO2_PIN 24 // Motor header MX3 #define SERVO2_PIN 24 // Motor header MX3
#define SERVO3_PIN 5 // PWM header pin 5 #define SERVO3_PIN 5 // PWM header pin 5
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 12 #define X_MIN_PIN 12
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 11 #define Y_MIN_PIN 11
#define Y_MAX_PIN 23 #define Y_MAX_PIN 23
#define Z_MIN_PIN 10 #define Z_MIN_PIN 10
#define Z_MAX_PIN 30 #define Z_MAX_PIN 30
// //
// Z Probe (when not Z_MIN_IN) // Z Probe (when not Z_MIN_IN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 30 #define Z_MIN_PROBE_PIN 30
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 37 #define X_STEP_PIN 37
#define X_DIR_PIN 48 #define X_DIR_PIN 48
#define X_ENABLE_PIN 29 #define X_ENABLE_PIN 29
#define Y_STEP_PIN 36 #define Y_STEP_PIN 36
#define Y_DIR_PIN 49 #define Y_DIR_PIN 49
#define Y_ENABLE_PIN 28 #define Y_ENABLE_PIN 28
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 47 #define Z_DIR_PIN 47
#define Z_ENABLE_PIN 27 #define Z_ENABLE_PIN 27
#define E0_STEP_PIN 34 #define E0_STEP_PIN 34
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 26 #define E0_ENABLE_PIN 26
#define E1_STEP_PIN 33 #define E1_STEP_PIN 33
#define E1_DIR_PIN 42 #define E1_DIR_PIN 42
#define E1_ENABLE_PIN 25 #define E1_ENABLE_PIN 25
// Microstepping pins - Mapping not from fastio.h (?) // Microstepping pins - Mapping not from fastio.h (?)
#define X_MS1_PIN 40 #define X_MS1_PIN 40
#define X_MS2_PIN 41 #define X_MS2_PIN 41
#define Y_MS1_PIN 69 #define Y_MS1_PIN 69
#define Y_MS2_PIN 39 #define Y_MS2_PIN 39
#define Z_MS1_PIN 68 #define Z_MS1_PIN 68
#define Z_MS2_PIN 67 #define Z_MS2_PIN 67
#define E0_MS1_PIN 65 #define E0_MS1_PIN 65
#define E0_MS2_PIN 66 #define E0_MS2_PIN 66
#define E1_MS1_PIN 63 #define E1_MS1_PIN 63
#define E1_MS2_PIN 64 #define E1_MS2_PIN 64
#define DIGIPOTSS_PIN 38 #define DIGIPOTSS_PIN 38
#define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping #define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input #define TEMP_0_PIN 0 // Analog Input
#define TEMP_BED_PIN 7 // Analog Input #define TEMP_BED_PIN 7 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 9 #define HEATER_0_PIN 9
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_BED_PIN 3 #define HEATER_BED_PIN 3
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 #define FAN_PIN 8
#endif #endif
#define FAN1_PIN 6 #define FAN1_PIN 6
#define FAN2_PIN 2 #define FAN2_PIN 2
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 4 #define PS_ON_PIN 4
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 3 // Analog Input #define FILWIDTH_PIN 3 // Analog Input
#endif #endif
// //
// LCD / Controller // LCD / Controller
// //
#define LCD_PINS_RS 70 // Ext2_5 #define LCD_PINS_RS 70 // Ext2_5
#define LCD_PINS_ENABLE 71 // Ext2_7 #define LCD_PINS_ENABLE 71 // Ext2_7
#define LCD_PINS_D4 72 // Ext2_9 ? #define LCD_PINS_D4 72 // Ext2_9 ?
#define LCD_PINS_D5 73 // Ext2_11 ? #define LCD_PINS_D5 73 // Ext2_11 ?
#define LCD_PINS_D6 74 // Ext2_13 #define LCD_PINS_D6 74 // Ext2_13
#define LCD_PINS_D7 75 // Ext2_15 ? #define LCD_PINS_D7 75 // Ext2_15 ?
#define BEEPER_PIN -1 #define BEEPER_PIN -1
#define BTN_HOME 80 // Ext_16 #define BTN_HOME 80 // Ext_16
#define BTN_CENTER 81 // Ext_14 #define BTN_CENTER 81 // Ext_14
#define BTN_ENC BTN_CENTER #define BTN_ENC BTN_CENTER
#define BTN_RIGHT 82 // Ext_12 #define BTN_RIGHT 82 // Ext_12
#define BTN_LEFT 83 // Ext_10 #define BTN_LEFT 83 // Ext_10
#define BTN_UP 84 // Ext2_8 #define BTN_UP 84 // Ext2_8
#define BTN_DOWN 85 // Ext2_6 #define BTN_DOWN 85 // Ext2_6
#define HOME_PIN BTN_HOME #define HOME_PIN BTN_HOME
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#define BEEPER_PIN 44 #define BEEPER_PIN 44
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 70 #define DOGLCD_A0 70
#define DOGLCD_CS 71 #define DOGLCD_CS 71
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
#define STAT_LED_RED_PIN 22 #define STAT_LED_RED_PIN 22
#define STAT_LED_BLUE_PIN 32 #define STAT_LED_BLUE_PIN 32
#endif // VIKI2/miniVIKI #endif // VIKI2/miniVIKI

View file

@ -40,11 +40,11 @@
// //
// Heaters / Fans // Heaters / Fans
// //
#define RAMPS_D8_PIN 9 #define RAMPS_D8_PIN 9
#define RAMPS_D9_PIN 8 #define RAMPS_D9_PIN 8
#define MOSFET_D_PIN 12 #define MOSFET_D_PIN 12
#define CASE_LIGHT_PIN -1 // Hardware PWM but one is not available on expansion header #define CASE_LIGHT_PIN -1 // Hardware PWM but one is not available on expansion header
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -57,21 +57,21 @@
// Steppers // Steppers
// //
#undef Z_ENABLE_PIN #undef Z_ENABLE_PIN
#define Z_ENABLE_PIN 63 #define Z_ENABLE_PIN 63
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_2_PIN 6 #define HEATER_2_PIN 6
// //
// Misc. Functions // Misc. Functions
// //
#undef SDSS #undef SDSS
#define SDSS 25 #define SDSS 25
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SD_DETECT_PIN 53 #define SD_DETECT_PIN 53
// //
// LCD / Controller // LCD / Controller
@ -85,24 +85,24 @@
#undef LCD_PINS_D5 #undef LCD_PINS_D5
#undef LCD_PINS_D6 #undef LCD_PINS_D6
#undef LCD_PINS_D7 #undef LCD_PINS_D7
#define LCD_PINS_RS 27 #define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 29 #define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 37 #define LCD_PINS_D4 37
#define LCD_PINS_D5 35 #define LCD_PINS_D5 35
#define LCD_PINS_D6 33 #define LCD_PINS_D6 33
#define LCD_PINS_D7 31 #define LCD_PINS_D7 31
// Buttons // Buttons
#undef BTN_EN1 #undef BTN_EN1
#undef BTN_EN2 #undef BTN_EN2
#undef BTN_ENC #undef BTN_ENC
#define BTN_EN1 16 #define BTN_EN1 16
#define BTN_EN2 17 #define BTN_EN2 17
#define BTN_ENC 23 #define BTN_ENC 23
#else #else
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#endif // HAS_SPI_LCD && NEWPANEL #endif // HAS_SPI_LCD && NEWPANEL
@ -137,7 +137,7 @@
* *
* Note: Socket names vary from vendor to vendor * Note: Socket names vary from vendor to vendor
*/ */
#undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are not good with 3DRAG #undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are not good with 3DRAG
#undef SPINDLE_LASER_ENA_PIN #undef SPINDLE_LASER_ENA_PIN
#undef SPINDLE_DIR_PIN #undef SPINDLE_DIR_PIN
@ -149,14 +149,14 @@
#undef Z_DIR_PIN #undef Z_DIR_PIN
#undef Z_ENABLE_PIN #undef Z_ENABLE_PIN
#undef Z_STEP_PIN #undef Z_STEP_PIN
#define Z_DIR_PIN 28 #define Z_DIR_PIN 28
#define Z_ENABLE_PIN 24 #define Z_ENABLE_PIN 24
#define Z_STEP_PIN 26 #define Z_STEP_PIN 26
#define SPINDLE_LASER_PWM_PIN 46 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 46 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 62 // Pullup! #define SPINDLE_LASER_ENA_PIN 62 // Pullup!
#define SPINDLE_DIR_PIN 48 #define SPINDLE_DIR_PIN 48
#elif !BOTH(ULTRA_LCD, NEWPANEL) // use expansion header if no LCD in use #elif !BOTH(ULTRA_LCD, NEWPANEL) // use expansion header if no LCD in use
#define SPINDLE_LASER_ENA_PIN 16 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 16 // Pullup or pulldown!
#define SPINDLE_DIR_PIN 17 #define SPINDLE_DIR_PIN 17
#endif #endif
#endif #endif

View file

@ -32,15 +32,15 @@
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
#define CASE_LIGHT_PIN 6 // Define before RAMPS pins include #define CASE_LIGHT_PIN 6 // Define before RAMPS pins include
#endif #endif
#define BOARD_INFO_NAME "Azteeg X3" #define BOARD_INFO_NAME "Azteeg X3"
// //
// Servos // Servos
// //
#define SERVO0_PIN 44 // SERVO1 port #define SERVO0_PIN 44 // SERVO1 port
#define SERVO1_PIN 55 // SERVO2 port #define SERVO1_PIN 55 // SERVO2 port
#include "pins_RAMPS_13.h" #include "pins_RAMPS_13.h"
@ -55,17 +55,17 @@
#undef DOGLCD_A0 #undef DOGLCD_A0
#undef DOGLCD_CS #undef DOGLCD_CS
#undef BTN_ENC #undef BTN_ENC
#define DOGLCD_A0 31 #define DOGLCD_A0 31
#define DOGLCD_CS 32 #define DOGLCD_CS 32
#define BTN_ENC 12 #define BTN_ENC 12
#define STAT_LED_RED_PIN 64 #define STAT_LED_RED_PIN 64
#define STAT_LED_BLUE_PIN 63 #define STAT_LED_BLUE_PIN 63
#else #else
#define STAT_LED_RED_PIN 6 #define STAT_LED_RED_PIN 6
#define STAT_LED_BLUE_PIN 11 #define STAT_LED_BLUE_PIN 11
#endif #endif
@ -79,18 +79,18 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are no good with the AzteegX3 board #undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are no good with the AzteegX3 board
#undef SPINDLE_LASER_ENA_PIN #undef SPINDLE_LASER_ENA_PIN
#undef SPINDLE_DIR_PIN #undef SPINDLE_DIR_PIN
#if HAS_CUTTER #if HAS_CUTTER
#undef SDA // use EXP3 header #undef SDA // use EXP3 header
#undef SCL #undef SCL
#if SERVO0_PIN == 7 #if SERVO0_PIN == 7
#undef SERVO0_PIN #undef SERVO0_PIN
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#endif #endif
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 20 // Pullup! #define SPINDLE_LASER_ENA_PIN 20 // Pullup!
#define SPINDLE_DIR_PIN 21 #define SPINDLE_DIR_PIN 21
#endif #endif

View file

@ -43,21 +43,21 @@
// Tested this pin with bed leveling on a Delta with 1 servo. // Tested this pin with bed leveling on a Delta with 1 servo.
// Physical wire attachment on EXT1: GND, 5V, D47. // Physical wire attachment on EXT1: GND, 5V, D47.
// //
#define SERVO0_PIN 47 #define SERVO0_PIN 47
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 3 #define X_STOP_PIN 3
#define Y_STOP_PIN 14 #define Y_STOP_PIN 14
#define Z_STOP_PIN 18 #define Z_STOP_PIN 18
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 6 #define FAN_PIN 6
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
#define CASE_LIGHT_PIN 44 #define CASE_LIGHT_PIN 44
#endif #endif
// //
@ -67,100 +67,100 @@
// DIGIPOT slave addresses // DIGIPOT slave addresses
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1) #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
#endif #endif
#ifndef DIGIPOT_I2C_ADDRESS_B #ifndef DIGIPOT_I2C_ADDRESS_B
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1) #define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
#endif #endif
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 18 #define Z_MIN_PROBE_PIN 18
#endif #endif
// //
// Steppers // Steppers
// //
#define E2_STEP_PIN 23 #define E2_STEP_PIN 23
#define E2_DIR_PIN 25 #define E2_DIR_PIN 25
#define E2_ENABLE_PIN 40 #define E2_ENABLE_PIN 40
#define E3_STEP_PIN 27 #define E3_STEP_PIN 27
#define E3_DIR_PIN 29 #define E3_DIR_PIN 29
#define E3_ENABLE_PIN 41 #define E3_ENABLE_PIN 41
#define E4_STEP_PIN 43 #define E4_STEP_PIN 43
#define E4_DIR_PIN 37 #define E4_DIR_PIN 37
#define E4_ENABLE_PIN 42 #define E4_ENABLE_PIN 42
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_2_PIN 12 // Analog Input #define TEMP_2_PIN 12 // Analog Input
#define TEMP_3_PIN 11 // Analog Input #define TEMP_3_PIN 11 // Analog Input
#define TEMP_4_PIN 10 // Analog Input #define TEMP_4_PIN 10 // Analog Input
#define TC1 4 // Analog Input (Thermo couple on Azteeg X3Pro) #define TC1 4 // Analog Input (Thermo couple on Azteeg X3Pro)
#define TC2 5 // Analog Input (Thermo couple on Azteeg X3Pro) #define TC2 5 // Analog Input (Thermo couple on Azteeg X3Pro)
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_2_PIN 16 #define HEATER_2_PIN 16
#define HEATER_3_PIN 17 #define HEATER_3_PIN 17
#define HEATER_4_PIN 4 #define HEATER_4_PIN 4
#define HEATER_5_PIN 5 #define HEATER_5_PIN 5
#define HEATER_6_PIN 6 #define HEATER_6_PIN 6
#define HEATER_7_PIN 11 #define HEATER_7_PIN 11
#ifndef CONTROLLER_FAN_PIN #ifndef CONTROLLER_FAN_PIN
#define CONTROLLER_FAN_PIN 4 // Pin used for the fan to cool motherboard (-1 to disable) #define CONTROLLER_FAN_PIN 4 // Pin used for the fan to cool motherboard (-1 to disable)
#endif #endif
// Fans/Water Pump to cool the hotend cool side. // Fans/Water Pump to cool the hotend cool side.
#define ORIG_E0_AUTO_FAN_PIN 5 #define ORIG_E0_AUTO_FAN_PIN 5
#define ORIG_E1_AUTO_FAN_PIN 5 #define ORIG_E1_AUTO_FAN_PIN 5
#define ORIG_E2_AUTO_FAN_PIN 5 #define ORIG_E2_AUTO_FAN_PIN 5
#define ORIG_E3_AUTO_FAN_PIN 5 #define ORIG_E3_AUTO_FAN_PIN 5
// //
// LCD / Controller // LCD / Controller
// //
#undef BEEPER_PIN #undef BEEPER_PIN
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SD_DETECT_PIN 49 // For easy adapter board #define SD_DETECT_PIN 49 // For easy adapter board
#undef BEEPER_PIN #undef BEEPER_PIN
#define BEEPER_PIN 12 // 33 isn't physically available to the LCD display #define BEEPER_PIN 12 // 33 isn't physically available to the LCD display
#else #else
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#if ENABLED(CASE_LIGHT_ENABLE) && PIN_EXISTS(CASE_LIGHT) && defined(DOGLCD_A0) && DOGLCD_A0 == CASE_LIGHT_PIN #if ENABLED(CASE_LIGHT_ENABLE) && PIN_EXISTS(CASE_LIGHT) && defined(DOGLCD_A0) && DOGLCD_A0 == CASE_LIGHT_PIN
#undef DOGLCD_A0 // Steal pin 44 for the case light; if you have a Viki2 and have connected it #undef DOGLCD_A0 // Steal pin 44 for the case light; if you have a Viki2 and have connected it
#define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments #define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments
// as the wiring diagram uses pin 44 for DOGLCD_A0 // as the wiring diagram uses pin 44 for DOGLCD_A0
#endif #endif
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are no good with the AzteegX3pro board #undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are no good with the AzteegX3pro board
#undef SPINDLE_LASER_ENA_PIN #undef SPINDLE_LASER_ENA_PIN
#undef SPINDLE_DIR_PIN #undef SPINDLE_DIR_PIN
#if HAS_CUTTER // EXP2 header #if HAS_CUTTER // EXP2 header
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#define BTN_EN2 31 // Pin 7 needed for Spindle PWM #define BTN_EN2 31 // Pin 7 needed for Spindle PWM
#endif #endif
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 20 // Pullup! #define SPINDLE_LASER_ENA_PIN 20 // Pullup!
#define SPINDLE_DIR_PIN 21 #define SPINDLE_DIR_PIN 21
#endif #endif

View file

@ -34,9 +34,9 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_ENA_PIN 66 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 66 // Pullup or pulldown!
#define SPINDLE_DIR_PIN 67 #define SPINDLE_DIR_PIN 67
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -45,5 +45,5 @@
// //
#undef TEMP_0_PIN #undef TEMP_0_PIN
#undef TEMP_1_PIN #undef TEMP_1_PIN
#define TEMP_0_PIN 9 // Analog Input #define TEMP_0_PIN 9 // Analog Input
#define TEMP_1_PIN 11 // Analog Input #define TEMP_1_PIN 11 // Analog Input

View file

@ -34,30 +34,30 @@
// //
// Heaters / Fans // Heaters / Fans
// //
#define RAMPS_D8_PIN 10 #define RAMPS_D8_PIN 10
#define RAMPS_D9_PIN 12 #define RAMPS_D9_PIN 12
#define RAMPS_D10_PIN 9 #define RAMPS_D10_PIN 9
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
// //
// Auto fans // Auto fans
// //
#define ORIG_E0_AUTO_FAN_PIN 11 #define ORIG_E0_AUTO_FAN_PIN 11
#define ORIG_E1_AUTO_FAN_PIN 6 #define ORIG_E1_AUTO_FAN_PIN 6
#define ORIG_E2_AUTO_FAN_PIN 6 #define ORIG_E2_AUTO_FAN_PIN 6
#define ORIG_E3_AUTO_FAN_PIN 6 #define ORIG_E3_AUTO_FAN_PIN 6
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_DIR_PIN 42 #define SPINDLE_DIR_PIN 42
// //
// Limit Switches // Limit Switches
// //
#define X_MAX_PIN 79 // 2 #define X_MAX_PIN 79 // 2
// //
// Import RAMPS 1.3 pins // Import RAMPS 1.3 pins
@ -68,34 +68,33 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#undef Z_MIN_PROBE_PIN #undef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 19 // IND_S_5V #define Z_MIN_PROBE_PIN 19 // IND_S_5V
#undef Z_ENABLE_PIN #undef Z_ENABLE_PIN
#define Z_ENABLE_PIN 77 // 62 #define Z_ENABLE_PIN 77 // 62
// //
// Steppers // Steppers
// //
#define DIGIPOTSS_PIN 22 #define DIGIPOTSS_PIN 22
#define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 } #define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 }
// //
// Temperature Sensors // Temperature Sensors
// //
#undef TEMP_1_PIN #undef TEMP_1_PIN
#define TEMP_1_PIN 14 // Analog Input (15) #define TEMP_1_PIN 14 // Analog Input (15)
#undef TEMP_BED_PIN #undef TEMP_BED_PIN
#define TEMP_BED_PIN 15 // Analog Input (14) #define TEMP_BED_PIN 15 // Analog Input (14)
// //
// Misc. Functions // Misc. Functions
// //
#undef PS_ON_PIN // 12 #undef PS_ON_PIN // 12
#define PS_ON_PIN 81 // External Power Supply #define PS_ON_PIN 81 // External Power Supply
#define CASE_LIGHT_PIN 44 // Hardware PWM
#define CASE_LIGHT_PIN 44 // Hardware PWM
// This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
// decided to ship the printer only with the probe and no additional Z-min // decided to ship the printer only with the probe and no additional Z-min
@ -104,8 +103,8 @@
#ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN #ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#undef Z_MIN_PIN #undef Z_MIN_PIN
#undef Z_MAX_PIN #undef Z_MAX_PIN
#define Z_MIN_PIN 19 // IND_S_5V #define Z_MIN_PIN 19 // IND_S_5V
#define Z_MAX_PIN 18 // Z-MIN Label #define Z_MAX_PIN 18 // Z-MIN Label
#endif #endif
// //
@ -113,5 +112,5 @@
// //
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT) #if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
#undef HEATER_BED_PIN #undef HEATER_BED_PIN
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#endif #endif

View file

@ -34,68 +34,68 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 54 // PF0 / A0 #define X_STOP_PIN 54 // PF0 / A0
#define Y_STOP_PIN 24 // PA2 / AD2 #define Y_STOP_PIN 24 // PA2 / AD2
#define Z_MIN_PIN 23 // PA1 / AD1 #define Z_MIN_PIN 23 // PA1 / AD1
#define Z_MAX_PIN 25 // PA3 / AD3 #define Z_MAX_PIN 25 // PA3 / AD3
#define SERVO0_PIN 40 // PG1 / !RD #define SERVO0_PIN 40 // PG1 / !RD
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 61 // PF7 / A7 #define X_STEP_PIN 61 // PF7 / A7
#define X_DIR_PIN 62 // PK0 / A8 #define X_DIR_PIN 62 // PK0 / A8
#define X_ENABLE_PIN 60 // PF6 / A6 #define X_ENABLE_PIN 60 // PF6 / A6
#define Y_STEP_PIN 64 // PK2 / A10 #define Y_STEP_PIN 64 // PK2 / A10
#define Y_DIR_PIN 65 // PK3 / A11 #define Y_DIR_PIN 65 // PK3 / A11
#define Y_ENABLE_PIN 63 // PK1 / A9 #define Y_ENABLE_PIN 63 // PK1 / A9
#define Z_STEP_PIN 67 // PK5 / A13 #define Z_STEP_PIN 67 // PK5 / A13
#define Z_DIR_PIN 69 // PK7 / A15 #define Z_DIR_PIN 69 // PK7 / A15
#define Z_ENABLE_PIN 66 // PK4 / A12 #define Z_ENABLE_PIN 66 // PK4 / A12
#define Z_MIN_PROBE_PIN 25 // PA3 / AD3 #define Z_MIN_PROBE_PIN 25 // PA3 / AD3
#define E0_STEP_PIN 58 // PF4 / A4 #define E0_STEP_PIN 58 // PF4 / A4
#define E0_DIR_PIN 59 // PF5 / A5 #define E0_DIR_PIN 59 // PF5 / A5
#define E0_ENABLE_PIN 57 // PF3 / A3 #define E0_ENABLE_PIN 57 // PF3 / A3
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 1 // PF1 / A1 Analog #define TEMP_0_PIN 1 // PF1 / A1 Analog
#define TEMP_BED_PIN 14 // PK6 / A14 Analog #define TEMP_BED_PIN 14 // PK6 / A14 Analog
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 4 // PG5 / PWM4 #define HEATER_0_PIN 4 // PG5 / PWM4
#define HEATER_BED_PIN 3 // PE5 / PWM3 #define HEATER_BED_PIN 3 // PE5 / PWM3
#define FAN_PIN 5 // PE3 / PWM5 #define FAN_PIN 5 // PE3 / PWM5
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 // PB0 / SS #define SDSS 53 // PB0 / SS
#define LED_PIN 13 // PB7 / PWM13 #define LED_PIN 13 // PB7 / PWM13
#define MISO_PIN 50 // PB3 #define MISO_PIN 50 // PB3
#define MOSI_PIN 51 // PB2 #define MOSI_PIN 51 // PB2
#define SCK_PIN 52 // PB1 #define SCK_PIN 52 // PB1
// //
// LCDs and Controllers // LCDs and Controllers
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#if ENABLED(ZONESTAR_LCD) #if ENABLED(ZONESTAR_LCD)
#define LCD_PINS_RS 2 #define LCD_PINS_RS 2
#define LCD_PINS_ENABLE 36 #define LCD_PINS_ENABLE 36
#define LCD_PINS_D4 37 #define LCD_PINS_D4 37
#define LCD_PINS_D5 34 #define LCD_PINS_D5 34
#define LCD_PINS_D6 35 #define LCD_PINS_D6 35
#define LCD_PINS_D7 32 #define LCD_PINS_D7 32
#define ADC_KEYPAD_PIN 12 // Analog #define ADC_KEYPAD_PIN 12 // Analog
#endif #endif
#endif #endif

View file

@ -35,29 +35,29 @@
// Heaters / Fans // Heaters / Fans
// //
// Power outputs EFBF or EFBE // Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
// //
// Misc. Functions // Misc. Functions
// //
#define SDPOWER_PIN 1 #define SDPOWER_PIN 1
#define PS_ON_PIN 12 #define PS_ON_PIN 12
// //
// LCD / Controller // LCD / Controller
// //
#if BOTH(ULTRA_LCD, NEWPANEL) #if BOTH(ULTRA_LCD, NEWPANEL)
#define SD_DETECT_PIN 6 #define SD_DETECT_PIN 6
#endif // NEWPANEL && ULTRA_LCD #endif // NEWPANEL && ULTRA_LCD
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are not valid with this board #undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are not valid with this board
#undef SPINDLE_LASER_ENA_PIN #undef SPINDLE_LASER_ENA_PIN
#undef SPINDLE_DIR_PIN #undef SPINDLE_DIR_PIN

View file

@ -41,83 +41,83 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#define SERVO1_PIN 6 #define SERVO1_PIN 6
#define SERVO2_PIN 5 #define SERVO2_PIN 5
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 53 #define X_CS_PIN 53
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 49 #define Y_CS_PIN 49
#endif #endif
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 40 #define Z_CS_PIN 40
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 42 #define E0_CS_PIN 42
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 44 #define E1_CS_PIN 44
#endif #endif
#define E2_STEP_PIN 42 #define E2_STEP_PIN 42
#define E2_DIR_PIN 43 #define E2_DIR_PIN 43
#define E2_ENABLE_PIN 44 #define E2_ENABLE_PIN 44
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
@ -140,39 +140,39 @@
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 9 #define FAN_PIN 9
#endif #endif
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 57 #define FIL_RUNOUT_PIN 57
#endif #endif
#if !HAS_FILAMENT_SENSOR #if !HAS_FILAMENT_SENSOR
#define FAN1_PIN 4 #define FAN1_PIN 4
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#ifndef SDSS #ifndef SDSS
#define SDSS 53 #define SDSS 53
#endif #endif
#define LED_PIN 13 #define LED_PIN 13
#define LED4_PIN 5 #define LED4_PIN 5
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // Analog Input #define FILWIDTH_PIN 5 // Analog Input
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
#define CASE_LIGHT_PIN 5 #define CASE_LIGHT_PIN 5
// //
// LCD / Controller // LCD / Controller
@ -180,16 +180,16 @@
// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER // Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
// //
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#endif #endif

View file

@ -28,10 +28,10 @@
#define BOARD_INFO_NAME "Formbot Raptor2" #define BOARD_INFO_NAME "Formbot Raptor2"
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
#define FAN_PIN 6 #define FAN_PIN 6
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 22 #define FIL_RUNOUT_PIN 22
#endif #endif
#include "pins_FORMBOT_RAPTOR.h" #include "pins_FORMBOT_RAPTOR.h"
@ -42,22 +42,22 @@
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA) #if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
#if !NUM_SERVOS // Try to use servo connector first #if !NUM_SERVOS // Try to use servo connector first
#define SPINDLE_LASER_ENA_PIN 6 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 6 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
#define SPINDLE_DIR_PIN 5 #define SPINDLE_DIR_PIN 5
#elif !GREEDY_PANEL // Try to use AUX2 #elif !GREEDY_PANEL // Try to use AUX2
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_DIR_PIN 65 #define SPINDLE_DIR_PIN 65
#endif #endif
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
#if NUM_SERVOS <= 1 // Try to use servo connector first #if NUM_SERVOS <= 1 // Try to use servo connector first
#define CASE_LIGHT_PIN 6 // Hardware PWM #define CASE_LIGHT_PIN 6 // Hardware PWM
#elif !GREEDY_PANEL // Try to use AUX2 #elif !GREEDY_PANEL // Try to use AUX2
#define CASE_LIGHT_PIN 44 // Hardware PWM #define CASE_LIGHT_PIN 44 // Hardware PWM
#endif #endif
#endif #endif

View file

@ -37,84 +37,84 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#define SERVO1_PIN -1 // was 6 #define SERVO1_PIN -1 // was 6
#define SERVO2_PIN -1 // was 5 #define SERVO2_PIN -1 // was 5
#define SERVO3_PIN -1 #define SERVO3_PIN -1
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 53 #define X_CS_PIN 53
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 49 #define Y_CS_PIN 49
#endif #endif
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 40 #define Z_CS_PIN 40
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 42 #define E0_CS_PIN 42
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 44 #define E1_CS_PIN 44
#endif #endif
#define E2_STEP_PIN 42 #define E2_STEP_PIN 42
#define E2_DIR_PIN 43 #define E2_DIR_PIN 43
#define E2_ENABLE_PIN 44 #define E2_ENABLE_PIN 44
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#define TEMP_BED_PIN 3 // Analog Input #define TEMP_BED_PIN 3 // Analog Input
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
@ -137,36 +137,36 @@
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_BED_PIN 58 #define HEATER_BED_PIN 58
#define FAN_PIN 9 #define FAN_PIN 9
#if HAS_FILAMENT_SENSOR #if HAS_FILAMENT_SENSOR
#define FIL_RUNOUT_PIN 4 #define FIL_RUNOUT_PIN 4
//#define FIL_RUNOUT2_PIN -1 //#define FIL_RUNOUT2_PIN -1
#else #else
// Though defined as a fan pin, it is utilized as a dedicated laser pin by Formbot. // Though defined as a fan pin, it is utilized as a dedicated laser pin by Formbot.
#define FAN1_PIN 4 #define FAN1_PIN 4
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#ifndef LED_PIN #ifndef LED_PIN
#define LED_PIN 13 // The Formbot v 1 board has almost no unassigned pins on it. The Board's LED #define LED_PIN 13 // The Formbot v 1 board has almost no unassigned pins on it. The Board's LED
#endif // is a good place to get a signal to control the Max7219 LED Matrix. #endif // is a good place to get a signal to control the Max7219 LED Matrix.
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // Analog Input #define FILWIDTH_PIN 5 // Analog Input
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
#define CASE_LIGHT_PIN 8 #define CASE_LIGHT_PIN 8
// //
// LCD / Controller // LCD / Controller
@ -175,22 +175,22 @@
// //
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#ifndef BEEPER_PIN #ifndef BEEPER_PIN
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#endif #endif
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
// Allow MAX7219 to steal the KILL pin // Allow MAX7219 to steal the KILL pin
#if !defined(KILL_PIN) && MAX7219_CLK_PIN != 41 && MAX7219_DIN_PIN != 41 && MAX7219_LOAD_PIN != 41 #if !defined(KILL_PIN) && MAX7219_CLK_PIN != 41 && MAX7219_DIN_PIN != 41 && MAX7219_LOAD_PIN != 41
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#endif #endif

View file

@ -37,116 +37,114 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#define SERVO1_PIN -1 // was 6 #define SERVO1_PIN -1 // was 6
#define SERVO2_PIN -1 #define SERVO2_PIN -1
#define SERVO3_PIN -1 #define SERVO3_PIN -1
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 53 #define X_CS_PIN 53
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 49 #define Y_CS_PIN 49
#endif #endif
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 40 #define Z_CS_PIN 40
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 42 #define E0_CS_PIN 42
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 44 #define E1_CS_PIN 44
#endif #endif
#define E2_STEP_PIN 42 #define E2_STEP_PIN 42
#define E2_DIR_PIN 43 #define E2_DIR_PIN 43
#define E2_ENABLE_PIN 44 #define E2_ENABLE_PIN 44
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#define FAN_PIN 9 #define FAN_PIN 9
#define FAN1_PIN 12 #define FAN1_PIN 12
#define NUM_RUNOUT_SENSORS 2 #define NUM_RUNOUT_SENSORS 2
#define FIL_RUNOUT_PIN 22 #define FIL_RUNOUT_PIN 22
#define FIL_RUNOUT2_PIN 21 #define FIL_RUNOUT2_PIN 21
// //
// Misc. Functions // Misc. Functions
// //
#define CASE_LIGHT_PIN 5 #define CASE_LIGHT_PIN 5
#define SDSS 53 #define SDSS 53
#ifndef LED_PIN #ifndef LED_PIN
#define LED_PIN 13 #define LED_PIN 13
#endif #endif
#define SPINDLE_LASER_PWM_PIN -1 // Hardware PWM #define SPINDLE_LASER_PWM_PIN -1 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 4 // Pullup! #define SPINDLE_LASER_ENA_PIN 4 // Pullup!
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // Analog Input #define FILWIDTH_PIN 5 // Analog Input
// //
// LCD / Controller // LCD / Controller
@ -154,20 +152,20 @@
// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER // Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
// //
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#ifndef KILL_PIN #ifndef KILL_PIN
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#ifndef BEEPER_PIN #ifndef BEEPER_PIN
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#endif #endif
#endif #endif

View file

@ -33,83 +33,83 @@
#define BOARD_INFO_NAME "FYSETC F6 1.3" #define BOARD_INFO_NAME "FYSETC F6 1.3"
#endif #endif
#define RESET_PIN 30 #define RESET_PIN 30
#define SPI_FLASH_CS 83 #define SPI_FLASH_CS 83
// //
// Servos // Servos
// //
#define SERVO0_PIN 13 #define SERVO0_PIN 13
#define SERVO1_PIN 11 // (PS_ON_PIN) #define SERVO1_PIN 11 // (PS_ON_PIN)
#define SERVO2_PIN 10 // (FIL_RUNOUT_PIN) #define SERVO2_PIN 10 // (FIL_RUNOUT_PIN)
#define SERVO3_PIN 4 // (RGB_LED_G_PIN) #define SERVO3_PIN 4 // (RGB_LED_G_PIN)
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 63 #define X_MIN_PIN 63
#define X_MAX_PIN 64 #define X_MAX_PIN 64
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 12 #define Z_MIN_PIN 12
#ifndef Z_MAX_PIN #ifndef Z_MAX_PIN
#define Z_MAX_PIN 9 #define Z_MAX_PIN 9
#endif #endif
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN SERVO2_PIN #define FIL_RUNOUT_PIN SERVO2_PIN
#endif #endif
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 9 // Servos pin #define Z_MIN_PROBE_PIN 9 // Servos pin
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 70 #define X_CS_PIN 70
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 39 #define Y_CS_PIN 39
#endif #endif
#define Z_STEP_PIN 43 #define Z_STEP_PIN 43
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 58 #define Z_ENABLE_PIN 58
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 74 #define Z_CS_PIN 74
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 47 #define E0_CS_PIN 47
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 32 #define E1_CS_PIN 32
#endif #endif
#define E2_STEP_PIN 59 #define E2_STEP_PIN 59
#define E2_DIR_PIN 57 #define E2_DIR_PIN 57
#define E2_ENABLE_PIN 40 #define E2_ENABLE_PIN 40
#ifndef E2_CS_PIN #ifndef E2_CS_PIN
#define E2_CS_PIN 42 #define E2_CS_PIN 42
#endif #endif
// //
@ -125,76 +125,76 @@
* At the moment, F6 rx pins are not pc interrupt pins * At the moment, F6 rx pins are not pc interrupt pins
*/ */
#ifndef X_SERIAL_RX_PIN #ifndef X_SERIAL_RX_PIN
#define X_SERIAL_RX_PIN -1 // 71 #define X_SERIAL_RX_PIN -1 // 71
#endif #endif
#ifndef X_SERIAL_TX_PIN #ifndef X_SERIAL_TX_PIN
#define X_SERIAL_TX_PIN 72 #define X_SERIAL_TX_PIN 72
#endif #endif
#ifndef Y_SERIAL_RX_PIN #ifndef Y_SERIAL_RX_PIN
#define Y_SERIAL_RX_PIN -1 // 73 #define Y_SERIAL_RX_PIN -1 // 73
#endif #endif
#ifndef Y_SERIAL_TX_PIN #ifndef Y_SERIAL_TX_PIN
#define Y_SERIAL_TX_PIN 75 #define Y_SERIAL_TX_PIN 75
#endif #endif
#ifndef Z_SERIAL_RX_PIN #ifndef Z_SERIAL_RX_PIN
#define Z_SERIAL_RX_PIN -1 // 78 #define Z_SERIAL_RX_PIN -1 // 78
#endif #endif
#ifndef Z_SERIAL_TX_PIN #ifndef Z_SERIAL_TX_PIN
#define Z_SERIAL_TX_PIN 79 #define Z_SERIAL_TX_PIN 79
#endif #endif
#ifndef E0_SERIAL_RX_PIN #ifndef E0_SERIAL_RX_PIN
#define E0_SERIAL_RX_PIN -1 // 76 #define E0_SERIAL_RX_PIN -1 // 76
#endif #endif
#ifndef E0_SERIAL_TX_PIN #ifndef E0_SERIAL_TX_PIN
#define E0_SERIAL_TX_PIN 77 #define E0_SERIAL_TX_PIN 77
#endif #endif
#ifndef E1_SERIAL_RX_PIN #ifndef E1_SERIAL_RX_PIN
#define E1_SERIAL_RX_PIN -1 // 80 #define E1_SERIAL_RX_PIN -1 // 80
#endif #endif
#ifndef E1_SERIAL_TX_PIN #ifndef E1_SERIAL_TX_PIN
#define E1_SERIAL_TX_PIN 81 #define E1_SERIAL_TX_PIN 81
#endif #endif
#ifndef E2_SERIAL_RX_PIN #ifndef E2_SERIAL_RX_PIN
#define E2_SERIAL_RX_PIN -1 // 22 #define E2_SERIAL_RX_PIN -1 // 22
#endif #endif
#ifndef E2_SERIAL_TX_PIN #ifndef E2_SERIAL_TX_PIN
#define E2_SERIAL_TX_PIN 82 #define E2_SERIAL_TX_PIN 82
#endif #endif
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 12 // Analog Input #define TEMP_0_PIN 12 // Analog Input
#define TEMP_1_PIN 13 // Analog Input #define TEMP_1_PIN 13 // Analog Input
#define TEMP_2_PIN 14 // Analog Input #define TEMP_2_PIN 14 // Analog Input
#define TEMP_BED_PIN 15 // Analog Input #define TEMP_BED_PIN 15 // Analog Input
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 9 // Analog Input on X+ endstop #define FILWIDTH_PIN 9 // Analog Input on X+ endstop
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 5 #define HEATER_0_PIN 5
#define HEATER_1_PIN 6 #define HEATER_1_PIN 6
#define HEATER_2_PIN 7 #define HEATER_2_PIN 7
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#define FAN_PIN 44 #define FAN_PIN 44
#define FAN1_PIN 45 #define FAN1_PIN 45
#define FAN2_PIN 46 #define FAN2_PIN 46
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define KILL_PIN 41 #define KILL_PIN 41
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN SERVO1_PIN #define PS_ON_PIN SERVO1_PIN
#endif #endif
/** /**
@ -211,69 +211,69 @@
// //
// LCDs and Controllers // LCDs and Controllers
// //
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#if ENABLED(FYSETC_MINI_12864) #if ENABLED(FYSETC_MINI_12864)
// //
// See https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8 // See https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
// //
#define DOGLCD_A0 16 #define DOGLCD_A0 16
#define DOGLCD_CS 17 #define DOGLCD_CS 17
#if ENABLED(FYSETC_GENERIC_12864_1_1) #if ENABLED(FYSETC_GENERIC_12864_1_1)
#define LCD_BACKLIGHT_PIN 27 #define LCD_BACKLIGHT_PIN 27
#endif #endif
#define KILL_PIN 41 #define KILL_PIN 41
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
// Seems to work best if left open. // Seems to work best if left open.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN 25 #define RGB_LED_R_PIN 25
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN 27 #define RGB_LED_G_PIN 27
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN 29 #define RGB_LED_B_PIN 29
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN 25 #define NEOPIXEL_PIN 25
#endif #endif
#elif HAS_GRAPHICAL_LCD #elif HAS_GRAPHICAL_LCD
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
#define DOGLCD_CS 25 #define DOGLCD_CS 25
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#endif #endif
#endif #endif
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#endif #endif
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN 3 #define RGB_LED_R_PIN 3
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN 4 #define RGB_LED_G_PIN 4
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN 9 #define RGB_LED_B_PIN 9
#endif #endif
#ifndef RGB_LED_W_PIN #ifndef RGB_LED_W_PIN
#define RGB_LED_W_PIN -1 #define RGB_LED_W_PIN -1
#endif #endif

View file

@ -27,24 +27,24 @@
#define BOARD_NAME "FYSETC F6 1.4" #define BOARD_NAME "FYSETC F6 1.4"
#define Z_MAX_PIN 2 #define Z_MAX_PIN 2
#if HAS_TMC_UART #if HAS_TMC_UART
/** /**
* TMC2208/TMC2209 stepper drivers * TMC2208/TMC2209 stepper drivers
*/ */
#define X_SERIAL_RX_PIN 72 #define X_SERIAL_RX_PIN 72
#define X_SERIAL_TX_PIN 71 #define X_SERIAL_TX_PIN 71
#define Y_SERIAL_RX_PIN 73 #define Y_SERIAL_RX_PIN 73
#define Y_SERIAL_TX_PIN 78 #define Y_SERIAL_TX_PIN 78
#define Z_SERIAL_RX_PIN 75 #define Z_SERIAL_RX_PIN 75
#define Z_SERIAL_TX_PIN 79 #define Z_SERIAL_TX_PIN 79
#define E0_SERIAL_RX_PIN 77 #define E0_SERIAL_RX_PIN 77
#define E0_SERIAL_TX_PIN 81 #define E0_SERIAL_TX_PIN 81
#define E1_SERIAL_RX_PIN 76 #define E1_SERIAL_RX_PIN 76
#define E1_SERIAL_TX_PIN 80 #define E1_SERIAL_TX_PIN 80
#define E2_SERIAL_RX_PIN 62 #define E2_SERIAL_RX_PIN 62
#define E2_SERIAL_TX_PIN 82 #define E2_SERIAL_TX_PIN 82
#endif #endif
#include "pins_FYSETC_F6_13.h" #include "pins_FYSETC_F6_13.h"

View file

@ -40,8 +40,8 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 3 #define X_STOP_PIN 3
#define Y_STOP_PIN 14 #define Y_STOP_PIN 14
#undef X_MIN_PIN #undef X_MIN_PIN
#undef X_MAX_PIN #undef X_MAX_PIN
@ -52,13 +52,13 @@
// Steppers // Steppers
// //
#undef E1_STEP_PIN #undef E1_STEP_PIN
#define E1_STEP_PIN 32 #define E1_STEP_PIN 32
// //
// Heaters / Fans // Heaters / Fans
// //
#undef HEATER_1_PIN #undef HEATER_1_PIN
#define HEATER_1_PIN 11 #define HEATER_1_PIN 11
// //
// Misc. Functions // Misc. Functions
@ -69,5 +69,5 @@
#if Z_STEP_PIN == 26 #if Z_STEP_PIN == 26
#undef Z_STEP_PIN #undef Z_STEP_PIN
#define Z_STEP_PIN 32 #define Z_STEP_PIN 32
#endif #endif

View file

@ -37,73 +37,73 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 3 #define X_STOP_PIN 3
#define Y_STOP_PIN 14 #define Y_STOP_PIN 14
#define Z_MIN_PIN 68 // Used for bed leveling #define Z_MIN_PIN 68 // Used for bed leveling
#define Z_MAX_PIN 66 #define Z_MAX_PIN 66
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 63 #define Z_ENABLE_PIN 63
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#define E1_STEP_PIN 32 #define E1_STEP_PIN 32
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 #define TEMP_0_PIN 13
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define FAN_PIN 8 #define FAN_PIN 8
#define CONTROLLER_FAN_PIN 9 #define CONTROLLER_FAN_PIN 9
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 25 #define SDSS 25
#define FIL_RUNOUT_PIN 69 // PK7 #define FIL_RUNOUT_PIN 69 // PK7
#define KILL_PIN 20 // PD1 #define KILL_PIN 20 // PD1
// //
// LCD / Controller // LCD / Controller
// //
#define SD_DETECT_PIN 21 // PD0 #define SD_DETECT_PIN 21 // PD0
#define LCD_SDSS 53 #define LCD_SDSS 53
#define BEEPER_PIN 6 #define BEEPER_PIN 6
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define LCD_PINS_RS 27 #define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 29 #define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 37 #define LCD_PINS_D4 37
#define LCD_PINS_D5 35 #define LCD_PINS_D5 35
#define LCD_PINS_D6 33 #define LCD_PINS_D6 33
#define LCD_PINS_D7 31 #define LCD_PINS_D7 31
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_EN1 17 #define BTN_EN1 17
#define BTN_EN2 16 #define BTN_EN2 16
#define BTN_ENC 23 #define BTN_ENC 23
#endif #endif

View file

@ -30,28 +30,28 @@
#endif #endif
#define BOARD_INFO_NAME "MKS BASE 1.4" #define BOARD_INFO_NAME "MKS BASE 1.4"
#define MKS_BASE_VERSION 14 #define MKS_BASE_VERSION 14
// //
// Heaters / Fans // Heaters / Fans
// //
#define FAN_PIN 9 // PH6 ** Pin18 ** PWM9 #define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
// Other Mods // Other Mods
#define CASE_LIGHT_PIN 11 // PB5 ** Pin24 ** PWM11 #define CASE_LIGHT_PIN 11 // PB5 ** Pin24 ** PWM11
#define SERVO3_PIN 12 // PB6 ** Pin25 ** D12 #define SERVO3_PIN 12 // PB6 ** Pin25 ** D12
#define PS_ON_PIN 2 // X+ // PE4 ** Pin6 ** PWM2 **MUST BE HARDWARE PWM #define PS_ON_PIN 2 // X+ // PE4 ** Pin6 ** PWM2 **MUST BE HARDWARE PWM
#define FILWIDTH_PIN 15 // Y+ // PJ0 ** Pin63 ** USART3_RX **Pin should have a pullup! #define FILWIDTH_PIN 15 // Y+ // PJ0 ** Pin63 ** USART3_RX **Pin should have a pullup!
#define FIL_RUNOUT_PIN 19 // Z+ // PD2 ** Pin45 ** USART1_RX #define FIL_RUNOUT_PIN 19 // Z+ // PD2 ** Pin45 ** USART1_RX
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN 50 #define RGB_LED_R_PIN 50
#endif #endif
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_G_PIN 51 #define RGB_LED_G_PIN 51
#endif #endif
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_B_PIN 52 #define RGB_LED_B_PIN 52
#endif #endif
#include "pins_MKS_BASE_common.h" #include "pins_MKS_BASE_common.h"

View file

@ -30,30 +30,30 @@
#endif #endif
#define BOARD_INFO_NAME "MKS BASE 1.6" #define BOARD_INFO_NAME "MKS BASE 1.6"
#define MKS_BASE_VERSION 16 #define MKS_BASE_VERSION 16
// //
// Servos // Servos
// //
#define SERVO1_PIN 12 // Digital 12 / Pin 25 #define SERVO1_PIN 12 // Digital 12 / Pin 25
// //
// Omitted RAMPS pins // Omitted RAMPS pins
// //
#ifndef SERVO2_PIN #ifndef SERVO2_PIN
#define SERVO2_PIN -1 #define SERVO2_PIN -1
#endif #endif
#ifndef SERVO3_PIN #ifndef SERVO3_PIN
#define SERVO3_PIN -1 #define SERVO3_PIN -1
#endif #endif
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN -1 #define FILWIDTH_PIN -1
#endif #endif
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN -1 #define FIL_RUNOUT_PIN -1
#endif #endif
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN -1 #define PS_ON_PIN -1
#endif #endif
#include "pins_MKS_BASE_common.h" #include "pins_MKS_BASE_common.h"

View file

@ -34,19 +34,19 @@
// Heaters / Fans // Heaters / Fans
// //
// Power outputs EFBF or EFBE // Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER #if HAS_CUTTER
#define SPINDLE_LASER_PWM_PIN 2 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 2 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 15 // Pullup! #define SPINDLE_LASER_ENA_PIN 15 // Pullup!
#define SPINDLE_DIR_PIN 19 #define SPINDLE_DIR_PIN 19
#endif #endif
#ifndef CASE_LIGHT_PIN #ifndef CASE_LIGHT_PIN
#define CASE_LIGHT_PIN 2 #define CASE_LIGHT_PIN 2
#endif #endif
#endif #endif
@ -54,22 +54,22 @@
// //
// Microstepping pins // Microstepping pins
// //
#if MKS_BASE_VERSION >= 14 // |===== 1.4 =====|===== 1.5+ =====| #if MKS_BASE_VERSION >= 14 // |===== 1.4 =====|===== 1.5+ =====|
#define X_MS1_PIN 5 // PE3 | Pin 5 | PWM5 | | D3 | SERVO2_PIN #define X_MS1_PIN 5 // PE3 | Pin 5 | PWM5 | | D3 | SERVO2_PIN
#define X_MS2_PIN 6 // PH3 | Pin 15 | PWM6 | Pin 14 | D6 | SERVO1_PIN #define X_MS2_PIN 6 // PH3 | Pin 15 | PWM6 | Pin 14 | D6 | SERVO1_PIN
#define Y_MS1_PIN 59 // PF5 | Pin 92 | A5 | | | #define Y_MS1_PIN 59 // PF5 | Pin 92 | A5 | | |
#define Y_MS2_PIN 58 // PF4 | Pin 93 | A4 | | | #define Y_MS2_PIN 58 // PF4 | Pin 93 | A4 | | |
#define Z_MS1_PIN 22 // PA0 | Pin 78 | D22 | | | #define Z_MS1_PIN 22 // PA0 | Pin 78 | D22 | | |
#define Z_MS2_PIN 39 // PG2 | Pin 70 | D39 | | | #define Z_MS2_PIN 39 // PG2 | Pin 70 | D39 | | |
#if MKS_BASE_VERSION == 14 #if MKS_BASE_VERSION == 14
#define E0_MS1_PIN 64 // PK2 | Pin 87 | A10 | | | #define E0_MS1_PIN 64 // PK2 | Pin 87 | A10 | | |
#define E0_MS2_PIN 63 // PK1 | Pin 88 | A9 | | | #define E0_MS2_PIN 63 // PK1 | Pin 88 | A9 | | |
#else #else
#define E0_MS1_PIN 63 // PK1 | | | Pin 86 | A9 | #define E0_MS1_PIN 63 // PK1 | | | Pin 86 | A9 |
#define E0_MS2_PIN 64 // PK2 | | | Pin 87 | A10 | #define E0_MS2_PIN 64 // PK2 | | | Pin 87 | A10 |
#endif #endif
#define E1_MS1_PIN 57 // PF3 | Pin 94 | A3 | Pin 93 | A3 | #define E1_MS1_PIN 57 // PF3 | Pin 94 | A3 | Pin 93 | A3 |
#define E1_MS2_PIN 4 // PG5 | Pin 1 | PWM4 | | D4 | SERVO3_PIN #define E1_MS2_PIN 4 // PG5 | Pin 1 | PWM4 | | D4 | SERVO3_PIN
#endif #endif
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View file

@ -40,7 +40,7 @@
// Heaters / Fans // Heaters / Fans
// //
// Power outputs EFBF or EFBE // Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
// //
// PSU / SERVO // PSU / SERVO
@ -48,8 +48,8 @@
// If PSU_CONTROL is specified, always hijack Servo 3 // If PSU_CONTROL is specified, always hijack Servo 3
// //
#if ENABLED(PSU_CONTROL) #if ENABLED(PSU_CONTROL)
#define SERVO3_PIN -1 #define SERVO3_PIN -1
#define PS_ON_PIN 4 #define PS_ON_PIN 4
#endif #endif
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -104,44 +104,44 @@
// //
// orange/white SDCD // orange/white SDCD
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
// white ENCA // white ENCA
#define BTN_EN1 35 #define BTN_EN1 35
// green ENCB // green ENCB
#define BTN_EN2 37 #define BTN_EN2 37
// purple ENCBTN // purple ENCBTN
#define BTN_ENC 31 #define BTN_ENC 31
// brown A0 // brown A0
#define DOGLCD_A0 27 #define DOGLCD_A0 27
// green/white LCS // green/white LCS
#define DOGLCD_CS 29 #define DOGLCD_CS 29
// 50 gray MISO // 50 gray MISO
// 51 yellow MOSI // 51 yellow MOSI
// 52 orange SCK // 52 orange SCK
// blue SDCS // blue SDCS
//#define SDSS 53 //#define SDSS 53
// //
// VIKI2 4-wire lead // VIKI2 4-wire lead
// //
// blue BTN // blue BTN
#define KILL_PIN 23 #define KILL_PIN 23
// green BUZZER // green BUZZER
#define BEEPER_PIN 25 #define BEEPER_PIN 25
// yellow RED-LED // yellow RED-LED
#define STAT_LED_RED_PIN 16 #define STAT_LED_RED_PIN 16
// white BLUE-LED // white BLUE-LED
#define STAT_LED_BLUE_PIN 17 #define STAT_LED_BLUE_PIN 17
#endif #endif

View file

@ -35,7 +35,7 @@
// Heaters / Fans // Heaters / Fans
// //
// Power outputs EFBF or EFBE // Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
// //
// CS Pins wired to avoid conflict with the LCD // CS Pins wired to avoid conflict with the LCD
@ -43,47 +43,47 @@
// //
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 63 #define X_CS_PIN 63
#endif #endif
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 64 #define Y_CS_PIN 64
#endif #endif
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 65 #define Z_CS_PIN 65
#endif #endif
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 66 #define E0_CS_PIN 66
#endif #endif
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 21 #define E1_CS_PIN 21
#endif #endif
// TMC2130 Diag Pins (currently just for reference) // TMC2130 Diag Pins (currently just for reference)
#define X_DIAG_PIN 3 #define X_DIAG_PIN 3
#define Y_DIAG_PIN 14 #define Y_DIAG_PIN 14
#define Z_DIAG_PIN 18 #define Z_DIAG_PIN 18
#define E0_DIAG_PIN 2 #define E0_DIAG_PIN 2
#define E1_DIAG_PIN 15 #define E1_DIAG_PIN 15
#ifndef SERVO1_PIN #ifndef SERVO1_PIN
#define SERVO1_PIN 12 #define SERVO1_PIN 12
#endif #endif
#ifndef SERVO2_PIN #ifndef SERVO2_PIN
#define SERVO2_PIN 39 #define SERVO2_PIN 39
#endif #endif
#ifndef SERVO3_PIN #ifndef SERVO3_PIN
#define SERVO3_PIN 32 #define SERVO3_PIN 32
#endif #endif
#ifndef E1_SERIAL_TX_PIN #ifndef E1_SERIAL_TX_PIN
#define E1_SERIAL_TX_PIN 20 #define E1_SERIAL_TX_PIN 20
#endif #endif
#ifndef E1_SERIAL_RX_PIN #ifndef E1_SERIAL_RX_PIN
#define E1_SERIAL_RX_PIN 21 #define E1_SERIAL_RX_PIN 21
#endif #endif
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View file

@ -66,19 +66,19 @@
// //
#ifndef SERVO0_PIN #ifndef SERVO0_PIN
#ifdef IS_RAMPS_13 #ifdef IS_RAMPS_13
#define SERVO0_PIN 7 #define SERVO0_PIN 7
#else #else
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#endif #endif
#endif #endif
#ifndef SERVO1_PIN #ifndef SERVO1_PIN
#define SERVO1_PIN 6 #define SERVO1_PIN 6
#endif #endif
#ifndef SERVO2_PIN #ifndef SERVO2_PIN
#define SERVO2_PIN 5 #define SERVO2_PIN 5
#endif #endif
#ifndef SERVO3_PIN #ifndef SERVO3_PIN
#define SERVO3_PIN 4 #define SERVO3_PIN 4
#endif #endif
// //
@ -86,26 +86,26 @@
// //
#ifndef X_STOP_PIN #ifndef X_STOP_PIN
#ifndef X_MIN_PIN #ifndef X_MIN_PIN
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#endif #endif
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#endif #endif
#ifndef Y_STOP_PIN #ifndef Y_STOP_PIN
#ifndef Y_MIN_PIN #ifndef Y_MIN_PIN
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#endif #endif
#ifndef Y_MAX_PIN #ifndef Y_MAX_PIN
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#endif #endif
#endif #endif
#ifndef Z_STOP_PIN #ifndef Z_STOP_PIN
#ifndef Z_MIN_PIN #ifndef Z_MIN_PIN
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#endif #endif
#ifndef Z_MAX_PIN #ifndef Z_MAX_PIN
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
#endif #endif
#endif #endif
@ -113,67 +113,67 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 53 #define X_CS_PIN 53
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 49 #define Y_CS_PIN 49
#endif #endif
#ifndef Z_STEP_PIN #ifndef Z_STEP_PIN
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#endif #endif
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 40 #define Z_CS_PIN 40
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 42 #define E0_CS_PIN 42
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 44 #define E1_CS_PIN 44
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
#ifndef TEMP_0_PIN #ifndef TEMP_0_PIN
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#endif #endif
#ifndef TEMP_1_PIN #ifndef TEMP_1_PIN
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#endif #endif
#ifndef TEMP_BED_PIN #ifndef TEMP_BED_PIN
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
#endif #endif
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
@ -197,74 +197,74 @@
// Heaters / Fans // Heaters / Fans
// //
#ifndef MOSFET_D_PIN #ifndef MOSFET_D_PIN
#define MOSFET_D_PIN -1 #define MOSFET_D_PIN -1
#endif #endif
#ifndef RAMPS_D8_PIN #ifndef RAMPS_D8_PIN
#define RAMPS_D8_PIN 8 #define RAMPS_D8_PIN 8
#endif #endif
#ifndef RAMPS_D9_PIN #ifndef RAMPS_D9_PIN
#define RAMPS_D9_PIN 9 #define RAMPS_D9_PIN 9
#endif #endif
#ifndef RAMPS_D10_PIN #ifndef RAMPS_D10_PIN
#define RAMPS_D10_PIN 10 #define RAMPS_D10_PIN 10
#endif #endif
#define HEATER_0_PIN RAMPS_D10_PIN #define HEATER_0_PIN RAMPS_D10_PIN
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed #if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan #elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
#define HEATER_1_PIN RAMPS_D9_PIN #define HEATER_1_PIN RAMPS_D9_PIN
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define HEATER_1_PIN RAMPS_D9_PIN #define HEATER_1_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan #elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
#define FAN1_PIN RAMPS_D8_PIN #define FAN1_PIN RAMPS_D8_PIN
#elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE") #elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#if HOTENDS == 1 #if HOTENDS == 1
#define FAN1_PIN MOSFET_D_PIN #define FAN1_PIN MOSFET_D_PIN
#else #else
#define HEATER_1_PIN MOSFET_D_PIN #define HEATER_1_PIN MOSFET_D_PIN
#endif #endif
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#if EITHER(IS_RAMPS_EFB, IS_RAMPS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan #if EITHER(IS_RAMPS_EFB, IS_RAMPS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#elif EITHER(IS_RAMPS_EEF, IS_RAMPS_SF) // Hotend, Hotend, Fan or Spindle, Fan #elif EITHER(IS_RAMPS_EEF, IS_RAMPS_SF) // Hotend, Hotend, Fan or Spindle, Fan
#define FAN_PIN RAMPS_D8_PIN #define FAN_PIN RAMPS_D8_PIN
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
#define FAN_PIN 4 // IO pin. Buffer needed #define FAN_PIN 4 // IO pin. Buffer needed
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE") #else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#endif #endif
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 5 // Analog Input on AUX2 #define FILWIDTH_PIN 5 // Analog Input on AUX2
#endif #endif
// RAMPS 1.4 DIO 4 on the servos connector // RAMPS 1.4 DIO 4 on the servos connector
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 4 #define FIL_RUNOUT_PIN 4
#endif #endif
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
#if NUM_SERVOS <= 1 // Prefer the servo connector #if NUM_SERVOS <= 1 // Prefer the servo connector
#define CASE_LIGHT_PIN 6 // Hardware PWM #define CASE_LIGHT_PIN 6 // Hardware PWM
#elif HAS_FREE_AUX2_PINS #elif HAS_FREE_AUX2_PINS
#define CASE_LIGHT_PIN 44 // Hardware PWM #define CASE_LIGHT_PIN 44 // Hardware PWM
#endif #endif
#endif #endif
@ -272,14 +272,14 @@
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER && !defined(SPINDLE_LASER_ENA_PIN) #if HAS_CUTTER && !defined(SPINDLE_LASER_ENA_PIN)
#if !NUM_SERVOS // Use servo connector if possible #if !NUM_SERVOS // Use servo connector if possible
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
#define SPINDLE_DIR_PIN 5 #define SPINDLE_DIR_PIN 5
#elif HAS_FREE_AUX2_PINS #elif HAS_FREE_AUX2_PINS
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_DIR_PIN 65 #define SPINDLE_DIR_PIN 65
#else #else
#error "No auto-assignable Spindle/Laser pins available." #error "No auto-assignable Spindle/Laser pins available."
#endif #endif
@ -290,13 +290,13 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI 66 #define TMC_SW_MOSI 66
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO 44 #define TMC_SW_MISO 44
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK 64 #define TMC_SW_SCK 64
#endif #endif
#endif #endif
@ -307,11 +307,11 @@
* Hardware serial communication ports. * Hardware serial communication ports.
* If undefined software serial is used according to the pins below * If undefined software serial is used according to the pins below
*/ */
//#define X_HARDWARE_SERIAL Serial1 //#define X_HARDWARE_SERIAL Serial1
//#define X2_HARDWARE_SERIAL Serial1 //#define X2_HARDWARE_SERIAL Serial1
//#define Y_HARDWARE_SERIAL Serial1 //#define Y_HARDWARE_SERIAL Serial1
//#define Y2_HARDWARE_SERIAL Serial1 //#define Y2_HARDWARE_SERIAL Serial1
//#define Z_HARDWARE_SERIAL Serial1 //#define Z_HARDWARE_SERIAL Serial1
//#define Z2_HARDWARE_SERIAL Serial1 //#define Z2_HARDWARE_SERIAL Serial1
//#define E0_HARDWARE_SERIAL Serial1 //#define E0_HARDWARE_SERIAL Serial1
//#define E1_HARDWARE_SERIAL Serial1 //#define E1_HARDWARE_SERIAL Serial1
@ -324,91 +324,91 @@
// //
#ifndef X_SERIAL_TX_PIN #ifndef X_SERIAL_TX_PIN
#define X_SERIAL_TX_PIN 40 #define X_SERIAL_TX_PIN 40
#endif #endif
#ifndef X_SERIAL_RX_PIN #ifndef X_SERIAL_RX_PIN
#define X_SERIAL_RX_PIN 63 #define X_SERIAL_RX_PIN 63
#endif #endif
#ifndef X2_SERIAL_TX_PIN #ifndef X2_SERIAL_TX_PIN
#define X2_SERIAL_TX_PIN -1 #define X2_SERIAL_TX_PIN -1
#endif #endif
#ifndef X2_SERIAL_RX_PIN #ifndef X2_SERIAL_RX_PIN
#define X2_SERIAL_RX_PIN -1 #define X2_SERIAL_RX_PIN -1
#endif #endif
#ifndef Y_SERIAL_TX_PIN #ifndef Y_SERIAL_TX_PIN
#define Y_SERIAL_TX_PIN 59 #define Y_SERIAL_TX_PIN 59
#endif #endif
#ifndef Y_SERIAL_RX_PIN #ifndef Y_SERIAL_RX_PIN
#define Y_SERIAL_RX_PIN 64 #define Y_SERIAL_RX_PIN 64
#endif #endif
#ifndef Y2_SERIAL_TX_PIN #ifndef Y2_SERIAL_TX_PIN
#define Y2_SERIAL_TX_PIN -1 #define Y2_SERIAL_TX_PIN -1
#endif #endif
#ifndef Y2_SERIAL_RX_PIN #ifndef Y2_SERIAL_RX_PIN
#define Y2_SERIAL_RX_PIN -1 #define Y2_SERIAL_RX_PIN -1
#endif #endif
#ifndef Z_SERIAL_TX_PIN #ifndef Z_SERIAL_TX_PIN
#define Z_SERIAL_TX_PIN 42 #define Z_SERIAL_TX_PIN 42
#endif #endif
#ifndef Z_SERIAL_RX_PIN #ifndef Z_SERIAL_RX_PIN
#define Z_SERIAL_RX_PIN 65 #define Z_SERIAL_RX_PIN 65
#endif #endif
#ifndef Z2_SERIAL_TX_PIN #ifndef Z2_SERIAL_TX_PIN
#define Z2_SERIAL_TX_PIN -1 #define Z2_SERIAL_TX_PIN -1
#endif #endif
#ifndef Z2_SERIAL_RX_PIN #ifndef Z2_SERIAL_RX_PIN
#define Z2_SERIAL_RX_PIN -1 #define Z2_SERIAL_RX_PIN -1
#endif #endif
#ifndef E0_SERIAL_TX_PIN #ifndef E0_SERIAL_TX_PIN
#define E0_SERIAL_TX_PIN 44 #define E0_SERIAL_TX_PIN 44
#endif #endif
#ifndef E0_SERIAL_RX_PIN #ifndef E0_SERIAL_RX_PIN
#define E0_SERIAL_RX_PIN 66 #define E0_SERIAL_RX_PIN 66
#endif #endif
#ifndef E1_SERIAL_TX_PIN #ifndef E1_SERIAL_TX_PIN
#define E1_SERIAL_TX_PIN -1 #define E1_SERIAL_TX_PIN -1
#endif #endif
#ifndef E1_SERIAL_RX_PIN #ifndef E1_SERIAL_RX_PIN
#define E1_SERIAL_RX_PIN -1 #define E1_SERIAL_RX_PIN -1
#endif #endif
#ifndef E2_SERIAL_TX_PIN #ifndef E2_SERIAL_TX_PIN
#define E2_SERIAL_TX_PIN -1 #define E2_SERIAL_TX_PIN -1
#endif #endif
#ifndef E2_SERIAL_RX_PIN #ifndef E2_SERIAL_RX_PIN
#define E2_SERIAL_RX_PIN -1 #define E2_SERIAL_RX_PIN -1
#endif #endif
#ifndef E3_SERIAL_TX_PIN #ifndef E3_SERIAL_TX_PIN
#define E3_SERIAL_TX_PIN -1 #define E3_SERIAL_TX_PIN -1
#endif #endif
#ifndef E3_SERIAL_RX_PIN #ifndef E3_SERIAL_RX_PIN
#define E3_SERIAL_RX_PIN -1 #define E3_SERIAL_RX_PIN -1
#endif #endif
#ifndef E4_SERIAL_TX_PIN #ifndef E4_SERIAL_TX_PIN
#define E4_SERIAL_TX_PIN -1 #define E4_SERIAL_TX_PIN -1
#endif #endif
#ifndef E4_SERIAL_RX_PIN #ifndef E4_SERIAL_RX_PIN
#define E4_SERIAL_RX_PIN -1 #define E4_SERIAL_RX_PIN -1
#endif #endif
#ifndef E5_SERIAL_TX_PIN #ifndef E5_SERIAL_TX_PIN
#define E5_SERIAL_TX_PIN -1 #define E5_SERIAL_TX_PIN -1
#endif #endif
#ifndef E5_SERIAL_RX_PIN #ifndef E5_SERIAL_RX_PIN
#define E5_SERIAL_RX_PIN -1 #define E5_SERIAL_RX_PIN -1
#endif #endif
#ifndef E6_SERIAL_TX_PIN #ifndef E6_SERIAL_TX_PIN
#define E6_SERIAL_TX_PIN -1 #define E6_SERIAL_TX_PIN -1
#endif #endif
#ifndef E6_SERIAL_RX_PIN #ifndef E6_SERIAL_RX_PIN
#define E6_SERIAL_RX_PIN -1 #define E6_SERIAL_RX_PIN -1
#endif #endif
#ifndef E7_SERIAL_TX_PIN #ifndef E7_SERIAL_TX_PIN
#define E7_SERIAL_TX_PIN -1 #define E7_SERIAL_TX_PIN -1
#endif #endif
#ifndef E7_SERIAL_RX_PIN #ifndef E7_SERIAL_RX_PIN
#define E7_SERIAL_RX_PIN -1 #define E7_SERIAL_RX_PIN -1
#endif #endif
#endif #endif
@ -416,13 +416,13 @@
// Průša i3 MK2 Multiplexer Support // Průša i3 MK2 Multiplexer Support
// //
#ifndef E_MUX0_PIN #ifndef E_MUX0_PIN
#define E_MUX0_PIN 40 // Z_CS_PIN #define E_MUX0_PIN 40 // Z_CS_PIN
#endif #endif
#ifndef E_MUX1_PIN #ifndef E_MUX1_PIN
#define E_MUX1_PIN 42 // E0_CS_PIN #define E_MUX1_PIN 42 // E0_CS_PIN
#endif #endif
#ifndef E_MUX2_PIN #ifndef E_MUX2_PIN
#define E_MUX2_PIN 44 // E1_CS_PIN #define E_MUX2_PIN 44 // E1_CS_PIN
#endif #endif
////////////////////////// //////////////////////////
@ -436,62 +436,62 @@
// //
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#elif BOTH(NEWPANEL, PANEL_ONE) #elif BOTH(NEWPANEL, PANEL_ONE)
#define LCD_PINS_RS 40 #define LCD_PINS_RS 40
#define LCD_PINS_ENABLE 42 #define LCD_PINS_ENABLE 42
#define LCD_PINS_D4 65 #define LCD_PINS_D4 65
#define LCD_PINS_D5 66 #define LCD_PINS_D5 66
#define LCD_PINS_D6 44 #define LCD_PINS_D6 44
#define LCD_PINS_D7 64 #define LCD_PINS_D7 64
#else #else
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS 27 #define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 29 #define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 25 #define LCD_PINS_D4 25
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#endif #endif
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#define LCD_PINS_RS 64 #define LCD_PINS_RS 64
#define LCD_PINS_ENABLE 44 #define LCD_PINS_ENABLE 44
#define LCD_PINS_D4 63 #define LCD_PINS_D4 63
#define LCD_PINS_D5 40 #define LCD_PINS_D5 40
#define LCD_PINS_D6 42 #define LCD_PINS_D6 42
#define LCD_PINS_D7 65 #define LCD_PINS_D7 65
#else #else
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306) #if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 25 // Set as output on init #define LCD_PINS_DC 25 // Set as output on init
#define LCD_PINS_RS 27 // Pull low for 1s to init #define LCD_PINS_RS 27 // Pull low for 1s to init
// DOGM SPI LCD Support // DOGM SPI LCD Support
#define DOGLCD_CS 16 #define DOGLCD_CS 16
#define DOGLCD_MOSI 17 #define DOGLCD_MOSI 17
#define DOGLCD_SCK 23 #define DOGLCD_SCK 23
#define DOGLCD_A0 LCD_PINS_DC #define DOGLCD_A0 LCD_PINS_DC
#else #else
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#endif #endif
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#endif #endif
#endif #endif
@ -499,10 +499,10 @@
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#endif #endif
#endif #endif
@ -514,99 +514,99 @@
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define BTN_EN1 17 #define BTN_EN1 17
#define BTN_EN2 23 #define BTN_EN2 23
#else #else
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#endif #endif
#define BTN_ENC 35 #define BTN_ENC 35
#ifndef SD_DETECT_PIN #ifndef SD_DETECT_PIN
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#endif #endif
#ifndef KILL_PIN #ifndef KILL_PIN
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#if ENABLED(BQ_LCD_SMART_CONTROLLER) #if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39 #define LCD_BACKLIGHT_PIN 39
#endif #endif
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SD_DETECT_PIN 42 #define SD_DETECT_PIN 42
#elif ENABLED(LCD_I2C_PANELOLU2) #elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 43 #define BTN_EN2 43
#define BTN_ENC 32 #define BTN_ENC 32
#define LCD_SDSS SDSS #define LCD_SDSS SDSS
#define KILL_PIN 41 #define KILL_PIN 41
#elif ENABLED(LCD_I2C_VIKI) #elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42. #define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 42 #define BTN_EN2 42
#define BTN_ENC -1 #define BTN_ENC -1
#define LCD_SDSS SDSS #define LCD_SDSS SDSS
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#elif ANY(VIKI2, miniVIKI) #elif ANY(VIKI2, miniVIKI)
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#define BTN_EN1 22 #define BTN_EN1 22
#define BTN_EN2 7 #define BTN_EN2 7
#define BTN_ENC 39 #define BTN_ENC 39
#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board #define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
#define KILL_PIN 31 #define KILL_PIN 31
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define BEEPER_PIN 23 #define BEEPER_PIN 23
#define LCD_BACKLIGHT_PIN 33 #define LCD_BACKLIGHT_PIN 33
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 37 #define BTN_EN2 37
#define BTN_ENC 31 #define BTN_ENC 31
#define LCD_SDSS SDSS #define LCD_SDSS SDSS
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864) #elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#ifndef KILL_PIN #ifndef KILL_PIN
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#if ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6 #if ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define DOGLCD_CS 25 #define DOGLCD_CS 25
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
@ -615,50 +615,50 @@
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
// not connected to a pin // not connected to a pin
#define LCD_BACKLIGHT_PIN -1 // 65 (MKS mini12864 can't adjust backlight by software!) #define LCD_BACKLIGHT_PIN -1 // 65 (MKS mini12864 can't adjust backlight by software!)
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#elif ENABLED(FYSETC_MINI_12864) #elif ENABLED(FYSETC_MINI_12864)
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8 // From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
#define DOGLCD_A0 16 #define DOGLCD_A0 16
#define DOGLCD_CS 17 #define DOGLCD_CS 17
#define BTN_EN1 33 #define BTN_EN1 33
#define BTN_EN2 31 #define BTN_EN2 31
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN 25 #define RGB_LED_R_PIN 25
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN 27 #define RGB_LED_G_PIN 27
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN 29 #define RGB_LED_B_PIN 29
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN 25 #define NEOPIXEL_PIN 25
#endif #endif
#endif #endif
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BEEPER_PIN 42 #define BEEPER_PIN 42
// not connected to a pin // not connected to a pin
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 66 #define DOGLCD_CS 66
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
@ -666,16 +666,16 @@
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 63 #define BTN_EN2 63
#define BTN_ENC 59 #define BTN_ENC 59
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 64 #define KILL_PIN 64
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#define ADC_KEYPAD_PIN 12 #define ADC_KEYPAD_PIN 12
#elif ENABLED(AZSMZ_12864) #elif ENABLED(AZSMZ_12864)
@ -684,22 +684,22 @@
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons are directly attached to AUX-2 // Buttons are directly attached to AUX-2
#if ENABLED(PANEL_ONE) #if ENABLED(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3 #define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4 #define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7 #define BTN_ENC 49 // AUX3 PIN 7
#else #else
#define BTN_EN1 37 #define BTN_EN1 37
#define BTN_EN2 35 #define BTN_EN2 35
#define BTN_ENC 31 #define BTN_ENC 31
#endif #endif
#if ENABLED(G3D_PANEL) #if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#endif #endif
@ -708,16 +708,16 @@
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_CLK 44 #define SHIFT_CLK 44
#define SHIFT_LD 42 #define SHIFT_LD 42
#ifndef BTN_EN1 #ifndef BTN_EN1
#define BTN_EN1 64 #define BTN_EN1 64
#endif #endif
#ifndef BTN_EN2 #ifndef BTN_EN2
#define BTN_EN2 59 #define BTN_EN2 59
#endif #endif
#ifndef BTN_ENC #ifndef BTN_ENC
#define BTN_ENC 63 #define BTN_ENC 63
#endif #endif
#endif #endif

View file

@ -32,31 +32,31 @@
// //
// Power outputs EFBF or EFBE // Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
#define FIL_RUNOUT_PIN 2 #define FIL_RUNOUT_PIN 2
#if NUM_RUNOUT_SENSORS > 1 #if NUM_RUNOUT_SENSORS > 1
#define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors
#endif #endif
#define SD_DETECT_PIN 49 // Always define onboard SD detect #define SD_DETECT_PIN 49 // Always define onboard SD detect
#define PS_ON_PIN 40 // Used by CR2020 Industrial series #define PS_ON_PIN 40 // Used by CR2020 Industrial series
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN)
#define CASE_LIGHT_PIN 65 #define CASE_LIGHT_PIN 65
#endif #endif
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
#ifndef BEEPER_PIN #ifndef BEEPER_PIN
#define BEEPER_PIN 37 // Always define beeper pin so Play Tone works with ExtUI #define BEEPER_PIN 37 // Always define beeper pin so Play Tone works with ExtUI
#endif #endif
#define EXP1_PIN 65 // A11 - Used by CR2020 Industrial series for case #define EXP1_PIN 65 // A11 - Used by CR2020 Industrial series for case
#define EXP2_PIN 66 // A12 #define EXP2_PIN 66 // A12
#define EXP3_PIN 11 // SERVO0_PIN #define EXP3_PIN 11 // SERVO0_PIN
#define EXP4_PIN 12 // PS_ON_PIN #define EXP4_PIN 12 // PS_ON_PIN
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series #define SUICIDE_PIN 12 // Used by CR2020 Industrial series
#define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series #define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series

View file

@ -27,12 +27,12 @@
#define BOARD_INFO_NAME "Dagoma3D F5 RAMPS" #define BOARD_INFO_NAME "Dagoma3D F5 RAMPS"
#define X_STOP_PIN 2 #define X_STOP_PIN 2
#define Y_STOP_PIN 3 #define Y_STOP_PIN 3
#define Z_STOP_PIN 15 #define Z_STOP_PIN 15
#define FIL_RUNOUT_PIN 39 #define FIL_RUNOUT_PIN 39
#define ORIG_E0_AUTO_FAN_PIN 7 #define ORIG_E0_AUTO_FAN_PIN 7
// //
// Import RAMPS 1.4 pins // Import RAMPS 1.4 pins

View file

@ -37,80 +37,80 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#define Y_MIN_PIN 16 #define Y_MIN_PIN 16
#define Y_MAX_PIN 17 #define Y_MAX_PIN 17
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 19 #define Z_MIN_PROBE_PIN 19
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 26 #define X_STEP_PIN 26
#define X_DIR_PIN 28 #define X_DIR_PIN 28
#define X_ENABLE_PIN 24 #define X_ENABLE_PIN 24
#define Y_STEP_PIN 38 #define Y_STEP_PIN 38
#define Y_DIR_PIN 40 #define Y_DIR_PIN 40
#define Y_ENABLE_PIN 36 #define Y_ENABLE_PIN 36
#define Z_STEP_PIN 44 #define Z_STEP_PIN 44
#define Z_DIR_PIN 46 #define Z_DIR_PIN 46
#define Z_ENABLE_PIN 42 #define Z_ENABLE_PIN 42
#define E0_STEP_PIN 32 #define E0_STEP_PIN 32
#define E0_DIR_PIN 34 #define E0_DIR_PIN 34
#define E0_ENABLE_PIN 30 #define E0_ENABLE_PIN 30
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 2 // Analog Input #define TEMP_0_PIN 2 // Analog Input
#define TEMP_BED_PIN 1 // Analog Input #define TEMP_BED_PIN 1 // Analog Input
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
#else #else
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#if ENABLED(RAMPS_V_1_0) #if ENABLED(RAMPS_V_1_0)
#define HEATER_0_PIN 12 #define HEATER_0_PIN 12
#define HEATER_BED_PIN -1 #define HEATER_BED_PIN -1
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 11 #define FAN_PIN 11
#endif #endif
#else // RAMPS_V_1_1 or RAMPS_V_1_2 #else // RAMPS_V_1_1 or RAMPS_V_1_2
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 9 #define FAN_PIN 9
#endif #endif
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDPOWER_PIN 48 #define SDPOWER_PIN 48
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define CASE_LIGHT_PIN 45 // Hardware PWM #define CASE_LIGHT_PIN 45 // Hardware PWM
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_ENA_PIN 41 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 41 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
#define SPINDLE_DIR_PIN 43 #define SPINDLE_DIR_PIN 43

View file

@ -44,8 +44,8 @@
#define BOARD_INFO_NAME "RAMPS 1.4 Plus" #define BOARD_INFO_NAME "RAMPS 1.4 Plus"
#define RAMPS_D8_PIN 10 #define RAMPS_D8_PIN 10
#define RAMPS_D10_PIN 8 #define RAMPS_D10_PIN 8
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -60,13 +60,13 @@
#undef E1_DIR_PIN #undef E1_DIR_PIN
#undef E1_ENABLE_PIN #undef E1_ENABLE_PIN
#define E0_STEP_PIN 36 #define E0_STEP_PIN 36
#define E0_DIR_PIN 34 #define E0_DIR_PIN 34
#define E0_ENABLE_PIN 30 #define E0_ENABLE_PIN 30
#define E1_STEP_PIN 26 #define E1_STEP_PIN 26
#define E1_DIR_PIN 28 #define E1_DIR_PIN 28
#define E1_ENABLE_PIN 24 #define E1_ENABLE_PIN 24
#undef X_CS_PIN #undef X_CS_PIN
#undef Y_CS_PIN #undef Y_CS_PIN
@ -77,10 +77,10 @@
#if ENABLED(ULTRA_LCD, REPRAPWORLD_GRAPHICAL_LCD, CR10_STOCKDISPLAY) && !BOTH(NEWPANEL, PANEL_ONE) #if ENABLED(ULTRA_LCD, REPRAPWORLD_GRAPHICAL_LCD, CR10_STOCKDISPLAY) && !BOTH(NEWPANEL, PANEL_ONE)
#if DISABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306) #if DISABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
#undef LCD_PINS_RS #undef LCD_PINS_RS
#define LCD_PINS_RS 42 // 3DYMY boards pin 16 -> 42 #define LCD_PINS_RS 42 // 3DYMY boards pin 16 -> 42
#undef LCD_PINS_ENABLE #undef LCD_PINS_ENABLE
#define LCD_PINS_ENABLE 44 // 3DYMY boards pin 17 -> 44 #define LCD_PINS_ENABLE 44 // 3DYMY boards pin 17 -> 44
#endif #endif
#undef LCD_PINS_D7 #undef LCD_PINS_D7
#define LCD_PINS_D7 53 // 3DYMY boards pin 29 -> 53 #define LCD_PINS_D7 53 // 3DYMY boards pin 29 -> 53
#endif #endif

View file

@ -33,15 +33,15 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 19 // Z-MAX pin J14 End Stops #define Z_MIN_PROBE_PIN 19 // Z-MAX pin J14 End Stops
#endif #endif
// //
// MOSFET changes // MOSFET changes
// //
#define RAMPS_D9_PIN 8 // FAN (by default) #define RAMPS_D9_PIN 8 // FAN (by default)
#define RAMPS_D10_PIN 9 // EXTRUDER 1 #define RAMPS_D10_PIN 9 // EXTRUDER 1
#define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN #define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -52,18 +52,18 @@
#undef E0_STEP_PIN #undef E0_STEP_PIN
#undef E0_DIR_PIN #undef E0_DIR_PIN
#undef E0_ENABLE_PIN #undef E0_ENABLE_PIN
#define E0_STEP_PIN 36 #define E0_STEP_PIN 36
#define E0_DIR_PIN 34 #define E0_DIR_PIN 34
#define E0_ENABLE_PIN 30 #define E0_ENABLE_PIN 30
#undef E1_STEP_PIN #undef E1_STEP_PIN
#undef E1_DIR_PIN #undef E1_DIR_PIN
#undef E1_ENABLE_PIN #undef E1_ENABLE_PIN
#define E1_STEP_PIN 26 #define E1_STEP_PIN 26
#define E1_DIR_PIN 28 #define E1_DIR_PIN 28
#define E1_ENABLE_PIN 24 #define E1_ENABLE_PIN 24
#define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot #define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot
// //
// Temperature Sensors // Temperature Sensors
@ -71,33 +71,33 @@
#undef TEMP_0_PIN #undef TEMP_0_PIN
#undef TEMP_1_PIN #undef TEMP_1_PIN
#undef TEMP_BED_PIN #undef TEMP_BED_PIN
#define TEMP_0_PIN 14 // Analog Input #define TEMP_0_PIN 14 // Analog Input
#define TEMP_1_PIN 13 // Analog Input #define TEMP_1_PIN 13 // Analog Input
#define TEMP_BED_PIN 15 // Analog Input #define TEMP_BED_PIN 15 // Analog Input
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#undef MAX6675_SS_PIN #undef MAX6675_SS_PIN
#if DISABLED(SDSUPPORT) #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 MAX6675_SS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
#else #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 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
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#undef HEATER_BED_PIN #undef HEATER_BED_PIN
#define HEATER_BED_PIN 10 #define HEATER_BED_PIN 10
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 // Same as RAMPS_13_EEF #define FAN_PIN 8 // Same as RAMPS_13_EEF
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#undef PS_ON_PIN #undef PS_ON_PIN
#define PS_ON_PIN -1 #define PS_ON_PIN -1
// //
// LCD / Controller // LCD / Controller
@ -106,33 +106,33 @@
#if ENABLED(RIGIDBOT_PANEL) #if ENABLED(RIGIDBOT_PANEL)
#undef BEEPER_PIN #undef BEEPER_PIN
#define BEEPER_PIN -1 #define BEEPER_PIN -1
// Direction buttons // Direction buttons
#define BTN_UP 37 #define BTN_UP 37
#define BTN_DWN 35 #define BTN_DWN 35
#define BTN_LFT 33 #define BTN_LFT 33
#define BTN_RT 32 #define BTN_RT 32
// 'R' button // 'R' button
#undef BTN_ENC #undef BTN_ENC
#define BTN_ENC 31 #define BTN_ENC 31
// Disable encoder // Disable encoder
#undef BTN_EN1 #undef BTN_EN1
#define BTN_EN1 -1 #define BTN_EN1 -1
#undef BTN_EN2 #undef BTN_EN2
#define BTN_EN2 -1 #define BTN_EN2 -1
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SD_DETECT_PIN 22 #define SD_DETECT_PIN 22
#elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#undef SD_DETECT_PIN #undef SD_DETECT_PIN
#define SD_DETECT_PIN 22 #define SD_DETECT_PIN 22
#undef KILL_PIN #undef KILL_PIN
#define KILL_PIN 32 #define KILL_PIN 32
#endif #endif

View file

@ -40,12 +40,12 @@
#define DAC_STEPPER_ORDER { 0, 1, 2, 3 } #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
#define DAC_STEPPER_SENSE 0.05 // sense resistors on rigidboard stepper chips are .05 value #define DAC_STEPPER_SENSE 0.05 // sense resistors on rigidboard stepper chips are .05 value
#define DAC_STEPPER_ADDRESS 0 #define DAC_STEPPER_ADDRESS 0
#define DAC_STEPPER_MAX 4096 // was 5000 but max allowable value is actually 4096 #define DAC_STEPPER_MAX 4096 // was 5000 but max allowable value is actually 4096
#define DAC_STEPPER_VREF 1 // internal Vref, gain 2x = 4.096V #define DAC_STEPPER_VREF 1 // internal Vref, gain 2x = 4.096V
#define DAC_STEPPER_GAIN 1 // value of 1 here sets gain of 2 #define DAC_STEPPER_GAIN 1 // value of 1 here sets gain of 2
#define DAC_DISABLE_PIN 42 // set low to enable DAC #define DAC_DISABLE_PIN 42 // set low to enable DAC
#define DAC_OR_ADDRESS 0x01 #define DAC_OR_ADDRESS 0x01
#ifndef DAC_MOTOR_CURRENT_DEFAULT #ifndef DAC_MOTOR_CURRENT_DEFAULT
#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis #define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis

View file

@ -37,16 +37,16 @@
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200." #error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
#endif #endif
#define E0_STEP_PIN 26 // (RUMBA E1 pins) #define E0_STEP_PIN 26 // (RUMBA E1 pins)
#define E0_DIR_PIN 25 #define E0_DIR_PIN 25
#define E0_ENABLE_PIN 27 #define E0_ENABLE_PIN 27
#define E1_STEP_PIN 29 // (RUMBA E2 pins) #define E1_STEP_PIN 29 // (RUMBA E2 pins)
#define E1_DIR_PIN 28 #define E1_DIR_PIN 28
#define E1_ENABLE_PIN 39 #define E1_ENABLE_PIN 39
#define Z2_STEP_PIN 23 // (RUMBA E0 pins) #define Z2_STEP_PIN 23 // (RUMBA E0 pins)
#define Z2_DIR_PIN 22 #define Z2_DIR_PIN 22
#define Z2_ENABLE_PIN 24 #define Z2_ENABLE_PIN 24
#include "pins_RUMBA.h" #include "pins_RUMBA.h"

View file

@ -41,56 +41,56 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 5 #define SERVO0_PIN 5
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 37 #define X_MIN_PIN 37
#define X_MAX_PIN 36 #define X_MAX_PIN 36
#define Y_MIN_PIN 35 #define Y_MIN_PIN 35
#define Y_MAX_PIN 34 #define Y_MAX_PIN 34
#define Z_MIN_PIN 33 #define Z_MIN_PIN 33
#define Z_MAX_PIN 32 #define Z_MAX_PIN 32
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 17 #define X_STEP_PIN 17
#define X_DIR_PIN 16 #define X_DIR_PIN 16
#define X_ENABLE_PIN 48 #define X_ENABLE_PIN 48
#define Y_STEP_PIN 54 #define Y_STEP_PIN 54
#define Y_DIR_PIN 47 #define Y_DIR_PIN 47
#define Y_ENABLE_PIN 55 #define Y_ENABLE_PIN 55
#define Z_STEP_PIN 57 #define Z_STEP_PIN 57
#define Z_DIR_PIN 56 #define Z_DIR_PIN 56
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef E0_STEP_PIN #ifndef E0_STEP_PIN
#define E0_STEP_PIN 23 #define E0_STEP_PIN 23
#define E0_DIR_PIN 22 #define E0_DIR_PIN 22
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#endif #endif
#ifndef E1_STEP_PIN #ifndef E1_STEP_PIN
#define E1_STEP_PIN 26 #define E1_STEP_PIN 26
#define E1_DIR_PIN 25 #define E1_DIR_PIN 25
#define E1_ENABLE_PIN 27 #define E1_ENABLE_PIN 27
#endif #endif
#if E1_STEP_PIN != 29 #if E1_STEP_PIN != 29
#define E2_STEP_PIN 29 #define E2_STEP_PIN 29
#define E2_DIR_PIN 28 #define E2_DIR_PIN 28
#define E2_ENABLE_PIN 39 #define E2_ENABLE_PIN 39
#endif #endif
// //
@ -98,134 +98,134 @@
// //
#ifndef TEMP_0_PIN #ifndef TEMP_0_PIN
#if TEMP_SENSOR_0 == -1 #if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 6 // Analog Input (connector *K1* on RUMBA thermocouple ADD ON is used) #define TEMP_0_PIN 6 // Analog Input (connector *K1* on RUMBA thermocouple ADD ON is used)
#else #else
#define TEMP_0_PIN 15 // Analog Input (default connector for thermistor *T0* on rumba board is used) #define TEMP_0_PIN 15 // Analog Input (default connector for thermistor *T0* on rumba board is used)
#endif #endif
#endif #endif
#ifndef TEMP_1_PIN #ifndef TEMP_1_PIN
#if TEMP_SENSOR_1 == -1 #if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 5 // Analog Input (connector *K2* on RUMBA thermocouple ADD ON is used) #define TEMP_1_PIN 5 // Analog Input (connector *K2* on RUMBA thermocouple ADD ON is used)
#else #else
#define TEMP_1_PIN 14 // Analog Input (default connector for thermistor *T1* on rumba board is used) #define TEMP_1_PIN 14 // Analog Input (default connector for thermistor *T1* on rumba board is used)
#endif #endif
#endif #endif
#if TEMP_SENSOR_2 == -1 #if TEMP_SENSOR_2 == -1
#define TEMP_2_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_BED is defined as thermocouple) #define TEMP_2_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_BED is defined as thermocouple)
#else #else
#define TEMP_2_PIN 13 // Analog Input (default connector for thermistor *T2* on rumba board is used) #define TEMP_2_PIN 13 // Analog Input (default connector for thermistor *T2* on rumba board is used)
#endif #endif
// Optional for extruder 4 or chamber: // Optional for extruder 4 or chamber:
//#define TEMP_X_PIN 12 // Analog Input (default connector for thermistor *T3* on rumba board is used) //#define TEMP_X_PIN 12 // Analog Input (default connector for thermistor *T3* on rumba board is used)
#ifndef TEMP_CHAMBER_PIN #ifndef TEMP_CHAMBER_PIN
//#define TEMP_CHAMBER_PIN 12 // Analog Input (default connector for thermistor *T3* on rumba board is used) //#define TEMP_CHAMBER_PIN 12 // Analog Input (default connector for thermistor *T3* on rumba board is used)
#endif #endif
#if TEMP_SENSOR_BED == -1 #if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_2 is defined as thermocouple) #define TEMP_BED_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_2 is defined as thermocouple)
#else #else
#define TEMP_BED_PIN 11 // Analog Input (default connector for thermistor *THB* on rumba board is used) #define TEMP_BED_PIN 11 // Analog Input (default connector for thermistor *THB* on rumba board is used)
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_2_PIN 6 #define HEATER_2_PIN 6
#define HEATER_3_PIN 8 #define HEATER_3_PIN 8
#define HEATER_BED_PIN 9 #define HEATER_BED_PIN 9
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 #define FAN_PIN 7
#endif #endif
#ifndef FAN1_PIN #ifndef FAN1_PIN
#define FAN1_PIN 8 #define FAN1_PIN 8
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 45 #define PS_ON_PIN 45
#define KILL_PIN 46 #define KILL_PIN 46
#define CASE_LIGHT_PIN 45 #define CASE_LIGHT_PIN 45
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#ifndef SPINDLE_LASER_PWM_PIN #ifndef SPINDLE_LASER_PWM_PIN
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM. Pin 4 interrupts OC0* and OC1* always in use? #define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM. Pin 4 interrupts OC0* and OC1* always in use?
#endif #endif
#ifndef SPINDLE_LASER_ENA_PIN #ifndef SPINDLE_LASER_ENA_PIN
#define SPINDLE_LASER_ENA_PIN 14 // Pullup! #define SPINDLE_LASER_ENA_PIN 14 // Pullup!
#endif #endif
#ifndef SPINDLE_DIR_PIN #ifndef SPINDLE_DIR_PIN
#define SPINDLE_DIR_PIN 15 #define SPINDLE_DIR_PIN 15
#endif #endif
// //
// LCD / Controller // LCD / Controller
// //
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306) #if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 38 // Set as output on init #define LCD_PINS_DC 38 // Set as output on init
#define LCD_PINS_RS 41 // Pull low for 1s to init #define LCD_PINS_RS 41 // Pull low for 1s to init
// DOGM SPI LCD Support // DOGM SPI LCD Support
#define DOGLCD_CS 19 #define DOGLCD_CS 19
#define DOGLCD_MOSI 42 #define DOGLCD_MOSI 42
#define DOGLCD_SCK 18 #define DOGLCD_SCK 18
#define DOGLCD_A0 LCD_PINS_DC #define DOGLCD_A0 LCD_PINS_DC
#elif ENABLED(FYSETC_MINI_12864) #elif ENABLED(FYSETC_MINI_12864)
#define DOGLCD_CS 42 #define DOGLCD_CS 42
#define DOGLCD_A0 19 #define DOGLCD_A0 19
#define DOGLCD_MOSI 51 #define DOGLCD_MOSI 51
#define DOGLCD_SCK 52 #define DOGLCD_SCK 52
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0
#define LCD_RESET_PIN 18 // Must be high or open for LCD to operate normally. #define LCD_RESET_PIN 18 // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN 41 #define RGB_LED_R_PIN 41
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN 38 #define RGB_LED_G_PIN 38
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN 40 #define RGB_LED_B_PIN 40
#endif #endif
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN 25 #define NEOPIXEL_PIN 25
#endif #endif
#else #else
#define LCD_PINS_RS 19 #define LCD_PINS_RS 19
#define LCD_PINS_ENABLE 42 #define LCD_PINS_ENABLE 42
#define LCD_PINS_D4 18 #define LCD_PINS_D4 18
#define LCD_PINS_D5 38 #define LCD_PINS_D5 38
#define LCD_PINS_D6 41 #define LCD_PINS_D6 41
#endif #endif
#define LCD_PINS_D7 40 #define LCD_PINS_D7 40
// //
// Beeper, SD Card, Encoder // Beeper, SD Card, Encoder
// //
#define BEEPER_PIN 44 #define BEEPER_PIN 44
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#endif #endif
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_EN1 11 #define BTN_EN1 11
#define BTN_EN2 12 #define BTN_EN2 12
#define BTN_ENC 43 #define BTN_ENC 43
#endif #endif

View file

@ -27,24 +27,24 @@
#define BOARD_INFO_NAME "Tango" #define BOARD_INFO_NAME "Tango"
#define FAN_PIN 8 #define FAN_PIN 8
#define FAN1_PIN -1 #define FAN1_PIN -1
#define ORIG_E0_AUTO_FAN_PIN 7 #define ORIG_E0_AUTO_FAN_PIN 7
#ifndef TEMP_0_PIN #ifndef TEMP_0_PIN
#if TEMP_SENSOR_0 == -1 #if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 10 // Analog Input (connector *K1* on Tango thermocouple ADD ON is used) #define TEMP_0_PIN 10 // Analog Input (connector *K1* on Tango thermocouple ADD ON is used)
#else #else
#define TEMP_0_PIN 15 // Analog Input (default connector for thermistor *T0* on rumba board is used) #define TEMP_0_PIN 15 // Analog Input (default connector for thermistor *T0* on rumba board is used)
#endif #endif
#endif #endif
#ifndef TEMP_1_PIN #ifndef TEMP_1_PIN
#if TEMP_SENSOR_1 == -1 #if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 9 // Analog Input (connector *K2* on Tango thermocouple ADD ON is used) #define TEMP_1_PIN 9 // Analog Input (connector *K2* on Tango thermocouple ADD ON is used)
#else #else
#define TEMP_1_PIN 14 // Analog Input (default connector for thermistor *T1* on rumba board is used) #define TEMP_1_PIN 14 // Analog Input (default connector for thermistor *T1* on rumba board is used)
#endif #endif
#endif #endif

View file

@ -31,10 +31,10 @@
// Servos // Servos
// //
#if MB(TRIGORILLA_14_11) #if MB(TRIGORILLA_14_11)
#define SERVO0_PIN 5 #define SERVO0_PIN 5
#define SERVO1_PIN 4 #define SERVO1_PIN 4
#define SERVO2_PIN 11 #define SERVO2_PIN 11
#define SERVO3_PIN 6 #define SERVO3_PIN 6
#endif #endif
// //
@ -42,48 +42,48 @@
// //
//#define ANYCUBIC_4_MAX_PRO_ENDSTOPS //#define ANYCUBIC_4_MAX_PRO_ENDSTOPS
#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS) #if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
#define X_MAX_PIN 43 #define X_MAX_PIN 43
#define Y_MIN_PIN 19 #define Y_MIN_PIN 19
#endif #endif
// Labeled pins // Labeled pins
#define TRIGORILLA_HEATER_BED_PIN 8 #define TRIGORILLA_HEATER_BED_PIN 8
#define TRIGORILLA_HEATER_0_PIN 10 #define TRIGORILLA_HEATER_0_PIN 10
#define TRIGORILLA_HEATER_1_PIN 45 // Anycubic Kossel: Unused #define TRIGORILLA_HEATER_1_PIN 45 // Anycubic Kossel: Unused
#define TRIGORILLA_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan #define TRIGORILLA_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
#define TRIGORILLA_FAN1_PIN 7 // Anycubic Kossel: Unused #define TRIGORILLA_FAN1_PIN 7 // Anycubic Kossel: Unused
#define TRIGORILLA_FAN2_PIN 44 // Anycubic Kossel: Hotend fan #define TRIGORILLA_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
// Remap MOSFET pins to common usages: // Remap MOSFET pins to common usages:
#define RAMPS_D10_PIN TRIGORILLA_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h #define RAMPS_D10_PIN TRIGORILLA_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h
#if HOTENDS > 1 // EEF and EEB #if HOTENDS > 1 // EEF and EEB
#define RAMPS_D9_PIN TRIGORILLA_HEATER_1_PIN #define RAMPS_D9_PIN TRIGORILLA_HEATER_1_PIN
#if !TEMP_SENSOR_BED #if !TEMP_SENSOR_BED
// EEF // EEF
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN #define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
#else #else
// EEB // EEB
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN #define RAMPS_D8_PINTRIGORILLA_HEATER_BED_PIN
#define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h #define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h
#endif #endif
#elif TEMP_SENSOR_BED #elif TEMP_SENSOR_BED
// EFB (Anycubic Kossel default) // EFB (Anycubic Kossel default)
#define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN #define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN #define RAMPS_D8_PINTRIGORILLA_HEATER_BED_PIN
#else #else
// EFF // EFF
#define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN #define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN #define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
#endif #endif
#if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB #if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB
#define FAN1_PIN TRIGORILLA_FAN1_PIN #define FAN1_PIN TRIGORILLA_FAN1_PIN
#endif #endif
#define FAN2_PIN TRIGORILLA_FAN2_PIN #define FAN2_PIN TRIGORILLA_FAN2_PIN
#define ORIG_E0_AUTO_FAN_PIN TRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config #define ORIG_E0_AUTO_FAN_PINTRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -96,25 +96,25 @@
// LCD Display output pins // LCD Display output pins
#if BOTH(NEWPANEL, PANEL_ONE) #if BOTH(NEWPANEL, PANEL_ONE)
#undef LCD_PINS_D6 #undef LCD_PINS_D6
#define LCD_PINS_D6 57 #define LCD_PINS_D6 57
#endif #endif
// LCD Display input pins // LCD Display input pins
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#if ANY(VIKI2, miniVIKI) #if ANY(VIKI2, miniVIKI)
#undef DOGLCD_A0 #undef DOGLCD_A0
#define DOGLCD_A0 23 #define DOGLCD_A0 23
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#undef BEEPER_PIN #undef BEEPER_PIN
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#undef LCD_BACKLIGHT_PIN #undef LCD_BACKLIGHT_PIN
#define LCD_BACKLIGHT_PIN 67 #define LCD_BACKLIGHT_PIN 67
#endif #endif
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#undef BEEPER_PIN #undef BEEPER_PIN
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#undef DOGLCD_A0 #undef DOGLCD_A0
#define DOGLCD_A0 42 #define DOGLCD_A0 42
#endif #endif
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -34,70 +34,70 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#define SERVO1_PIN 12 #define SERVO1_PIN 12
#define SERVO2_PIN 5 #define SERVO2_PIN 5
#define SERVO3_PIN 4 #define SERVO3_PIN 4
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN SERVO3_PIN #define Z_MIN_PROBE_PIN SERVO3_PIN
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#define X_CS_PIN 57 #define X_CS_PIN 57
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#define Y_CS_PIN 58 #define Y_CS_PIN 58
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#define Z_CS_PIN 53 #define Z_CS_PIN 53
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#define E0_CS_PIN 49 #define E0_CS_PIN 49
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#define E1_CS_PIN E0_CS_PIN #define E1_CS_PIN E0_CS_PIN
#define E2_STEP_PIN 63 #define E2_STEP_PIN 63
#define E2_DIR_PIN 22 #define E2_DIR_PIN 22
#define E2_ENABLE_PIN 59 #define E2_ENABLE_PIN 59
#define E2_CS_PIN E0_CS_PIN #define E2_CS_PIN E0_CS_PIN
#define E3_STEP_PIN 32 #define E3_STEP_PIN 32
#define E3_DIR_PIN 40 #define E3_DIR_PIN 40
#define E3_ENABLE_PIN 39 #define E3_ENABLE_PIN 39
#define E3_CS_PIN E0_CS_PIN #define E3_CS_PIN E0_CS_PIN
#define E4_STEP_PIN 43 #define E4_STEP_PIN 43
#define E4_DIR_PIN 42 #define E4_DIR_PIN 42
#define E4_ENABLE_PIN 47 #define E4_ENABLE_PIN 47
#define E4_CS_PIN E0_CS_PIN #define E4_CS_PIN E0_CS_PIN
#if HAS_TMC_UART #if HAS_TMC_UART
/** /**
@ -122,34 +122,34 @@
// Software serial // Software serial
// //
#define X_SERIAL_TX_PIN -1 // 59 #define X_SERIAL_TX_PIN -1 // 59
#define X_SERIAL_RX_PIN -1 // 63 #define X_SERIAL_RX_PIN -1 // 63
#define X2_SERIAL_TX_PIN -1 #define X2_SERIAL_TX_PIN -1
#define X2_SERIAL_RX_PIN -1 #define X2_SERIAL_RX_PIN -1
#define Y_SERIAL_TX_PIN -1 // 64 #define Y_SERIAL_TX_PIN -1 // 64
#define Y_SERIAL_RX_PIN -1 // 40 #define Y_SERIAL_RX_PIN -1 // 40
#define Y2_SERIAL_TX_PIN -1 #define Y2_SERIAL_TX_PIN -1
#define Y2_SERIAL_RX_PIN -1 #define Y2_SERIAL_RX_PIN -1
#define Z_SERIAL_TX_PIN -1 // 44 #define Z_SERIAL_TX_PIN -1 // 44
#define Z_SERIAL_RX_PIN -1 // 42 #define Z_SERIAL_RX_PIN -1 // 42
#define Z2_SERIAL_TX_PIN -1 #define Z2_SERIAL_TX_PIN -1
#define Z2_SERIAL_RX_PIN -1 #define Z2_SERIAL_RX_PIN -1
#define E0_SERIAL_TX_PIN -1 // 66 #define E0_SERIAL_TX_PIN -1 // 66
#define E0_SERIAL_RX_PIN -1 // 65 #define E0_SERIAL_RX_PIN -1 // 65
#define E1_SERIAL_TX_PIN -1 #define E1_SERIAL_TX_PIN -1
#define E1_SERIAL_RX_PIN -1 #define E1_SERIAL_RX_PIN -1
#define E2_SERIAL_TX_PIN -1 #define E2_SERIAL_TX_PIN -1
#define E2_SERIAL_RX_PIN -1 #define E2_SERIAL_RX_PIN -1
#define E3_SERIAL_TX_PIN -1 #define E3_SERIAL_TX_PIN -1
#define E3_SERIAL_RX_PIN -1 #define E3_SERIAL_RX_PIN -1
#define E4_SERIAL_TX_PIN -1 #define E4_SERIAL_TX_PIN -1
#define E4_SERIAL_RX_PIN -1 #define E4_SERIAL_RX_PIN -1
#define E5_SERIAL_RX_PIN -1 #define E5_SERIAL_RX_PIN -1
#define E6_SERIAL_RX_PIN -1 #define E6_SERIAL_RX_PIN -1
#define E7_SERIAL_RX_PIN -1 #define E7_SERIAL_RX_PIN -1
#endif #endif
// //
@ -170,16 +170,16 @@
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 #define TEMP_0_PIN 13
#define TEMP_1_PIN 15 #define TEMP_1_PIN 15
#define TEMP_2_PIN 10 #define TEMP_2_PIN 10
#define TEMP_3_PIN 11 #define TEMP_3_PIN 11
#define TEMP_BED_PIN 14 #define TEMP_BED_PIN 14
#if TEMP_SENSOR_CHAMBER > 0 #if TEMP_SENSOR_CHAMBER > 0
#define TEMP_CHAMBER_PIN 12 #define TEMP_CHAMBER_PIN 12
#else #else
#define TEMP_4_PIN 12 #define TEMP_4_PIN 12
#endif #endif
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
@ -192,50 +192,50 @@
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_2_PIN 44 #define HEATER_2_PIN 44
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#define FAN_PIN 9 #define FAN_PIN 9
#if EXTRUDERS >= 5 #if EXTRUDERS >= 5
#define HEATER_4_PIN 6 #define HEATER_4_PIN 6
#else #else
#define FAN1_PIN 6 #define FAN1_PIN 6
#endif #endif
#if EXTRUDERS >= 4 #if EXTRUDERS >= 4
#define HEATER_3_PIN 45 #define HEATER_3_PIN 45
#else #else
#define FAN2_PIN 45 #define FAN2_PIN 45
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
//#ifndef FILWIDTH_PIN //#ifndef FILWIDTH_PIN
// #define FILWIDTH_PIN 5 // Analog Input // #define FILWIDTH_PIN 5 // Analog Input
//#endif //#endif
// DIO 4 (Servos plug) for the runout sensor. // DIO 4 (Servos plug) for the runout sensor.
//#define FIL_RUNOUT_PIN SERVO3_PIN //#define FIL_RUNOUT_PIN SERVO3_PIN
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
// //
// Case Light // Case Light
// //
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
#if !NUM_SERVOS // Prefer the servo connector #if !NUM_SERVOS // Prefer the servo connector
#define CASE_LIGHT_PIN 6 // Hardware PWM #define CASE_LIGHT_PIN 6 // Hardware PWM
#elif HAS_FREE_AUX2_PINS // Try to use AUX 2 #elif HAS_FREE_AUX2_PINS // Try to use AUX 2
#define CASE_LIGHT_PIN 44 // Hardware PWM #define CASE_LIGHT_PIN 44 // Hardware PWM
#endif #endif
#endif #endif
@ -243,14 +243,14 @@
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE) #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
#if !NUM_SERVOS // Prefer the servo connector #if !NUM_SERVOS // Prefer the servo connector
#define SPINDLE_LASER_ENABLE_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENABLE_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
#define SPINDLE_DIR_PIN 5 #define SPINDLE_DIR_PIN 5
#elif HAS_FREE_AUX2_PINS // Try to use AUX 2 #elif HAS_FREE_AUX2_PINS // Try to use AUX 2
#define SPINDLE_LASER_ENABLE_PIN 40 // Pullup or pulldown! #define SPINDLE_LASER_ENABLE_PIN 40 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_DIR_PIN 65 #define SPINDLE_DIR_PIN 65
#endif #endif
#endif #endif
@ -278,63 +278,63 @@
// //
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#elif BOTH(NEWPANEL, PANEL_ONE) #elif BOTH(NEWPANEL, PANEL_ONE)
#define LCD_PINS_RS 40 #define LCD_PINS_RS 40
#define LCD_PINS_ENABLE 42 #define LCD_PINS_ENABLE 42
#define LCD_PINS_D4 65 #define LCD_PINS_D4 65
#define LCD_PINS_D5 66 #define LCD_PINS_D5 66
#define LCD_PINS_D6 44 #define LCD_PINS_D6 44
#define LCD_PINS_D7 64 #define LCD_PINS_D7 64
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#define LCD_PINS_RS 64 #define LCD_PINS_RS 64
#define LCD_PINS_ENABLE 44 #define LCD_PINS_ENABLE 44
#define LCD_PINS_D4 63 #define LCD_PINS_D4 63
#define LCD_PINS_D5 40 #define LCD_PINS_D5 40
#define LCD_PINS_D6 42 #define LCD_PINS_D6 42
#define LCD_PINS_D7 65 #define LCD_PINS_D7 65
#define ADC_KEYPAD_PIN 12 #define ADC_KEYPAD_PIN 12
#else #else
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS 27 #define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 29 #define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 25 #define LCD_PINS_D4 25
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#endif #endif
#else #else
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306) #if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 25 // Set as output on init #define LCD_PINS_DC 25 // Set as output on init
#define LCD_PINS_RS 27 // Pull low for 1s to init #define LCD_PINS_RS 27 // Pull low for 1s to init
// DOGM SPI LCD Support // DOGM SPI LCD Support
#define DOGLCD_CS 16 #define DOGLCD_CS 16
#define DOGLCD_MOSI 17 #define DOGLCD_MOSI 17
#define DOGLCD_SCK 23 #define DOGLCD_SCK 23
#define DOGLCD_A0 LCD_PINS_DC #define DOGLCD_A0 LCD_PINS_DC
#else #else
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23
#define LCD_PINS_D5 25 #define LCD_PINS_D5 25
#define LCD_PINS_D6 27 #define LCD_PINS_D6 27
#endif #endif
#define LCD_PINS_D7 29 #define LCD_PINS_D7 29
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#endif #endif
#endif #endif
@ -342,10 +342,10 @@
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#endif #endif
#endif #endif
@ -357,155 +357,155 @@
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#if ENABLED(CR10_STOCKDISPLAY) #if ENABLED(CR10_STOCKDISPLAY)
#define BTN_EN1 17 #define BTN_EN1 17
#define BTN_EN2 23 #define BTN_EN2 23
#else #else
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#endif #endif
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
//#define KILL_PIN 41 //#define KILL_PIN 41
#if ENABLED(BQ_LCD_SMART_CONTROLLER) #if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39 #define LCD_BACKLIGHT_PIN 39
#endif #endif
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SD_DETECT_PIN 42 #define SD_DETECT_PIN 42
#elif ENABLED(LCD_I2C_PANELOLU2) #elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 43 #define BTN_EN2 43
#define BTN_ENC 32 #define BTN_ENC 32
#define LCD_SDSS 53 #define LCD_SDSS 53
//#define KILL_PIN 41 //#define KILL_PIN 41
#elif ENABLED(LCD_I2C_VIKI) #elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42. #define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13. #define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_ENC -1 #define BTN_ENC -1
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#elif EITHER(VIKI2, miniVIKI) #elif EITHER(VIKI2, miniVIKI)
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BEEPER_PIN 33 #define BEEPER_PIN 33
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#define BTN_EN1 22 #define BTN_EN1 22
#define BTN_EN2 7 #define BTN_EN2 7
#define BTN_ENC 39 #define BTN_ENC 39
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board #define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
//#define KILL_PIN 31 //#define KILL_PIN 31
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define BEEPER_PIN 23 #define BEEPER_PIN 23
#define LCD_BACKLIGHT_PIN 33 #define LCD_BACKLIGHT_PIN 33
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 37 #define BTN_EN2 37
#define BTN_ENC 31 #define BTN_ENC 31
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
//#define KILL_PIN 41 //#define KILL_PIN 41
#elif ENABLED(MKS_MINI_12864) #elif ENABLED(MKS_MINI_12864)
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define DOGLCD_CS 25 #define DOGLCD_CS 25
// GLCD features // GLCD features
//#define LCD_CONTRAST_INIT 190 //#define LCD_CONTRAST_INIT 190
// Uncomment screen orientation // Uncomment screen orientation
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
//#define SDSS 53 //#define SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
//#define KILL_PIN 64 //#define KILL_PIN 64
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BEEPER_PIN 42 #define BEEPER_PIN 42
// not connected to a pin // not connected to a pin
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 66 #define DOGLCD_CS 66
// GLCD features // GLCD features
//#define LCD_CONTRAST_INIT 190 //#define LCD_CONTRAST_INIT 190
// Uncomment screen orientation // Uncomment screen orientation
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 63 #define BTN_EN2 63
#define BTN_ENC 59 #define BTN_ENC 59
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
//#define KILL_PIN 64 //#define KILL_PIN 64
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons are directly attached to AUX-2 // Buttons are directly attached to AUX-2
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_CLK 44 #define SHIFT_CLK 44
#define SHIFT_LD 42 #define SHIFT_LD 42
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#elif ENABLED(PANEL_ONE) #elif ENABLED(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3 #define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4 #define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7 #define BTN_ENC 49 // AUX3 PIN 7
#else #else
#define BTN_EN1 37 #define BTN_EN1 37
#define BTN_EN2 35 #define BTN_EN2 35
#define BTN_ENC 31 #define BTN_ENC 31
#endif #endif
#if ENABLED(G3D_PANEL) #if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
//#define KILL_PIN 41 //#define KILL_PIN 41
#endif #endif
#endif #endif

View file

@ -44,97 +44,97 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 22 #define X_STOP_PIN 22
#define Y_STOP_PIN 26 #define Y_STOP_PIN 26
#define Z_STOP_PIN 29 #define Z_STOP_PIN 29
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 27 #define X_ENABLE_PIN 27
#define Y_STEP_PIN 32 #define Y_STEP_PIN 32
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 31 #define Y_ENABLE_PIN 31
#define Z_STEP_PIN 35 #define Z_STEP_PIN 35
#define Z_DIR_PIN 36 #define Z_DIR_PIN 36
#define Z_ENABLE_PIN 34 #define Z_ENABLE_PIN 34
#define E0_STEP_PIN 42 #define E0_STEP_PIN 42
#define E0_DIR_PIN 43 #define E0_DIR_PIN 43
#define E0_ENABLE_PIN 37 #define E0_ENABLE_PIN 37
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
#define MOTOR_CURRENT_PWM_XY_PIN 44 #define MOTOR_CURRENT_PWM_XY_PIN 44
#define MOTOR_CURRENT_PWM_Z_PIN 45 #define MOTOR_CURRENT_PWM_Z_PIN 45
#define MOTOR_CURRENT_PWM_E_PIN 46 #define MOTOR_CURRENT_PWM_E_PIN 46
// Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
#ifndef MOTOR_CURRENT_PWM_RANGE #ifndef MOTOR_CURRENT_PWM_RANGE
#define MOTOR_CURRENT_PWM_RANGE 2000 #define MOTOR_CURRENT_PWM_RANGE 2000
#endif #endif
#define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250} #define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 8 // Analog Input #define TEMP_0_PIN 8 // Analog Input
#define TEMP_1_PIN 9 // Analog Input #define TEMP_1_PIN 9 // Analog Input
#define TEMP_BED_PIN 10 // Analog Input #define TEMP_BED_PIN 10 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 #define FAN_PIN 7
#endif #endif
#define ORIG_E0_AUTO_FAN_PIN 77 #define ORIG_E0_AUTO_FAN_PIN 77
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 39 #define SD_DETECT_PIN 39
#define LED_PIN 8 #define LED_PIN 8
#define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered #define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered
#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider. #define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 15 #define LCD_PINS_ENABLE 15
#define LCD_PINS_D4 14 #define LCD_PINS_D4 14
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
// Buttons are directly attached // Buttons are directly attached
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 41 #define BTN_EN2 41
#define BTN_ENC 19 #define BTN_ENC 19
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER // use the LED_PIN for spindle speed control or case light #if HAS_CUTTER // use the LED_PIN for spindle speed control or case light
#undef LED_PIN #undef LED_PIN
#define SPINDLE_DIR_PIN 16 #define SPINDLE_DIR_PIN 16
#define SPINDLE_LASER_ENA_PIN 17 // Pullup! #define SPINDLE_LASER_ENA_PIN 17 // Pullup!
#define SPINDLE_LASER_PWM_PIN 8 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 8 // Hardware PWM
#else #else
#undef LED_PIN #undef LED_PIN
#define CASE_LIGHT_PIN 8 #define CASE_LIGHT_PIN 8
#endif #endif

View file

@ -44,114 +44,114 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 11 #define SERVO0_PIN 11
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 22 #define X_MIN_PIN 22
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 26 #define Y_MIN_PIN 26
#define Y_MAX_PIN 28 #define Y_MAX_PIN 28
#define Z_MIN_PIN 30 #define Z_MIN_PIN 30
#define Z_MAX_PIN 32 #define Z_MAX_PIN 32
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 27 #define X_ENABLE_PIN 27
#define Y_STEP_PIN 31 #define Y_STEP_PIN 31
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 29 #define Y_ENABLE_PIN 29
#define Z_STEP_PIN 37 #define Z_STEP_PIN 37
#define Z_DIR_PIN 39 #define Z_DIR_PIN 39
#define Z_ENABLE_PIN 35 #define Z_ENABLE_PIN 35
#define E0_STEP_PIN 43 #define E0_STEP_PIN 43
#define E0_DIR_PIN 45 #define E0_DIR_PIN 45
#define E0_ENABLE_PIN 41 #define E0_ENABLE_PIN 41
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 8 // Analog Input #define TEMP_0_PIN 8 // Analog Input
#define TEMP_1_PIN 9 // Analog Input #define TEMP_1_PIN 9 // Analog Input
#define TEMP_BED_PIN 10 // Analog Input #define TEMP_BED_PIN 10 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define HEATER_1_PIN 3 #define HEATER_1_PIN 3
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 7 #define FAN_PIN 7
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
#define CASE_LIGHT_PIN 8 #define CASE_LIGHT_PIN 8
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 16 #define LCD_PINS_D4 16
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
// Buttons directly attached // Buttons directly attached
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 42 #define BTN_EN2 42
#define BTN_ENC 19 #define BTN_ENC 19
#define SD_DETECT_PIN 38 #define SD_DETECT_PIN 38
#else // !NEWPANEL - Old style panel with shift register #else // !NEWPANEL - Old style panel with shift register
// Buttons attached to a shift register // Buttons attached to a shift register
#define SHIFT_CLK 38 #define SHIFT_CLK 38
#define SHIFT_LD 42 #define SHIFT_LD 42
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_EN 17 #define SHIFT_EN 17
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 5 #define LCD_PINS_ENABLE 5
#define LCD_PINS_D4 6 #define LCD_PINS_D4 6
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 20 #define LCD_PINS_D6 20
#define LCD_PINS_D7 19 #define LCD_PINS_D7 19
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#endif // !NEWPANEL #endif // !NEWPANEL
@ -160,6 +160,6 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 10 // Pullup! #define SPINDLE_LASER_ENA_PIN 10 // Pullup!
#define SPINDLE_DIR_PIN 11 // use the EXP3 PWM header #define SPINDLE_DIR_PIN 11 // use the EXP3 PWM header

View file

@ -80,134 +80,134 @@
// Limit Switches // Limit Switches
// //
#if ENABLED(BOARD_REV_1_1_TO_1_3) #if ENABLED(BOARD_REV_1_1_TO_1_3)
#define X_MIN_PIN 15 // SW1 #define X_MIN_PIN 15 // SW1
#define X_MAX_PIN 14 // SW2 #define X_MAX_PIN 14 // SW2
#define Y_MIN_PIN 17 // SW3 #define Y_MIN_PIN 17 // SW3
#define Y_MAX_PIN 16 // SW4 #define Y_MAX_PIN 16 // SW4
#define Z_MIN_PIN 19 // SW5 #define Z_MIN_PIN 19 // SW5
#define Z_MAX_PIN 18 // SW6 #define Z_MAX_PIN 18 // SW6
#endif #endif
#if ENABLED(BOARD_REV_1_0) #if ENABLED(BOARD_REV_1_0)
#if HAS_CUTTER #if HAS_CUTTER
#define X_STOP_PIN 13 // SW1 (didn't change) - also has a useable hardware PWM #define X_STOP_PIN 13 // SW1 (didn't change) - also has a useable hardware PWM
#define Y_STOP_PIN 12 // SW2 #define Y_STOP_PIN 12 // SW2
#define Z_STOP_PIN 11 // SW3 #define Z_STOP_PIN 11 // SW3
#else #else
#define X_MIN_PIN 13 // SW1 #define X_MIN_PIN 13 // SW1
#define X_MAX_PIN 12 // SW2 #define X_MAX_PIN 12 // SW2
#define Y_MIN_PIN 11 // SW3 #define Y_MIN_PIN 11 // SW3
#define Y_MAX_PIN 10 // SW4 #define Y_MAX_PIN 10 // SW4
#define Z_MIN_PIN 9 // SW5 #define Z_MIN_PIN 9 // SW5
#define Z_MAX_PIN 8 // SW6 #define Z_MAX_PIN 8 // SW6
#endif #endif
#endif #endif
#if ENABLED(BOARD_REV_1_5) #if ENABLED(BOARD_REV_1_5)
#define X_MIN_PIN 22 #define X_MIN_PIN 22
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 26 #define Y_MIN_PIN 26
#define Y_MAX_PIN 28 #define Y_MAX_PIN 28
#define Z_MIN_PIN 30 #define Z_MIN_PIN 30
#define Z_MAX_PIN 32 #define Z_MAX_PIN 32
#endif #endif
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#if !defined(Z_MIN_PROBE_PIN) && !(HAS_CUTTER && ENABLED(BOARD_REV_1_0)) #if !defined(Z_MIN_PROBE_PIN) && !(HAS_CUTTER && ENABLED(BOARD_REV_1_0))
#define Z_MIN_PROBE_PIN Z_MAX_PIN #define Z_MIN_PROBE_PIN Z_MAX_PIN
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 25 #define X_STEP_PIN 25
#define X_DIR_PIN 23 #define X_DIR_PIN 23
#define X_ENABLE_PIN 27 #define X_ENABLE_PIN 27
#define Y_STEP_PIN 31 #define Y_STEP_PIN 31
#define Y_DIR_PIN 33 #define Y_DIR_PIN 33
#define Y_ENABLE_PIN 29 #define Y_ENABLE_PIN 29
#define Z_STEP_PIN 37 #define Z_STEP_PIN 37
#define Z_DIR_PIN 39 #define Z_DIR_PIN 39
#define Z_ENABLE_PIN 35 #define Z_ENABLE_PIN 35
#if HAS_CUTTER && ENABLED(BOARD_REV_1_1_TO_1_3) && EXTRUDERS == 1 #if HAS_CUTTER && ENABLED(BOARD_REV_1_1_TO_1_3) && EXTRUDERS == 1
// Move E0 to the spare and get Spindle/Laser signals from E0 // Move E0 to the spare and get Spindle/Laser signals from E0
#define E0_STEP_PIN 49 #define E0_STEP_PIN 49
#define E0_DIR_PIN 47 #define E0_DIR_PIN 47
#define E0_ENABLE_PIN 48 #define E0_ENABLE_PIN 48
#else #else
#define E0_STEP_PIN 43 #define E0_STEP_PIN 43
#define E0_DIR_PIN 45 #define E0_DIR_PIN 45
#define E0_ENABLE_PIN 41 #define E0_ENABLE_PIN 41
#define E1_STEP_PIN 49 #define E1_STEP_PIN 49
#define E1_DIR_PIN 47 #define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48 #define E1_ENABLE_PIN 48
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 8 // Analog Input #define TEMP_0_PIN 8 // Analog Input
#define TEMP_1_PIN 1 // Analog Input #define TEMP_1_PIN 1 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
//#define HEATER_1_PIN 3 // used for case light Rev A said "1" //#define HEATER_1_PIN 3 // used for case light Rev A said "1"
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
// //
// LCD / Controller // LCD / Controller
// //
#if ANY(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3) #if ANY(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3)
#define LCD_PINS_RS 24 #define LCD_PINS_RS 24
#define LCD_PINS_ENABLE 22 #define LCD_PINS_ENABLE 22
#define LCD_PINS_D4 36 #define LCD_PINS_D4 36
#define LCD_PINS_D5 34 #define LCD_PINS_D5 34
#define LCD_PINS_D6 32 #define LCD_PINS_D6 32
#define LCD_PINS_D7 30 #define LCD_PINS_D7 30
#elif ENABLED(BOARD_REV_1_5, ULTRA_LCD) #elif ENABLED(BOARD_REV_1_5, ULTRA_LCD)
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 16 #define LCD_PINS_D4 16
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 5 #define LCD_PINS_D6 5
#define LCD_PINS_D7 6 #define LCD_PINS_D7 6
// Buttons directly attached // Buttons directly attached
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 42 #define BTN_EN2 42
#define BTN_ENC 19 #define BTN_ENC 19
#define SD_DETECT_PIN 38 #define SD_DETECT_PIN 38
#else // !NEWPANEL - Old style panel with shift register #else // !NEWPANEL - Old style panel with shift register
// Buttons attached to a shift register // Buttons attached to a shift register
#define SHIFT_CLK 38 #define SHIFT_CLK 38
#define SHIFT_LD 42 #define SHIFT_LD 42
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_EN 17 #define SHIFT_EN 17
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 5 #define LCD_PINS_ENABLE 5
#define LCD_PINS_D4 6 #define LCD_PINS_D4 6
#define LCD_PINS_D5 21 #define LCD_PINS_D5 21
#define LCD_PINS_D6 20 #define LCD_PINS_D6 20
#define LCD_PINS_D7 19 #define LCD_PINS_D7 19
#endif // !NEWPANEL #endif // !NEWPANEL
@ -217,17 +217,17 @@
// case light - see spindle section for more info on available hardware PWMs // case light - see spindle section for more info on available hardware PWMs
// //
#if !PIN_EXISTS(CASE_LIGHT) && ENABLED(BOARD_REV_1_5) #if !PIN_EXISTS(CASE_LIGHT) && ENABLED(BOARD_REV_1_5)
#define CASE_LIGHT_PIN 7 // use PWM - MUST BE HARDWARE PWM #define CASE_LIGHT_PIN 7 // use PWM - MUST BE HARDWARE PWM
#endif #endif
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER #if HAS_CUTTER
#if EITHER(BOARD_REV_1_0, BOARD_REV_1_5) // Use the last three SW positions #if EITHER(BOARD_REV_1_0, BOARD_REV_1_5) // Use the last three SW positions
#define SPINDLE_DIR_PIN 10 // 1.0: SW4 1.5: EXP3-6 ("10") #define SPINDLE_DIR_PIN 10 // 1.0: SW4 1.5: EXP3-6 ("10")
#define SPINDLE_LASER_PWM_PIN 9 // 1.0: SW5 1.5: EXP3-7 ( "9") .. MUST BE HARDWARE PWM #define SPINDLE_LASER_PWM_PIN 9 // 1.0: SW5 1.5: EXP3-7 ( "9") .. MUST BE HARDWARE PWM
#define SPINDLE_LASER_ENA_PIN 8 // 1.0: SW6 1.5: EXP3-8 ( "8") .. Pin should have a pullup! #define SPINDLE_LASER_ENA_PIN 8 // 1.0: SW6 1.5: EXP3-8 ( "8") .. Pin should have a pullup!
#elif ENABLED(BOARD_REV_1_1_TO_1_3) #elif ENABLED(BOARD_REV_1_1_TO_1_3)
/** /**
* Only four hardware PWMs physically connected to anything on these boards: * Only four hardware PWMs physically connected to anything on these boards:
@ -241,14 +241,14 @@
* They have an LED and resistor pullup to +24V which could damage 3.3V-5V ICs. * They have an LED and resistor pullup to +24V which could damage 3.3V-5V ICs.
*/ */
#if EXTRUDERS == 1 #if EXTRUDERS == 1
#define SPINDLE_DIR_PIN 43 #define SPINDLE_DIR_PIN 43
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 41 // Pullup! #define SPINDLE_LASER_ENA_PIN 41 // Pullup!
#elif TEMP_SENSOR_BED == 0 // Can't use E0 so see if HEATER_BED_PIN is available #elif TEMP_SENSOR_BED == 0 // Can't use E0 so see if HEATER_BED_PIN is available
#undef HEATER_BED_PIN #undef HEATER_BED_PIN
#define SPINDLE_DIR_PIN 38 // Probably pin 4 on 10 pin connector closest to the E0 socket #define SPINDLE_DIR_PIN 38 // Probably pin 4 on 10 pin connector closest to the E0 socket
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM - Special precautions usually needed. #define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM - Special precautions usually needed.
#define SPINDLE_LASER_ENA_PIN 40 // Pullup! (Probably pin 6 on the 10-pin #define SPINDLE_LASER_ENA_PIN 40 // Pullup! (Probably pin 6 on the 10-pin
// connector closest to the E0 socket) // connector closest to the E0 socket)
#endif #endif
#endif #endif

View file

@ -28,7 +28,7 @@
#define BOARD_INFO_NAME "VORON Design v2" #define BOARD_INFO_NAME "VORON Design v2"
#define RAMPS_D8_PIN 11 #define RAMPS_D8_PIN 11
#include "pins_RAMPS.h" #include "pins_RAMPS.h"
@ -36,10 +36,10 @@
// Heaters / Fans // Heaters / Fans
// //
#undef FAN_PIN #undef FAN_PIN
#define FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on. #define FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on.
#define CONTROLLER_FAN_PIN 8 #define CONTROLLER_FAN_PIN 8
#define ORIG_E0_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan #define ORIG_E0_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan
#define ORIG_E1_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan (same pin for both extruders since it's the same fan) #define ORIG_E1_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan (same pin for both extruders since it's the same fan)
// //
// LCDs and Controllers // LCDs and Controllers

View file

@ -28,24 +28,24 @@
#include "pins_MKS_GEN_13.h" #include "pins_MKS_GEN_13.h"
#define ZRIB_V20_D6_PIN 6 // Fan #define ZRIB_V20_D6_PIN 6 // Fan
#define ZRIB_V20_D9_PIN 9 // Fan2 #define ZRIB_V20_D9_PIN 9 // Fan2
#define ZRIB_V20_A10_PIN 10 #define ZRIB_V20_A10_PIN 10
#define ZRIB_V20_D16_PIN 16 #define ZRIB_V20_D16_PIN 16
#define ZRIB_V20_D17_PIN 17 #define ZRIB_V20_D17_PIN 17
#define ZRIB_V20_D23_PIN 23 #define ZRIB_V20_D23_PIN 23
#define ZRIB_V20_D25_PIN 25 #define ZRIB_V20_D25_PIN 25
#define ZRIB_V20_D27_PIN 27 #define ZRIB_V20_D27_PIN 27
#define ZRIB_V20_D29_PIN 29 #define ZRIB_V20_D29_PIN 29
#define ZRIB_V20_D37_PIN 37 #define ZRIB_V20_D37_PIN 37
#define ORIG_E0_AUTO_FAN_PIN ZRIB_V20_D6_PIN #define ORIG_E0_AUTO_FAN_PIN ZRIB_V20_D6_PIN
#define ORIG_E1_AUTO_FAN_PIN ZRIB_V20_D6_PIN #define ORIG_E1_AUTO_FAN_PIN ZRIB_V20_D6_PIN
#define ORIG_E2_AUTO_FAN_PIN ZRIB_V20_D6_PIN #define ORIG_E2_AUTO_FAN_PIN ZRIB_V20_D6_PIN
#define ORIG_E3_AUTO_FAN_PIN ZRIB_V20_D6_PIN #define ORIG_E3_AUTO_FAN_PIN ZRIB_V20_D6_PIN
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 11 // Analog Input #define FILWIDTH_PIN 11 // Analog Input
#endif #endif
#if ENABLED(ZONESTAR_LCD) #if ENABLED(ZONESTAR_LCD)
@ -58,12 +58,12 @@
#undef ADC_KEYPAD_PIN #undef ADC_KEYPAD_PIN
#undef BEEPER_PIN #undef BEEPER_PIN
#define LCD_PINS_RS ZRIB_V20_D16_PIN #define LCD_PINS_RS ZRIB_V20_D16_PIN
#define LCD_PINS_ENABLE ZRIB_V20_D17_PIN #define LCD_PINS_ENABLE ZRIB_V20_D17_PIN
#define LCD_PINS_D4 ZRIB_V20_D23_PIN #define LCD_PINS_D4 ZRIB_V20_D23_PIN
#define LCD_PINS_D5 ZRIB_V20_D25_PIN #define LCD_PINS_D5 ZRIB_V20_D25_PIN
#define LCD_PINS_D6 ZRIB_V20_D27_PIN #define LCD_PINS_D6 ZRIB_V20_D27_PIN
#define LCD_PINS_D7 ZRIB_V20_D29_PIN #define LCD_PINS_D7 ZRIB_V20_D29_PIN
#define ADC_KEYPAD_PIN ZRIB_V20_A10_PIN #define ADC_KEYPAD_PIN ZRIB_V20_A10_PIN
#define BEEPER_PIN ZRIB_V20_D37_PIN #define BEEPER_PIN ZRIB_V20_D37_PIN
#endif #endif

View file

@ -37,129 +37,129 @@
// Servos // Servos
// //
#ifndef SERVO0_PIN #ifndef SERVO0_PIN
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#endif #endif
#ifndef SERVO3_PIN #ifndef SERVO3_PIN
#define SERVO3_PIN 4 #define SERVO3_PIN 4
#endif #endif
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#define Y_MIN_PIN 14 #define Y_MIN_PIN 14
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#define Z_MAX_PIN 19 #define Z_MAX_PIN 19
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 54 #define X_STEP_PIN 54
#define X_DIR_PIN 55 #define X_DIR_PIN 55
#define X_ENABLE_PIN 38 #define X_ENABLE_PIN 38
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN -1 #define X_CS_PIN -1
#endif #endif
#define Y_STEP_PIN 60 #define Y_STEP_PIN 60
#define Y_DIR_PIN 61 #define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56 #define Y_ENABLE_PIN 56
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN -1 #define Y_CS_PIN -1
#endif #endif
#define Z_STEP_PIN 46 #define Z_STEP_PIN 46
#define Z_DIR_PIN 48 #define Z_DIR_PIN 48
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN -1 #define Z_CS_PIN -1
#endif #endif
#define E0_STEP_PIN 26 #define E0_STEP_PIN 26
#define E0_DIR_PIN 28 #define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN -1 #define E0_CS_PIN -1
#endif #endif
#define E1_STEP_PIN 36 #define E1_STEP_PIN 36
#define E1_DIR_PIN 34 #define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30 #define E1_ENABLE_PIN 30
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN -1 #define E1_CS_PIN -1
#endif #endif
// Red // Red
#define E2_STEP_PIN 42 #define E2_STEP_PIN 42
#define E2_DIR_PIN 40 #define E2_DIR_PIN 40
#define E2_ENABLE_PIN 65 #define E2_ENABLE_PIN 65
#ifndef E2_CS_PIN #ifndef E2_CS_PIN
#define E2_CS_PIN -1 #define E2_CS_PIN -1
#endif #endif
// Black // Black
#define E3_STEP_PIN 44 #define E3_STEP_PIN 44
#define E3_DIR_PIN 64 #define E3_DIR_PIN 64
#define E3_ENABLE_PIN 66 #define E3_ENABLE_PIN 66
#ifndef E3_CS_PIN #ifndef E3_CS_PIN
#define E3_CS_PIN -1 #define E3_CS_PIN -1
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 13 // Analog Input #define TEMP_0_PIN 13 // Analog Input
#define TEMP_1_PIN 15 // Analog Input #define TEMP_1_PIN 15 // Analog Input
#define TEMP_2_PIN 5 // Analog Input (BLACK) #define TEMP_2_PIN 5 // Analog Input (BLACK)
#define TEMP_3_PIN 9 // Analog Input (RED) #define TEMP_3_PIN 9 // Analog Input (RED)
#define TEMP_BED_PIN 14 // Analog Input #define TEMP_BED_PIN 14 // Analog Input
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 10 #define HEATER_0_PIN 10
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7
#define HEATER_2_PIN 6 #define HEATER_2_PIN 6
#define HEATER_3_PIN 5 #define HEATER_3_PIN 5
#define HEATER_BED_PIN 8 #define HEATER_BED_PIN 8
#define FAN_PIN 9 #define FAN_PIN 9
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#ifndef FILWIDTH_PIN #ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 5 // Analog Input on AUX2 #define FILWIDTH_PIN 5 // Analog Input on AUX2
#endif #endif
// Оn the servos connector // Оn the servos connector
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 4 #define FIL_RUNOUT_PIN 4
#endif #endif
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#endif #endif
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
#if NUM_SERVOS <= 1 // Prefer the servo connector #if NUM_SERVOS <= 1 // Prefer the servo connector
#define CASE_LIGHT_PIN 6 // Hardware PWM #define CASE_LIGHT_PIN 6 // Hardware PWM
#elif HAS_FREE_AUX2_PINS #elif HAS_FREE_AUX2_PINS
#define CASE_LIGHT_PIN 44 // Hardware PWM #define CASE_LIGHT_PIN 44 // Hardware PWM
#endif #endif
#endif #endif
@ -167,14 +167,14 @@
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA) #if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
#if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
#define SPINDLE_DIR_PIN 5 #define SPINDLE_DIR_PIN 5
#elif HAS_FREE_AUX2_PINS #elif HAS_FREE_AUX2_PINS
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_DIR_PIN 65 #define SPINDLE_DIR_PIN 65
#endif #endif
#endif #endif
@ -183,13 +183,13 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI 66 #define TMC_SW_MOSI 66
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO 44 #define TMC_SW_MISO 44
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK 64 #define TMC_SW_SCK 64
#endif #endif
#endif #endif
@ -217,90 +217,90 @@
// //
#ifndef X_SERIAL_TX_PIN #ifndef X_SERIAL_TX_PIN
#define X_SERIAL_TX_PIN 40 #define X_SERIAL_TX_PIN 40
#endif #endif
#ifndef X_SERIAL_RX_PIN #ifndef X_SERIAL_RX_PIN
#define X_SERIAL_RX_PIN 63 #define X_SERIAL_RX_PIN 63
#endif #endif
#ifndef X2_SERIAL_TX_PIN #ifndef X2_SERIAL_TX_PIN
#define X2_SERIAL_TX_PIN -1 #define X2_SERIAL_TX_PIN -1
#endif #endif
#ifndef X2_SERIAL_RX_PIN #ifndef X2_SERIAL_RX_PIN
#define X2_SERIAL_RX_PIN -1 #define X2_SERIAL_RX_PIN -1
#endif #endif
#ifndef Y_SERIAL_TX_PIN #ifndef Y_SERIAL_TX_PIN
#define Y_SERIAL_TX_PIN 59 #define Y_SERIAL_TX_PIN 59
#endif #endif
#ifndef Y_SERIAL_RX_PIN #ifndef Y_SERIAL_RX_PIN
#define Y_SERIAL_RX_PIN 64 #define Y_SERIAL_RX_PIN 64
#endif #endif
#ifndef Y2_SERIAL_TX_PIN #ifndef Y2_SERIAL_TX_PIN
#define Y2_SERIAL_TX_PIN -1 #define Y2_SERIAL_TX_PIN -1
#endif #endif
#ifndef Y2_SERIAL_RX_PIN #ifndef Y2_SERIAL_RX_PIN
#define Y2_SERIAL_RX_PIN -1 #define Y2_SERIAL_RX_PIN -1
#endif #endif
#ifndef Z_SERIAL_TX_PIN #ifndef Z_SERIAL_TX_PIN
#define Z_SERIAL_TX_PIN 42 #define Z_SERIAL_TX_PIN 42
#endif #endif
#ifndef Z_SERIAL_RX_PIN #ifndef Z_SERIAL_RX_PIN
#define Z_SERIAL_RX_PIN 65 #define Z_SERIAL_RX_PIN 65
#endif #endif
#ifndef Z2_SERIAL_TX_PIN #ifndef Z2_SERIAL_TX_PIN
#define Z2_SERIAL_TX_PIN -1 #define Z2_SERIAL_TX_PIN -1
#endif #endif
#ifndef Z2_SERIAL_RX_PIN #ifndef Z2_SERIAL_RX_PIN
#define Z2_SERIAL_RX_PIN -1 #define Z2_SERIAL_RX_PIN -1
#endif #endif
#ifndef E0_SERIAL_TX_PIN #ifndef E0_SERIAL_TX_PIN
#define E0_SERIAL_TX_PIN 44 #define E0_SERIAL_TX_PIN 44
#endif #endif
#ifndef E0_SERIAL_RX_PIN #ifndef E0_SERIAL_RX_PIN
#define E0_SERIAL_RX_PIN 66 #define E0_SERIAL_RX_PIN 66
#endif #endif
#ifndef E1_SERIAL_TX_PIN #ifndef E1_SERIAL_TX_PIN
#define E1_SERIAL_TX_PIN -1 #define E1_SERIAL_TX_PIN -1
#endif #endif
#ifndef E1_SERIAL_RX_PIN #ifndef E1_SERIAL_RX_PIN
#define E1_SERIAL_RX_PIN -1 #define E1_SERIAL_RX_PIN -1
#endif #endif
#ifndef E2_SERIAL_TX_PIN #ifndef E2_SERIAL_TX_PIN
#define E2_SERIAL_TX_PIN -1 #define E2_SERIAL_TX_PIN -1
#endif #endif
#ifndef E2_SERIAL_RX_PIN #ifndef E2_SERIAL_RX_PIN
#define E2_SERIAL_RX_PIN -1 #define E2_SERIAL_RX_PIN -1
#endif #endif
#ifndef E3_SERIAL_TX_PIN #ifndef E3_SERIAL_TX_PIN
#define E3_SERIAL_TX_PIN -1 #define E3_SERIAL_TX_PIN -1
#endif #endif
#ifndef E3_SERIAL_RX_PIN #ifndef E3_SERIAL_RX_PIN
#define E3_SERIAL_RX_PIN -1 #define E3_SERIAL_RX_PIN -1
#endif #endif
#ifndef E4_SERIAL_TX_PIN #ifndef E4_SERIAL_TX_PIN
#define E4_SERIAL_TX_PIN -1 #define E4_SERIAL_TX_PIN -1
#endif #endif
#ifndef E4_SERIAL_RX_PIN #ifndef E4_SERIAL_RX_PIN
#define E4_SERIAL_RX_PIN -1 #define E4_SERIAL_RX_PIN -1
#endif #endif
#ifndef E5_SERIAL_TX_PIN #ifndef E5_SERIAL_TX_PIN
#define E5_SERIAL_TX_PIN -1 #define E5_SERIAL_TX_PIN -1
#endif #endif
#ifndef E5_SERIAL_RX_PIN #ifndef E5_SERIAL_RX_PIN
#define E5_SERIAL_RX_PIN -1 #define E5_SERIAL_RX_PIN -1
#endif #endif
#ifndef E6_SERIAL_TX_PIN #ifndef E6_SERIAL_TX_PIN
#define E6_SERIAL_TX_PIN -1 #define E6_SERIAL_TX_PIN -1
#endif #endif
#ifndef E6_SERIAL_RX_PIN #ifndef E6_SERIAL_RX_PIN
#define E6_SERIAL_RX_PIN -1 #define E6_SERIAL_RX_PIN -1
#endif #endif
#ifndef E7_SERIAL_TX_PIN #ifndef E7_SERIAL_TX_PIN
#define E7_SERIAL_TX_PIN -1 #define E7_SERIAL_TX_PIN -1
#endif #endif
#ifndef E7_SERIAL_RX_PIN #ifndef E7_SERIAL_RX_PIN
#define E7_SERIAL_RX_PIN -1 #define E7_SERIAL_RX_PIN -1
#endif #endif
#endif #endif

View file

@ -81,55 +81,55 @@ A stepper for E0 extruder
// //
// Servos // Servos
// //
#define SERVO0_PIN 61 // Analog pin 7, Digital pin 61 #define SERVO0_PIN 61 // Analog pin 7, Digital pin 61
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 9 #define X_MIN_PIN 9
#define Y_MIN_PIN 10 #define Y_MIN_PIN 10
#define Z_MIN_PIN 11 #define Z_MIN_PIN 11
#define Z_MIN_PROBE_PIN 62 // Analog pin 8, Digital pin 62 #define Z_MIN_PROBE_PIN 62 // Analog pin 8, Digital pin 62
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 2 #define X_STEP_PIN 2
#define X_DIR_PIN 5 #define X_DIR_PIN 5
#define X_ENABLE_PIN 8 #define X_ENABLE_PIN 8
#define Y_STEP_PIN 3 #define Y_STEP_PIN 3
#define Y_DIR_PIN 6 #define Y_DIR_PIN 6
#define Y_ENABLE_PIN 8 #define Y_ENABLE_PIN 8
#define Z_STEP_PIN 4 #define Z_STEP_PIN 4
#define Z_DIR_PIN 7 #define Z_DIR_PIN 7
#define Z_ENABLE_PIN 8 #define Z_ENABLE_PIN 8
#define E0_STEP_PIN 12 #define E0_STEP_PIN 12
#define E0_DIR_PIN 13 #define E0_DIR_PIN 13
#define E0_ENABLE_PIN 8 #define E0_ENABLE_PIN 8
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 55 // "Hold": Analog pin 1, Digital pin 55 #define HEATER_0_PIN 55 // "Hold": Analog pin 1, Digital pin 55
#define HEATER_BED_PIN 57 // "CoolEn": Analog pin 3, Digital pin 57 #define HEATER_BED_PIN 57 // "CoolEn": Analog pin 3, Digital pin 57
#define FAN_PIN 54 // "Abort": Analog pin 0, Digital pin 54 #define FAN_PIN 54 // "Abort": Analog pin 0, Digital pin 54
#undef E0_AUTO_FAN_PIN #undef E0_AUTO_FAN_PIN
#define E0_AUTO_FAN_PIN 56 // "Resume": Analog pin 2, Digital pin 56 #define E0_AUTO_FAN_PIN 56 // "Resume": Analog pin 2, Digital pin 56
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 4 // "SDA": Analog pin 4, Digital pin 58 #define TEMP_0_PIN 4 // "SDA": Analog pin 4, Digital pin 58
#define TEMP_BED_PIN 5 // "SCL": Analog pin 5, Digital pin 59 #define TEMP_BED_PIN 5 // "SCL": Analog pin 5, Digital pin 59
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 52 #define SDSS 52
#if ENABLED(ZONESTAR_LCD) #if ENABLED(ZONESTAR_LCD)
@ -160,13 +160,13 @@ A stepper for E0 extruder
// //
// LCD / Controller // LCD / Controller
// //
#define LCD_PINS_ENABLE 14 #define LCD_PINS_ENABLE 14
#define LCD_PINS_RS 15 #define LCD_PINS_RS 15
#define LCD_PINS_D4 16 #define LCD_PINS_D4 16
#define LCD_PINS_D5 17 #define LCD_PINS_D5 17
#define LCD_PINS_D6 18 #define LCD_PINS_D6 18
#define LCD_PINS_D7 19 #define LCD_PINS_D7 19
#define ADC_KEYPAD_PIN 6 //60 // Analog pin 6, Digital pin 60 #define ADC_KEYPAD_PIN 6 //60 // Analog pin 6, Digital pin 60
/** /**
* The below defines will scale all the values to work properly on both * The below defines will scale all the values to work properly on both

View file

@ -35,126 +35,126 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 36 #define SERVO0_PIN 36
#define SERVO1_PIN 40 #define SERVO1_PIN 40
#define SERVO2_PIN 41 #define SERVO2_PIN 41
#define SERVO3_PIN -1 #define SERVO3_PIN -1
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 33 // PC1 #define X_MIN_PIN 33 // PC1
#define X_MAX_PIN 34 // PC2 #define X_MAX_PIN 34 // PC2
#define Y_MIN_PIN 35 // PC3 #define Y_MIN_PIN 35 // PC3
#define Y_MAX_PIN 37 // PC5 #define Y_MAX_PIN 37 // PC5
#define Z_MIN_PIN 38 // PC6 #define Z_MIN_PIN 38 // PC6
#define Z_MAX_PIN 39 // PC7 #define Z_MAX_PIN 39 // PC7
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 96 // PB24 #define X_STEP_PIN 96 // PB24
#define X_DIR_PIN 2 // PB25 #define X_DIR_PIN 2 // PB25
#define X_ENABLE_PIN 24 // PA15, motor RESET pin #define X_ENABLE_PIN 24 // PA15, motor RESET pin
#define Y_STEP_PIN 94 // PB22 #define Y_STEP_PIN 94 // PB22
#define Y_DIR_PIN 95 // PB23 #define Y_DIR_PIN 95 // PB23
#define Y_ENABLE_PIN 24 // PA15, motor RESET pin #define Y_ENABLE_PIN 24 // PA15, motor RESET pin
#define Z_STEP_PIN 98 // PC27 #define Z_STEP_PIN 98 // PC27
#define Z_DIR_PIN 3 // PC28 #define Z_DIR_PIN 3 // PC28
#define Z_ENABLE_PIN 24 // PA15, motor RESET pin #define Z_ENABLE_PIN 24 // PA15, motor RESET pin
#define E0_STEP_PIN 5 // PC25 #define E0_STEP_PIN 5 // PC25
#define E0_DIR_PIN 4 // PC26 #define E0_DIR_PIN 4 // PC26
#define E0_ENABLE_PIN 24 // PA15, motor RESET pin #define E0_ENABLE_PIN 24 // PA15, motor RESET pin
#define E1_STEP_PIN 28 // PD3 on piggy #define E1_STEP_PIN 28 // PD3 on piggy
#define E1_DIR_PIN 27 // PD2 on piggy #define E1_DIR_PIN 27 // PD2 on piggy
#define E1_ENABLE_PIN 24 // PA15, motor RESET pin #define E1_ENABLE_PIN 24 // PA15, motor RESET pin
#define E2_STEP_PIN 11 // PD7 on piggy #define E2_STEP_PIN 11 // PD7 on piggy
#define E2_DIR_PIN 29 // PD6 on piggy #define E2_DIR_PIN 29 // PD6 on piggy
#define E2_ENABLE_PIN 24 // PA15, motor RESET pin #define E2_ENABLE_PIN 24 // PA15, motor RESET pin
#define E3_STEP_PIN 30 // PD9 on piggy #define E3_STEP_PIN 30 // PD9 on piggy
#define E3_DIR_PIN 12 // PD8 on piggy #define E3_DIR_PIN 12 // PD8 on piggy
#define E3_ENABLE_PIN 24 // PA15, motor RESET pin #define E3_ENABLE_PIN 24 // PA15, motor RESET pin
// Microstepping pins - Mapping not from fastio.h (?) // Microstepping pins - Mapping not from fastio.h (?)
#define X_MS1_PIN 99 // PC10 #define X_MS1_PIN 99 // PC10
#define Y_MS1_PIN 10 // PC29 #define Y_MS1_PIN 10 // PC29
#define Z_MS1_PIN 44 // PC19 #define Z_MS1_PIN 44 // PC19
#define E0_MS1_PIN 45 // PC18 #define E0_MS1_PIN 45 // PC18
//#define MOTOR_FAULT_PIN 22 // PB26 , motor X-Y-Z-E0 motor FAULT //#define MOTOR_FAULT_PIN 22 // PB26 , motor X-Y-Z-E0 motor FAULT
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 1 // Analog Input (PA24) #define TEMP_0_PIN 1 // Analog Input (PA24)
#define TEMP_1_PIN 2 // Analog Input (PA23 on piggy) #define TEMP_1_PIN 2 // Analog Input (PA23 on piggy)
#define TEMP_2_PIN 3 // Analog Input (PA22 on piggy) #define TEMP_2_PIN 3 // Analog Input (PA22 on piggy)
#define TEMP_3_PIN 4 // Analog Input (PA6 on piggy) #define TEMP_3_PIN 4 // Analog Input (PA6 on piggy)
#define TEMP_BED_PIN 0 // Analog Input (PA16) #define TEMP_BED_PIN 0 // Analog Input (PA16)
// //
// Heaters / Fans // Heaters / Fans
// //
// Note that on the Due pin A0 on the board is channel 2 on the ARM chip // Note that on the Due pin A0 on the board is channel 2 on the ARM chip
#define HEATER_0_PIN 68 // PA1 #define HEATER_0_PIN 68 // PA1
#define HEATER_1_PIN 8 // PC22 on piggy #define HEATER_1_PIN 8 // PC22 on piggy
#define HEATER_2_PIN 9 // PC21 on piggy #define HEATER_2_PIN 9 // PC21 on piggy
#define HEATER_3_PIN 97 // PC20 on piggy #define HEATER_3_PIN 97 // PC20 on piggy
#define HEATER_BED_PIN 69 // PA0 #define HEATER_BED_PIN 69 // PA0
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 92 // PA5 #define FAN_PIN 92 // PA5
#endif #endif
#define FAN1_PIN 31 // PA7 #define FAN1_PIN 31 // PA7
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 77 // PA28 #define SDSS 77 // PA28
#define SD_DETECT_PIN 87 // PA29 #define SD_DETECT_PIN 87 // PA29
#define LED_RED_PIN 40 // PC8 #define LED_RED_PIN 40 // PC8
#define LED_GREEN_PIN 41 // PC9 #define LED_GREEN_PIN 41 // PC9
#define EXP_VOLTAGE_LEVEL_PIN 65 #define EXP_VOLTAGE_LEVEL_PIN 65
#define SPI_CHAN_DAC 1 #define SPI_CHAN_DAC 1
#define DAC0_SYNC 53 // PB14 #define DAC0_SYNC 53 // PB14
#define DAC1_SYNC 6 // PC24 #define DAC1_SYNC 6 // PC24
// 64K SPI EEPROM // 64K SPI EEPROM
#define SPI_EEPROM #define SPI_EEPROM
#define SPI_CHAN_EEPROM1 2 #define SPI_CHAN_EEPROM1 2
#define SPI_EEPROM1_CS 25 // PD0 #define SPI_EEPROM1_CS 25 // PD0
// 2K SPI EEPROM // 2K SPI EEPROM
#define SPI_EEPROM2_CS 26 // PD1 #define SPI_EEPROM2_CS 26 // PD1
// FLASH SPI // FLASH SPI
// 32Mb // 32Mb
#define SPI_FLASH_CS 23 // PA14 #define SPI_FLASH_CS 23 // PA14
// //
// LCD / Controller // LCD / Controller
// //
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define LCD_PINS_RS 18 #define LCD_PINS_RS 18
#define LCD_PINS_ENABLE 15 #define LCD_PINS_ENABLE 15
#define LCD_PINS_D4 19 #define LCD_PINS_D4 19
#define BEEPER_PIN 64 #define BEEPER_PIN 64
#define BTN_EN1 14 #define BTN_EN1 14
#define BTN_EN2 16 #define BTN_EN2 16
#define BTN_ENC 17 #define BTN_ENC 17
#undef UI_VOLTAGE_LEVEL #undef UI_VOLTAGE_LEVEL
#define UI_VOLTAGE_LEVEL 1 #define UI_VOLTAGE_LEVEL 1
#endif // REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER #endif // REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

View file

@ -46,7 +46,7 @@
// //
// Timers // Timers
// //
#define STEP_TIMER_NUM 3 #define STEP_TIMER_NUM 3
#define HAL_STEP_TIMER_ISR() void TC3_Handler() #define HAL_STEP_TIMER_ISR() void TC3_Handler()
// //
@ -56,147 +56,145 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 20 // D20 PB12 (Header J20 20) #define SERVO0_PIN 20 // D20 PB12 (Header J20 20)
#define SERVO1_PIN 21 // D21 PB13 (Header J20 19) #define SERVO1_PIN 21 // D21 PB13 (Header J20 19)
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 14 // PD4 MIN ES1 #define X_MIN_PIN 14 // PD4 MIN ES1
#define X_MAX_PIN 32 // PD10 MAX ES1 #define X_MAX_PIN 32 // PD10 MAX ES1
#define Y_MIN_PIN 29 // PD6 MIN ES2 #define Y_MIN_PIN 29 // PD6 MIN ES2
#define Y_MAX_PIN 15 // PD5 MAX ES2 #define Y_MAX_PIN 15 // PD5 MAX ES2
#define Z_MIN_PIN 31 // PA7 MIN ES3 #define Z_MIN_PIN 31 // PA7 MIN ES3
#define Z_MAX_PIN 30 // PD9 MAX ES3 #define Z_MAX_PIN 30 // PD9 MAX ES3
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 66 // D66 PB15 (Header J20 15) #define FIL_RUNOUT_PIN 66 // D66 PB15 (Header J20 15)
#endif #endif
#ifndef FIL_RUNOUT2_PIN #ifndef FIL_RUNOUT2_PIN
#define FIL_RUNOUT2_PIN 67 // D67 PB16 (Header J20 16) #define FIL_RUNOUT2_PIN 67 // D67 PB16 (Header J20 16)
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 40 // PC8 STEP1 * #define X_STEP_PIN 40 // PC8 STEP1 *
#define X_DIR_PIN 59 // PA4 DIR1 * #define X_DIR_PIN 59 // PA4 DIR1 *
#define X_ENABLE_PIN 41 // PC9 EN1 #define X_ENABLE_PIN 41 // PC9 EN1
#define Y_STEP_PIN 49 // PC14 STEP2 * #define Y_STEP_PIN 49 // PC14 STEP2 *
#define Y_DIR_PIN 47 // PC16 DIR2 * #define Y_DIR_PIN 47 // PC16 DIR2 *
#define Y_ENABLE_PIN 48 // PC15 EN2 * #define Y_ENABLE_PIN 48 // PC15 EN2 *
#define Z_STEP_PIN 36 // PC4 STEP Z * #define Z_STEP_PIN 36 // PC4 STEP Z *
#define Z_DIR_PIN 107 // PB10 DIR Z * #define Z_DIR_PIN 107 // PB10 DIR Z *
#define Z_ENABLE_PIN 96 // PC10 EN Z -AddOns * #define Z_ENABLE_PIN 96 // PC10 EN Z -AddOns *
#define E0_STEP_PIN 78 // PB23 STEP3 * #define E0_STEP_PIN 78 // PB23 STEP3 *
#define E0_DIR_PIN 22 // PB26 DIR3 * #define E0_DIR_PIN 22 // PB26 DIR3 *
#define E0_ENABLE_PIN 97 // PB24 EN3 -Addons * #define E0_ENABLE_PIN 97 // PB24 EN3 -Addons *
#define E1_STEP_PIN 26 // PD1 STEP4 * #define E1_STEP_PIN 26 // PD1 STEP4 *
#define E1_DIR_PIN 27 // PD2 DIR4 * #define E1_DIR_PIN 27 // PD2 DIR4 *
#define E1_ENABLE_PIN 28 // PD3 EN4 * #define E1_ENABLE_PIN 28 // PD3 EN4 *
// Microstepping mode pins * // Microstepping mode pins *
#define X_MS1_PIN 39 // PC7 MOD0E1 - As listed in schematic #define X_MS1_PIN 39 // PC7 MOD0E1 - As listed in schematic
#define X_MS2_PIN 38 // PC6 MOD1E1 #define X_MS2_PIN 38 // PC6 MOD1E1
#define X_MS3_PIN 37 // PC5 MOD2E1 #define X_MS3_PIN 37 // PC5 MOD2E1
#define Y_MS1_PIN 50 // PC13 MODE0E2 #define Y_MS1_PIN 50 // PC13 MODE0E2
#define Y_MS2_PIN 51 // PC12 MODE1E2 #define Y_MS2_PIN 51 // PC12 MODE1E2
#define Y_MS3_PIN 92 // PC11 MODE2E2 - AddOns #define Y_MS3_PIN 92 // PC11 MODE2E2 - AddOns
#define Z_MS1_PIN 44 // PC19 MOD0E Z #define Z_MS1_PIN 44 // PC19 MOD0E Z
#define Z_MS2_PIN 45 // PC18 MOD1E Z #define Z_MS2_PIN 45 // PC18 MOD1E Z
#define Z_MS3_PIN 46 // PC17 MOD2E Z #define Z_MS3_PIN 46 // PC17 MOD2E Z
#define E0_MS1_PIN 105 // PB22 MOD0E3 - AddOns #define E0_MS1_PIN 105 // PB22 MOD0E3 - AddOns
#define E0_MS2_PIN 106 // PC27 MOD1E3 - AddOns #define E0_MS2_PIN 106 // PC27 MOD1E3 - AddOns
#define E0_MS3_PIN 104 // PC20 MOD2E3 - AddOns #define E0_MS3_PIN 104 // PC20 MOD2E3 - AddOns
#define E1_MS1_PIN 25 // PD0 MOD0E4 #define E1_MS1_PIN 25 // PD0 MOD0E4
#define E1_MS2_PIN 18 // PA11 MOD1E4 #define E1_MS2_PIN 18 // PA11 MOD1E4
#define E1_MS3_PIN 19 // PA10 MOD2E4 #define E1_MS3_PIN 19 // PA10 MOD2E4
// Motor current PWM pins * // Motor current PWM pins *
#define MOTOR_CURRENT_PWM_X_PIN 58 // PA6 X-REF TIOB2 #define MOTOR_CURRENT_PWM_X_PIN 58 // PA6 X-REF TIOB2
#define MOTOR_CURRENT_PWM_Y_PIN 12 // PD8 Y-REF TIOB8 #define MOTOR_CURRENT_PWM_Y_PIN 12 // PD8 Y-REF TIOB8
#define MOTOR_CURRENT_PWM_Z_PIN 10 // PC29 Z-REF TIOB7 #define MOTOR_CURRENT_PWM_Z_PIN 10 // PC29 Z-REF TIOB7
#define MOTOR_CURRENT_PWM_E0_PIN 3 // PC28 E1-REF TIOA7 #define MOTOR_CURRENT_PWM_E0_PIN 3 // PC28 E1-REF TIOA7
#define MOTOR_CURRENT_PWM_E1_PIN 11 // PD7 E2-REF TIOA8 #define MOTOR_CURRENT_PWM_E1_PIN 11 // PD7 E2-REF TIOA8
#define MOTOR_CURRENT_PWM_RANGE 2750 // (3.3 Volts * 100000 Ohms) / (100000 Ohms + 20000 Ohms) = 2.75 Volts (max vref) #define MOTOR_CURRENT_PWM_RANGE 2750 // (3.3 Volts * 100000 Ohms) / (100000 Ohms + 20000 Ohms) = 2.75 Volts (max vref)
#define DEFAULT_PWM_MOTOR_CURRENT { 1000, 1000, 1000 } //, 1000, 1000} // X Y Z E0 E1, 1000 = 1000mAh #define DEFAULT_PWM_MOTOR_CURRENT { 1000, 1000, 1000 } //, 1000, 1000} // X Y Z E0 E1, 1000 = 1000mAh
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 10 // D10 PB19 THERM AN1 * #define TEMP_0_PIN 10 // D10 PB19 THERM AN1 *
#define TEMP_1_PIN 9 // D9 PB18 THERM AN2 * #define TEMP_1_PIN 9 // D9 PB18 THERM AN2 *
#define TEMP_2_PIN 8 // D8 PB17 THERM AN4 * #define TEMP_2_PIN 8 // D8 PB17 THERM AN4 *
#define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 * #define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 *
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 6 // D6 PC24 FET_PWM3 #define HEATER_0_PIN 6 // D6 PC24 FET_PWM3
#define HEATER_1_PIN 7 // D7 PC23 FET_PWM4 #define HEATER_1_PIN 7 // D7 PC23 FET_PWM4
#define HEATER_2_PIN 8 // D8 PC22 FET_PWM5 #define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
#define HEATER_BED_PIN 9 // D9 PC21 BED_PWM #define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 4 // D4 PC26 FET_PWM1 #define FAN_PIN 4 // D4 PC26 FET_PWM1
#endif #endif
#define FAN1_PIN 5 // D5 PC25 FET_PWM2 #define FAN1_PIN 5 // D5 PC25 FET_PWM2
// //
// Misc. Functions // Misc. Functions
// //
// Internal MicroSD card reader on the PCB // Internal MicroSD card reader on the PCB
#define INT_SCK_PIN 42 // D42 PA19/MCCK #define INT_SCK_PIN 42 // D42 PA19/MCCK
#define INT_MISO_PIN 43 // D43 PA20/MCCDA #define INT_MISO_PIN 43 // D43 PA20/MCCDA
#define INT_MOSI_PIN 73 // D73 PA21/MCDA0 #define INT_MOSI_PIN 73 // D73 PA21/MCDA0
#define INT_SDSS 55 // D55 PA24/MCDA3 #define INT_SDSS 55 // D55 PA24/MCDA3
// External SD card reader on SC2 // External SD card reader on SC2
#define SCK_PIN 76 // D76 PA27 #define SCK_PIN 76 // D76 PA27
#define MISO_PIN 74 // D74 PA25 #define MISO_PIN 74 // D74 PA25
#define MOSI_PIN 75 // D75 PA26 #define MOSI_PIN 75 // D75 PA26
#define SDSS 87 // D87 PA29 #define SDSS 87 // D87 PA29
// 2MB SPI Flash // 2MB SPI Flash
#define SPI_FLASH_SS 52 // D52 PB21 #define SPI_FLASH_SS 52 // D52 PB21
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define BEEPER_PIN 23 // D24 PA15_CTS1 #define BEEPER_PIN 23 // D24 PA15_CTS1
#define LCD_PINS_RS 17 // D17 PA12_RXD1 #define LCD_PINS_RS 17 // D17 PA12_RXD1
#define LCD_PINS_ENABLE 24 // D23 PA14_RTS1 #define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
#define LCD_PINS_D4 69 // D69 PA0_CANTX0 #define LCD_PINS_D4 69 // D69 PA0_CANTX0
#define LCD_PINS_D5 54 // D54 PA16_SCK1 #define LCD_PINS_D5 54 // D54 PA16_SCK1
#define LCD_PINS_D6 68 // D68 PA1_CANRX0 #define LCD_PINS_D6 68 // D68 PA1_CANRX0
#define LCD_PINS_D7 34 // D34 PC2_PWML0 #define LCD_PINS_D7 34 // D34 PC2_PWML0
#define SD_DETECT_PIN 2 // D2 PB25_TIOA0 #define SD_DETECT_PIN 2 // D2 PB25_TIOA0
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
// Buttons on AUX-2 // Buttons on AUX-2
#define BTN_EN1 60 // D60 PA3_TIOB1 #define BTN_EN1 60 // D60 PA3_TIOB1
#define BTN_EN2 13 // D13 PB27_TIOB0 #define BTN_EN2 13 // D13 PB27_TIOB0
#define BTN_ENC 16 // D16 PA13_TXD1 #define BTN_ENC 16 // D16 PA13_TXD1
#endif // NEWPANEL #endif // NEWPANEL
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -52,8 +52,8 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 20 // D20 PB12 (Header J20 20) #define SERVO0_PIN 20 // D20 PB12 (Header J20 20)
#define SERVO1_PIN 21 // D21 PB13 (Header J20 19) #define SERVO1_PIN 21 // D21 PB13 (Header J20 19)
// //
// Limit Switches // Limit Switches
@ -65,83 +65,83 @@
// Otherwise use a physical endstop based configuration. // Otherwise use a physical endstop based configuration.
// TMC2130 Diag Pins // TMC2130 Diag Pins
#define X_DIAG_PIN 59 // PA4 #define X_DIAG_PIN 59 // PA4
#define Y_DIAG_PIN 48 // PC15 #define Y_DIAG_PIN 48 // PC15
#define Z_DIAG_PIN 36 // PC4 #define Z_DIAG_PIN 36 // PC4
#define E0_DIAG_PIN 78 // PB23 #define E0_DIAG_PIN 78 // PB23
#define E1_DIAG_PIN 25 // PD0 #define E1_DIAG_PIN 25 // PD0
#if X_HOME_DIR < 0 #if X_HOME_DIR < 0
#define X_MIN_PIN X_DIAG_PIN #define X_MIN_PIN X_DIAG_PIN
#define X_MAX_PIN 32 #define X_MAX_PIN 32
#else #else
#define X_MIN_PIN 14 #define X_MIN_PIN 14
#define X_MAX_PIN X_DIAG_PIN #define X_MAX_PIN X_DIAG_PIN
#endif #endif
#if Y_HOME_DIR < 0 #if Y_HOME_DIR < 0
#define Y_MIN_PIN Y_DIAG_PIN #define Y_MIN_PIN Y_DIAG_PIN
#define Y_MAX_PIN 15 #define Y_MAX_PIN 15
#else #else
#define Y_MIN_PIN 29 #define Y_MIN_PIN 29
#define Y_MAX_PIN Y_DIAG_PIN #define Y_MAX_PIN Y_DIAG_PIN
#endif #endif
#else #else
#define X_MIN_PIN 14 // PD4 MIN ES1 #define X_MIN_PIN 14 // PD4 MIN ES1
#define X_MAX_PIN 32 // PD10 MAX ES1 #define X_MAX_PIN 32 // PD10 MAX ES1
#define Y_MIN_PIN 29 // PD6 MIN ES2 #define Y_MIN_PIN 29 // PD6 MIN ES2
#define Y_MAX_PIN 15 // PD5 MAX ES2 #define Y_MAX_PIN 15 // PD5 MAX ES2
#endif #endif
#define Z_MIN_PIN 31 // PA7 MIN ES3 #define Z_MIN_PIN 31 // PA7 MIN ES3
#define Z_MAX_PIN 30 // PD9 MAX ES3 #define Z_MAX_PIN 30 // PD9 MAX ES3
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 32
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 38 // PC6 X-STEP * #define X_STEP_PIN 38 // PC6 X-STEP *
#define X_DIR_PIN 37 // PC5 X-DIR * #define X_DIR_PIN 37 // PC5 X-DIR *
#define X_ENABLE_PIN 41 // PC9 EN1 #define X_ENABLE_PIN 41 // PC9 EN1
#ifndef X_CS_PIN #ifndef X_CS_PIN
#define X_CS_PIN 39 // PC7 X_nCS #define X_CS_PIN 39 // PC7 X_nCS
#endif #endif
#define Y_STEP_PIN 51 // PC12 Y-STEP * #define Y_STEP_PIN 51 // PC12 Y-STEP *
#define Y_DIR_PIN 92 // PC11 Y-DIR -AddOns * #define Y_DIR_PIN 92 // PC11 Y-DIR -AddOns *
#define Y_ENABLE_PIN 49 // PC14 Y-EN * #define Y_ENABLE_PIN 49 // PC14 Y-EN *
#ifndef Y_CS_PIN #ifndef Y_CS_PIN
#define Y_CS_PIN 50 // PC13 Y_nCS #define Y_CS_PIN 50 // PC13 Y_nCS
#endif #endif
#define Z_STEP_PIN 46 // PC17 Z-STEP * #define Z_STEP_PIN 46 // PC17 Z-STEP *
#define Z_DIR_PIN 47 // PC16 Z-DIR * #define Z_DIR_PIN 47 // PC16 Z-DIR *
#define Z_ENABLE_PIN 44 // PC19 Z-END * #define Z_ENABLE_PIN 44 // PC19 Z-END *
#ifndef Z_CS_PIN #ifndef Z_CS_PIN
#define Z_CS_PIN 45 // PC18 Z_nCS #define Z_CS_PIN 45 // PC18 Z_nCS
#endif #endif
#define E0_STEP_PIN 107 // PB10 E1-STEP -AddOns * #define E0_STEP_PIN 107 // PB10 E1-STEP -AddOns *
#define E0_DIR_PIN 96 // PC10 E1-DIR -AddOns * #define E0_DIR_PIN 96 // PC10 E1-DIR -AddOns *
#define E0_ENABLE_PIN 105 // PB22 E1-EN -AddOns * #define E0_ENABLE_PIN 105 // PB22 E1-EN -AddOns *
#ifndef E0_CS_PIN #ifndef E0_CS_PIN
#define E0_CS_PIN 104 // PC20 E1_nCS -AddOns * #define E0_CS_PIN 104 // PC20 E1_nCS -AddOns *
#endif #endif
#define E1_STEP_PIN 22 // PB26 E2_STEP * #define E1_STEP_PIN 22 // PB26 E2_STEP *
#define E1_DIR_PIN 97 // PB24 E2_DIR -AddOns * #define E1_DIR_PIN 97 // PB24 E2_DIR -AddOns *
#define E1_ENABLE_PIN 18 // PA11 E2-EN #define E1_ENABLE_PIN 18 // PA11 E2-EN
#ifndef E1_CS_PIN #ifndef E1_CS_PIN
#define E1_CS_PIN 19 // PA10 E2_nCS #define E1_CS_PIN 19 // PA10 E2_nCS
#endif #endif
// //
@ -150,106 +150,106 @@
// //
#if ENABLED(TMC_USE_SW_SPI) #if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SW_MOSI #ifndef TMC_SW_MOSI
#define TMC_SW_MOSI 28 // PD3 #define TMC_SW_MOSI 28 // PD3
#endif #endif
#ifndef TMC_SW_MISO #ifndef TMC_SW_MISO
#define TMC_SW_MISO 26 // PD1 #define TMC_SW_MISO 26 // PD1
#endif #endif
#ifndef TMC_SW_SCK #ifndef TMC_SW_SCK
#define TMC_SW_SCK 27 // PD2 #define TMC_SW_SCK 27 // PD2
#endif #endif
#endif #endif
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 10 // D10 PB19 THERM AN1 * #define TEMP_0_PIN 10 // D10 PB19 THERM AN1 *
#define TEMP_1_PIN 9 // D9 PB18 THERM AN2 * #define TEMP_1_PIN 9 // D9 PB18 THERM AN2 *
#define TEMP_2_PIN 8 // D8 PB17 THERM AN4 * #define TEMP_2_PIN 8 // D8 PB17 THERM AN4 *
#define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 * #define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 *
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 6 // D6 PC24 FET_PWM3 #define HEATER_0_PIN 6 // D6 PC24 FET_PWM3
#define HEATER_1_PIN 7 // D7 PC23 FET_PWM4 #define HEATER_1_PIN 7 // D7 PC23 FET_PWM4
#define HEATER_2_PIN 8 // D8 PC22 FET_PWM5 #define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
#define HEATER_BED_PIN 9 // D9 PC21 BED_PWM #define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 4 // D4 PC26 FET_PWM1 #define FAN_PIN 4 // D4 PC26 FET_PWM1
#endif #endif
#define FAN1_PIN 5 // D5 PC25 FET_PWM2 #define FAN1_PIN 5 // D5 PC25 FET_PWM2
// //
// Misc. Functions // Misc. Functions
// //
// Internal MicroSD card reader on the PCB // Internal MicroSD card reader on the PCB
#define INT_SCK_PIN 42 // D42 PA19/MCCK #define INT_SCK_PIN 42 // D42 PA19/MCCK
#define INT_MISO_PIN 43 // D43 PA20/MCCDA #define INT_MISO_PIN 43 // D43 PA20/MCCDA
#define INT_MOSI_PIN 73 // D73 PA21/MCDA0 #define INT_MOSI_PIN 73 // D73 PA21/MCDA0
#define INT_SDSS 55 // D55 PA24/MCDA3 #define INT_SDSS 55 // D55 PA24/MCDA3
// External SD card reader on SC2 // External SD card reader on SC2
#define SCK_PIN 76 // D76 PA27 #define SCK_PIN 76 // D76 PA27
#define MISO_PIN 74 // D74 PA25 #define MISO_PIN 74 // D74 PA25
#define MOSI_PIN 75 // D75 PA26 #define MOSI_PIN 75 // D75 PA26
#define SDSS 87 // D87 PA29 #define SDSS 87 // D87 PA29
// Unused Digital GPIO J20 Pins // Unused Digital GPIO J20 Pins
#define GPIO_PB1_J20_5 94 // D94 PB1 (Header J20 5) #define GPIO_PB1_J20_5 94 // D94 PB1 (Header J20 5)
#define GPIO_PB0_J20_6 95 // D95 PB0 (Header J20 6) #define GPIO_PB0_J20_6 95 // D95 PB0 (Header J20 6)
#define GPIO_PB3_J20_7 103 // D103 PB3 (Header J20 7) #define GPIO_PB3_J20_7 103 // D103 PB3 (Header J20 7)
#define GPIO_PB2_J20_8 93 // D93 PB2 (Header J20 8) #define GPIO_PB2_J20_8 93 // D93 PB2 (Header J20 8)
#define GPIO_PB6_J20_9 99 // D99 PB6 (Header J20 9) #define GPIO_PB6_J20_9 99 // D99 PB6 (Header J20 9)
#define GPIO_PB5_J20_10 101 // D101 PB5 (Header J20 10) #define GPIO_PB5_J20_10 101 // D101 PB5 (Header J20 10)
#define GPIO_PB8_J20_11 100 // D100 PB8 (Header J20 11) #define GPIO_PB8_J20_11 100 // D100 PB8 (Header J20 11)
#define GPIO_PB4_J20_12 102 // D102 PB4 (Header J20 12) #define GPIO_PB4_J20_12 102 // D102 PB4 (Header J20 12)
#define GPIO_PB9_J20_13 108 // D108 PB9 (Header J20 13) #define GPIO_PB9_J20_13 108 // D108 PB9 (Header J20 13)
#define GPIO_PB7_J20_14 98 // D98 PB7 (Header J20 14) #define GPIO_PB7_J20_14 98 // D98 PB7 (Header J20 14)
#define GPIO_PB15_J20_15 66 // D66 PB15 (Header J20 15) #define GPIO_PB15_J20_15 66 // D66 PB15 (Header J20 15)
#define GPIO_PB16_J20_16 67 // D67 PB16 (Header J20 16) #define GPIO_PB16_J20_16 67 // D67 PB16 (Header J20 16)
#define GPIO_PB14_J20_17 53 // D53 PB14 (Header J20 17) #define GPIO_PB14_J20_17 53 // D53 PB14 (Header J20 17)
#define GPIO_PA18_J20_21 71 // D71 PA17 (Header J20 21) #define GPIO_PA18_J20_21 71 // D71 PA17 (Header J20 21)
#define GPIO_PA17_J20_22 70 // D70 PA17 (Header J20 22) #define GPIO_PA17_J20_22 70 // D70 PA17 (Header J20 22)
// Case Light // Case Light
#define CASE_LIGHT_PIN GPIO_PB1_J20_5 #define CASE_LIGHT_PIN GPIO_PB1_J20_5
// 2MB SPI Flash // 2MB SPI Flash
#define SPI_FLASH_SS 52 // D52 PB21 #define SPI_FLASH_SS 52 // D52 PB21
// //
// Filament Runout Sensor // Filament Runout Sensor
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN GPIO_PB15_J20_15 #define FIL_RUNOUT_PIN GPIO_PB15_J20_15
#endif #endif
#ifndef FIL_RUNOUT2_PIN #ifndef FIL_RUNOUT2_PIN
#define FIL_RUNOUT2_PIN GPIO_PB16_J20_16 #define FIL_RUNOUT2_PIN GPIO_PB16_J20_16
#endif #endif
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE) #if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE)
#define BEEPER_PIN 23 // D24 PA15_CTS1 #define BEEPER_PIN 23 // D24 PA15_CTS1
#define LCD_PINS_RS 17 // D17 PA12_RXD1 #define LCD_PINS_RS 17 // D17 PA12_RXD1
#define LCD_PINS_ENABLE 24 // D23 PA14_RTS1 #define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
#define LCD_PINS_D4 69 // D69 PA0_CANTX0 #define LCD_PINS_D4 69 // D69 PA0_CANTX0
#define LCD_PINS_D5 54 // D54 PA16_SCK1 #define LCD_PINS_D5 54 // D54 PA16_SCK1
#define LCD_PINS_D6 68 // D68 PA1_CANRX0 #define LCD_PINS_D6 68 // D68 PA1_CANRX0
#define LCD_PINS_D7 34 // D34 PC2_PWML0 #define LCD_PINS_D7 34 // D34 PC2_PWML0
#define SD_DETECT_PIN 2 // D2 PB25_TIOA0 #define SD_DETECT_PIN 2 // D2 PB25_TIOA0
#if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE) #if ENABLED(ULTIPANEL) || TOUCH_UI_ULTIPANEL || ENABLED(TOUCH_UI_FTDI_EVE)
// Buttons on AUX-2 // Buttons on AUX-2
#define BTN_EN1 60 // D60 PA3_TIOB1 #define BTN_EN1 60 // D60 PA3_TIOB1
#define BTN_EN2 13 // D13 PB27_TIOB0 #define BTN_EN2 13 // D13 PB27_TIOB0
#define BTN_ENC 16 // D16 PA13_TXD1 // the click #define BTN_ENC 16 // D16 PA13_TXD1 // the click
#endif // ULTIPANEL || TOUCH_UI_ULTIPANEL #endif // ULTIPANEL || TOUCH_UI_ULTIPANEL
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -33,91 +33,91 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 6 #define SERVO0_PIN 6
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN 34 #define X_STOP_PIN 34
#define Y_STOP_PIN 39 #define Y_STOP_PIN 39
#define Z_STOP_PIN 62 #define Z_STOP_PIN 62
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 49 #define Z_MIN_PROBE_PIN 49
#endif #endif
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 14 #define X_STEP_PIN 14
#define X_DIR_PIN 25 #define X_DIR_PIN 25
#define X_ENABLE_PIN 26 #define X_ENABLE_PIN 26
#define Y_STEP_PIN 11 #define Y_STEP_PIN 11
#define Y_DIR_PIN 12 #define Y_DIR_PIN 12
#define Y_ENABLE_PIN 15 #define Y_ENABLE_PIN 15
#define Z_STEP_PIN 24 #define Z_STEP_PIN 24
#define Z_DIR_PIN 27 #define Z_DIR_PIN 27
#define Z_ENABLE_PIN 28 #define Z_ENABLE_PIN 28
#define E0_STEP_PIN 64 #define E0_STEP_PIN 64
#define E0_DIR_PIN 65 #define E0_DIR_PIN 65
#define E0_ENABLE_PIN 63 #define E0_ENABLE_PIN 63
#define E1_STEP_PIN 8 #define E1_STEP_PIN 8
#define E1_DIR_PIN 7 #define E1_DIR_PIN 7
#define E1_ENABLE_PIN 29 #define E1_ENABLE_PIN 29
// //
// Temperature Sensors // Temperature Sensors
// Analog Inputs // Analog Inputs
// //
#define TEMP_0_PIN 1 #define TEMP_0_PIN 1
#define TEMP_1_PIN 2 #define TEMP_1_PIN 2
#define TEMP_BED_PIN 4 #define TEMP_BED_PIN 4
#ifndef TEMP_CHAMBER_PIN #ifndef TEMP_CHAMBER_PIN
#define TEMP_CHAMBER_PIN 5 #define TEMP_CHAMBER_PIN 5
#endif #endif
// //
// Heaters // Heaters
// //
#define HEATER_0_PIN 3 #define HEATER_0_PIN 3
#define HEATER_1_PIN 4 #define HEATER_1_PIN 4
#define HEATER_BED_PIN 32 #define HEATER_BED_PIN 32
#define HEATER_CHAMBER_PIN 33 #define HEATER_CHAMBER_PIN 33
// //
// Fans // Fans
// //
//#define FAN0_PIN 8 //#define FAN0_PIN 8
#define ORIG_E0_AUTO_FAN_PIN 30 #define ORIG_E0_AUTO_FAN_PIN 30
#define ORIG_E1_AUTO_FAN_PIN 30 #define ORIG_E1_AUTO_FAN_PIN 30
#define ORIG_E2_AUTO_FAN_PIN 30 #define ORIG_E2_AUTO_FAN_PIN 30
#define ORIG_E3_AUTO_FAN_PIN 30 #define ORIG_E3_AUTO_FAN_PIN 30
#define ORIG_CHAMBER_AUTO_FAN_PIN 10 #define ORIG_CHAMBER_AUTO_FAN_PIN 10
// //
// SD card // SD card
// //
#define SCK_PIN 76 #define SCK_PIN 76
#define MISO_PIN 74 #define MISO_PIN 74
#define MOSI_PIN 75 #define MOSI_PIN 75
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 40 #define SD_DETECT_PIN 40
// Common I/O // Common I/O
//#define PWM_1_PIN 6 // probe //#define PWM_1_PIN 6 // probe
//#define PWM_2_PIN 13 //#define PWM_2_PIN 13
//#define SPARE_IO 17 //#define SPARE_IO 17
#define BEEPER_PIN 13 #define BEEPER_PIN 13
#define STAT_LED_BLUE_PIN -1 #define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 31 #define STAT_LED_RED_PIN 31
// G425 CALIBRATION_GCODE default pin // G425 CALIBRATION_GCODE default pin
#ifndef CALIBRATION_PIN #ifndef CALIBRATION_PIN
#define CALIBRATION_PIN 66 #define CALIBRATION_PIN 66
#endif #endif

View file

@ -34,138 +34,138 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 5 #define SERVO0_PIN 5
#define SERVO1_PIN 6 #define SERVO1_PIN 6
#define SERVO2_PIN 13 #define SERVO2_PIN 13
#define SERVO3_PIN -1 #define SERVO3_PIN -1
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 38 #define X_MIN_PIN 38
#define X_MAX_PIN 36 #define X_MAX_PIN 36
#define Y_MIN_PIN 34 #define Y_MIN_PIN 34
#define Y_MAX_PIN 32 #define Y_MAX_PIN 32
#define Z_MIN_PIN 30 #define Z_MIN_PIN 30
#define Z_MAX_PIN 28 #define Z_MAX_PIN 28
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 2 #define X_STEP_PIN 2
#define X_DIR_PIN 3 #define X_DIR_PIN 3
#define X_ENABLE_PIN 22 #define X_ENABLE_PIN 22
#define Y_STEP_PIN 17 #define Y_STEP_PIN 17
#define Y_DIR_PIN 16 #define Y_DIR_PIN 16
#define Y_ENABLE_PIN 26 #define Y_ENABLE_PIN 26
#define Z_STEP_PIN 61 // Z1 STP #define Z_STEP_PIN 61 // Z1 STP
#define Z_DIR_PIN 60 // Z1 DIR #define Z_DIR_PIN 60 // Z1 DIR
#define Z_ENABLE_PIN 15 // Z1 ENA #define Z_ENABLE_PIN 15 // Z1 ENA
#define E0_STEP_PIN 64 // Z2 STP #define E0_STEP_PIN 64 // Z2 STP
#define E0_DIR_PIN 63 // Z2 DIR #define E0_DIR_PIN 63 // Z2 DIR
#define E0_ENABLE_PIN 62 // Z2 ENA #define E0_ENABLE_PIN 62 // Z2 ENA
#define E1_STEP_PIN 51 // E1 STP #define E1_STEP_PIN 51 // E1 STP
#define E1_DIR_PIN 53 // E1 DIR #define E1_DIR_PIN 53 // E1 DIR
#define E1_ENABLE_PIN 65 // E1 ENA #define E1_ENABLE_PIN 65 // E1 ENA
#define E2_STEP_PIN 24 // E2 STP #define E2_STEP_PIN 24 // E2 STP
#define E2_DIR_PIN 23 // E2 DIR #define E2_DIR_PIN 23 // E2 DIR
#define E2_ENABLE_PIN 49 // E2 ENA #define E2_ENABLE_PIN 49 // E2 ENA
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor) #define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor)
#define TEMP_1_PIN 2 // Analog Input (HOTEND1 thermistor) #define TEMP_1_PIN 2 // Analog Input (HOTEND1 thermistor)
#define TEMP_2_PIN 5 // Analog Input (unused) #define TEMP_2_PIN 5 // Analog Input (unused)
#define TEMP_BED_PIN 1 // Analog Input (BED thermistor) #define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN -1 #define MAX6675_SS_PIN -1
#else #else
#define MAX6675_SS_PIN -1 #define MAX6675_SS_PIN -1
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 7 // HOTEND0 MOSFET #define HEATER_0_PIN 7 // HOTEND0 MOSFET
#define HEATER_1_PIN 8 // HOTEND1 MOSFET #define HEATER_1_PIN 8 // HOTEND1 MOSFET
#define HEATER_BED_PIN 39 // BED MOSFET #define HEATER_BED_PIN 39 // BED MOSFET
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 11 // FAN1 header on board - PRINT FAN #define FAN_PIN 11 // FAN1 header on board - PRINT FAN
#endif #endif
#define FAN1_PIN 9 // FAN2 header on board - CONTROLLER FAN #define FAN1_PIN 9 // FAN2 header on board - CONTROLLER FAN
#define FAN2_PIN 12 // FAN3 header on board - EXTRUDER0 FAN #define FAN2_PIN 12 // FAN3 header on board - EXTRUDER0 FAN
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 4 #define SDSS 4
#define PS_ON_PIN 40 #define PS_ON_PIN 40
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define LCD_PINS_RS 42 #define LCD_PINS_RS 42
#define LCD_PINS_ENABLE 43 #define LCD_PINS_ENABLE 43
#define LCD_PINS_D4 44 #define LCD_PINS_D4 44
#define LCD_PINS_D5 45 #define LCD_PINS_D5 45
#define LCD_PINS_D6 46 #define LCD_PINS_D6 46
#define LCD_PINS_D7 47 #define LCD_PINS_D7 47
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define BTN_EN1 50 #define BTN_EN1 50
#define BTN_EN2 52 #define BTN_EN2 52
#define BTN_ENC 48 #define BTN_ENC 48
#define SDSS 4 #define SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#elif ENABLED(RADDS_DISPLAY) #elif ENABLED(RADDS_DISPLAY)
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define BTN_EN1 50 #define BTN_EN1 50
#define BTN_EN2 52 #define BTN_EN2 52
#define BTN_ENC 48 #define BTN_ENC 48
#define BTN_BACK 71 #define BTN_BACK 71
#undef SDSS #undef SDSS
#define SDSS 4 #define SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#elif HAS_SSD1306_OLED_I2C #elif HAS_SSD1306_OLED_I2C
#define BTN_EN1 50 #define BTN_EN1 50
#define BTN_EN2 52 #define BTN_EN2 52
#define BTN_ENC 48 #define BTN_ENC 48
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define LCD_SDSS 4 #define LCD_SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#elif ENABLED(SPARK_FULL_GRAPHICS) #elif ENABLED(SPARK_FULL_GRAPHICS)
#define LCD_PINS_D4 29 #define LCD_PINS_D4 29
#define LCD_PINS_ENABLE 27 #define LCD_PINS_ENABLE 27
#define LCD_PINS_RS 25 #define LCD_PINS_RS 25
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 37 #define BTN_ENC 37
#define BEEPER_PIN -1 #define BEEPER_PIN -1
#endif // SPARK_FULL_GRAPHICS #endif // SPARK_FULL_GRAPHICS
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -34,141 +34,141 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN 5 #define SERVO0_PIN 5
#define SERVO1_PIN 6 #define SERVO1_PIN 6
#define SERVO2_PIN 8 // 4-pin header FAN0 #define SERVO2_PIN 8 // 4-pin header FAN0
#define SERVO3_PIN -1 #define SERVO3_PIN -1
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 38 #define X_MIN_PIN 38
#define X_MAX_PIN -1 #define X_MAX_PIN -1
#define Y_MIN_PIN 34 #define Y_MIN_PIN 34
#define Y_MAX_PIN -1 #define Y_MAX_PIN -1
#define Z_MIN_PIN 30 #define Z_MIN_PIN 30
#define Z_MAX_PIN -1 #define Z_MAX_PIN -1
// //
// Steppers // Steppers
// //
#define X_STEP_PIN 17 #define X_STEP_PIN 17
#define X_DIR_PIN 16 #define X_DIR_PIN 16
#define X_ENABLE_PIN 22 #define X_ENABLE_PIN 22
#define Y_STEP_PIN 2 #define Y_STEP_PIN 2
#define Y_DIR_PIN 3 #define Y_DIR_PIN 3
#define Y_ENABLE_PIN 26 #define Y_ENABLE_PIN 26
#define Z_STEP_PIN 64 #define Z_STEP_PIN 64
#define Z_DIR_PIN 63 #define Z_DIR_PIN 63
#define Z_ENABLE_PIN 15 #define Z_ENABLE_PIN 15
#define E0_STEP_PIN 61 #define E0_STEP_PIN 61
#define E0_DIR_PIN 60 #define E0_DIR_PIN 60
#define E0_ENABLE_PIN 62 #define E0_ENABLE_PIN 62
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor) #define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor)
#define TEMP_1_PIN 2 // Analog Input (unused) #define TEMP_1_PIN 2 // Analog Input (unused)
#define TEMP_2_PIN 5 // Analog Input (OnBoard thermistor beta 3950) #define TEMP_2_PIN 5 // Analog Input (OnBoard thermistor beta 3950)
#define TEMP_BED_PIN 1 // Analog Input (BED thermistor) #define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
// SPI for Max6675 or Max31855 Thermocouple // SPI for Max6675 or Max31855 Thermocouple
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)
#define MAX6675_SS_PIN 53 #define MAX6675_SS_PIN 53
#else #else
#define MAX6675_SS_PIN 53 #define MAX6675_SS_PIN 53
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 13 // HOTEND0 MOSFET #define HEATER_0_PIN 13 // HOTEND0 MOSFET
#define HEATER_BED_PIN 7 // BED MOSFET #define HEATER_BED_PIN 7 // BED MOSFET
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 11 // FAN1 header on board - PRINT FAN #define FAN_PIN 11 // FAN1 header on board - PRINT FAN
#endif #endif
#define FAN1_PIN 12 // FAN2 header on board - CONTROLLER FAN #define FAN1_PIN 12 // FAN2 header on board - CONTROLLER FAN
#define FAN2_PIN 9 // FAN3 header on board - EXTRUDER0 FAN #define FAN2_PIN 9 // FAN3 header on board - EXTRUDER0 FAN
//#define FAN3_PIN 8 // FAN0 4-pin header on board //#define FAN3_PIN 8 // FAN0 4-pin header on board
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 4 #define SDSS 4
#define PS_ON_PIN 40 #define PS_ON_PIN 40
// //
// LCD / Controller // LCD / Controller
// //
#if HAS_SPI_LCD #if HAS_SPI_LCD
#define LCD_PINS_RS 42 #define LCD_PINS_RS 42
#define LCD_PINS_ENABLE 43 #define LCD_PINS_ENABLE 43
#define LCD_PINS_D4 44 #define LCD_PINS_D4 44
#define LCD_PINS_D5 45 #define LCD_PINS_D5 45
#define LCD_PINS_D6 46 #define LCD_PINS_D6 46
#define LCD_PINS_D7 47 #define LCD_PINS_D7 47
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define BTN_EN1 50 #define BTN_EN1 50
#define BTN_EN2 52 #define BTN_EN2 52
#define BTN_ENC 48 #define BTN_ENC 48
#define SDSS 4 #define SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#elif ENABLED(RADDS_DISPLAY) #elif ENABLED(RADDS_DISPLAY)
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define BTN_EN1 50 #define BTN_EN1 50
#define BTN_EN2 52 #define BTN_EN2 52
#define BTN_ENC 48 #define BTN_ENC 48
#define BTN_BACK 71 #define BTN_BACK 71
#undef SDSS #undef SDSS
#define SDSS 4 #define SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#elif HAS_SSD1306_OLED_I2C #elif HAS_SSD1306_OLED_I2C
#define BTN_EN1 50 #define BTN_EN1 50
#define BTN_EN2 52 #define BTN_EN2 52
#define BTN_ENC 48 #define BTN_ENC 48
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define LCD_SDSS 4 #define LCD_SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#elif ENABLED(SPARK_FULL_GRAPHICS) #elif ENABLED(SPARK_FULL_GRAPHICS)
#define LCD_PINS_D4 29 #define LCD_PINS_D4 29
#define LCD_PINS_ENABLE 27 #define LCD_PINS_ENABLE 27
#define LCD_PINS_RS 25 #define LCD_PINS_RS 25
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 37 #define BTN_ENC 37
#define BEEPER_PIN -1 #define BEEPER_PIN -1
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BTN_EN1 52 #define BTN_EN1 52
#define BTN_EN2 50 #define BTN_EN2 50
#define BTN_ENC 48 #define BTN_ENC 48
#define LCD_SDSS 4 #define LCD_SDSS 4
#define SD_DETECT_PIN 14 #define SD_DETECT_PIN 14
#define BEEPER_PIN 41 #define BEEPER_PIN 41
#define DOGLCD_A0 46 #define DOGLCD_A0 46
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#endif // SPARK_FULL_GRAPHICS #endif // SPARK_FULL_GRAPHICS
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD

View file

@ -36,38 +36,38 @@
// //
// Servos // Servos
// //
//#define SERVO0_PIN -1 //#define SERVO0_PIN -1
//#define SERVO1_PIN -1 //#define SERVO1_PIN -1
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 22 // PB26 #define X_MIN_PIN 22 // PB26
#define Y_MAX_PIN 18 // PA11 #define Y_MAX_PIN 18 // PA11
#define Z_MIN_PIN 19 // PA10 #define Z_MIN_PIN 19 // PA10
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 22 #define Z_MIN_PROBE_PIN 22
#endif #endif
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
//#define FIL_RUNOUT_PIN 57 // PA22 //#define FIL_RUNOUT_PIN 57 // PA22
#endif #endif
#ifndef FIL_RUNOUT2_PIN #ifndef FIL_RUNOUT2_PIN
//#define FIL_RUNOUT2_PIN 21 // PB13 //#define FIL_RUNOUT2_PIN 21 // PB13
#endif #endif
// //
// LED defines // LED defines
// //
//#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h) //#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
//#define NEOPIXEL_PIN 20 // LED driving pin on motherboard //#define NEOPIXEL_PIN 20 // LED driving pin on motherboard
//#define NEOPIXEL_PIXELS 3 // Number of LEDs in the strip //#define NEOPIXEL_PIXELS 3 // Number of LEDs in the strip
//#define SDA0 20 // PB12 NeoPixel pin I2C data //#define SDA0 20 // PB12 NeoPixel pin I2C data
//#define SCL0 21 // PB13 I2C clock //#define SCL0 21 // PB13 I2C clock
// D0_12 #REF! (INDICATOR_LED) // D0_12 #REF! (INDICATOR_LED)
// B28 JTAG-CLK // B28 JTAG-CLK
@ -79,82 +79,82 @@
//A15 UART_CTS //A15 UART_CTS
//PB2 Unassigned //PB2 Unassigned
//PB4 to PB9 Unassigned //PB4 to PB9 Unassigned
//#define UART_RX_PIN 0 // PA8 "RX0" //#define UART_RX_PIN 0 // PA8 "RX0"
//#define UART_TX_PIN 1 // PA9 "TX0" //#define UART_TX_PIN 1 // PA9 "TX0"
//#define UART_RTS_PIN 23 // PA14 //#define UART_RTS_PIN 23 // PA14
//#define UART_CTS_PIN 24 // PA15 //#define UART_CTS_PIN 24 // PA15
// //
// Steppers // Steppers
// //
#define Z_STEP_PIN 73 // PA21 MOTOR 1 #define Z_STEP_PIN 73 // PA21 MOTOR 1
#define Z_DIR_PIN 75 // PA26 #define Z_DIR_PIN 75 // PA26
#define Z_ENABLE_PIN 74 // PA25 #define Z_ENABLE_PIN 74 // PA25
#define X_STEP_PIN 66 // PB15 MOTOR 2 #define X_STEP_PIN 66 // PB15 MOTOR 2
#define X_DIR_PIN 54 // PA16 #define X_DIR_PIN 54 // PA16
#define X_ENABLE_PIN 67 // PB16 #define X_ENABLE_PIN 67 // PB16
#define Y_STEP_PIN 34 // PA29 MOTOR 3 #define Y_STEP_PIN 34 // PA29 MOTOR 3
#define Y_DIR_PIN 35 // PB1 #define Y_DIR_PIN 35 // PB1
#define Y_ENABLE_PIN 36 // PB0 #define Y_ENABLE_PIN 36 // PB0
#define E0_STEP_PIN 53 // PB14 MOTOR 4 #define E0_STEP_PIN 53 // PB14 MOTOR 4
#define E0_DIR_PIN 78 // PB23 #define E0_DIR_PIN 78 // PB23
#define E0_ENABLE_PIN 37 // PB22 #define E0_ENABLE_PIN 37 // PB22
// Microstepping mode pins // Microstepping mode pins
#define Z_MS1_PIN 52 // PB21 MODE0 MOTOR 1 #define Z_MS1_PIN 52 // PB21 MODE0 MOTOR 1
#define Z_MS2_PIN 52 // PB21 MODE1 #define Z_MS2_PIN 52 // PB21 MODE1
#define Z_MS3_PIN 65 // PB20 MODE2 #define Z_MS3_PIN 65 // PB20 MODE2
#define X_MS1_PIN 43 // PA20 MODE0 MOTOR 2 #define X_MS1_PIN 43 // PA20 MODE0 MOTOR 2
#define X_MS2_PIN 43 // PA20 MODE1 #define X_MS2_PIN 43 // PA20 MODE1
#define X_MS3_PIN 42 // PA19 MODE2 #define X_MS3_PIN 42 // PA19 MODE2
#define Y_MS1_PIN 77 // PA28 MODE0 MOTOR 3 #define Y_MS1_PIN 77 // PA28 MODE0 MOTOR 3
#define Y_MS2_PIN 77 // PA28 MODE1 #define Y_MS2_PIN 77 // PA28 MODE1
#define Y_MS3_PIN 76 // PA27 MODE2 #define Y_MS3_PIN 76 // PA27 MODE2
#define E0_MS1_PIN 38 // PB11 MODE0 MOTOR 4 #define E0_MS1_PIN 38 // PB11 MODE0 MOTOR 4
#define E0_MS2_PIN 38 // PB11 MODE1 #define E0_MS2_PIN 38 // PB11 MODE1
#define E0_MS3_PIN 39 // PB10 MODE2 #define E0_MS3_PIN 39 // PB10 MODE2
// Motor current PWM pins // Motor current PWM pins
#define MOTOR_CURRENT_PWM_X_PIN 62 // PB17 MOTOR 1 #define MOTOR_CURRENT_PWM_X_PIN 62 // PB17 MOTOR 1
#define MOTOR_CURRENT_PWM_Z_PIN 63 // PB18 MOTOR 2 #define MOTOR_CURRENT_PWM_Z_PIN 63 // PB18 MOTOR 2
#define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19 MOTOR 3 #define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19 MOTOR 3
#define MOTOR_CURRENT_PWM_E_PIN 61 // PA2 MOTOR 4 #define MOTOR_CURRENT_PWM_E_PIN 61 // PA2 MOTOR 4
#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000} // XY Z E0, 1000 = 1000mAh #define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000} // XY Z E0, 1000 = 1000mAh
// //
// Temperature Sensors // Temperature Sensors
// //
#define TEMP_0_PIN 2 // digital 56 PA23 #define TEMP_0_PIN 2 // digital 56 PA23
#define TEMP_BED_PIN 5 // digital 59 PA4 #define TEMP_BED_PIN 5 // digital 59 PA4
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN 40 // PA5 #define HEATER_0_PIN 40 // PA5
#define HEATER_BED_PIN 41 // PB24 #define HEATER_BED_PIN 41 // PB24
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 13 // PB27 Fan1A #define FAN_PIN 13 // PB27 Fan1A
#endif #endif
#define FAN1_PIN 58 // PA6 Fan1B #define FAN1_PIN 58 // PA6 Fan1B
#define FET_SAFETY_PIN 31 // PA7 must be pulsed low every 50 mS or FETs are turned off #define FET_SAFETY_PIN 31 // PA7 must be pulsed low every 50 mS or FETs are turned off
#define FET_SAFETY_DELAY 50 // 50 mS delay between pulses #define FET_SAFETY_DELAY 50 // 50 mS delay between pulses
#define FET_SAFETY_INVERTED true // true - negative going pulse of 2 uS #define FET_SAFETY_INVERTED true // true - negative going pulse of 2 uS
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
#define MISO_PIN 68 // set to unused pins for now #define MISO_PIN 68 // set to unused pins for now
#define MOSI_PIN 69 // set to unused pins for now #define MOSI_PIN 69 // set to unused pins for now
#define SCK_PIN 70 // set to unused pins for now #define SCK_PIN 70 // set to unused pins for now
#define SDSS 71 // set to unused pins for now #define SDSS 71 // set to unused pins for now
/** /**
* G2 uses 8 pins that are not available in the DUE environment: * G2 uses 8 pins that are not available in the DUE environment:

Some files were not shown because too many files have changed in this diff Show more