Format some pins files
This commit is contained in:
committed by
Scott Lahteine
parent
9340a33980
commit
2c325c2a7d
@ -40,11 +40,11 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define RAMPS_D8_PIN 9
|
||||
#define RAMPS_D9_PIN 8
|
||||
#define MOSFET_D_PIN 12
|
||||
#define RAMPS_D8_PIN 9
|
||||
#define RAMPS_D9_PIN 8
|
||||
#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"
|
||||
|
||||
@ -57,21 +57,21 @@
|
||||
// Steppers
|
||||
//
|
||||
#undef Z_ENABLE_PIN
|
||||
#define Z_ENABLE_PIN 63
|
||||
#define Z_ENABLE_PIN 63
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_2_PIN 6
|
||||
#define HEATER_2_PIN 6
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#undef SDSS
|
||||
#define SDSS 25
|
||||
#define SDSS 25
|
||||
|
||||
#undef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 53
|
||||
#define SD_DETECT_PIN 53
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -85,24 +85,24 @@
|
||||
#undef LCD_PINS_D5
|
||||
#undef LCD_PINS_D6
|
||||
#undef LCD_PINS_D7
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 37
|
||||
#define LCD_PINS_D5 35
|
||||
#define LCD_PINS_D6 33
|
||||
#define LCD_PINS_D7 31
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 37
|
||||
#define LCD_PINS_D5 35
|
||||
#define LCD_PINS_D6 33
|
||||
#define LCD_PINS_D7 31
|
||||
|
||||
// Buttons
|
||||
#undef BTN_EN1
|
||||
#undef BTN_EN2
|
||||
#undef BTN_ENC
|
||||
#define BTN_EN1 16
|
||||
#define BTN_EN2 17
|
||||
#define BTN_ENC 23
|
||||
#define BTN_EN1 16
|
||||
#define BTN_EN2 17
|
||||
#define BTN_ENC 23
|
||||
|
||||
#else
|
||||
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
#endif // HAS_SPI_LCD && NEWPANEL
|
||||
|
||||
@ -137,7 +137,7 @@
|
||||
*
|
||||
* 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_DIR_PIN
|
||||
|
||||
@ -149,14 +149,14 @@
|
||||
#undef Z_DIR_PIN
|
||||
#undef Z_ENABLE_PIN
|
||||
#undef Z_STEP_PIN
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 24
|
||||
#define Z_STEP_PIN 26
|
||||
#define SPINDLE_LASER_PWM_PIN 46 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 62 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 48
|
||||
#elif !BOTH(ULTRA_LCD, NEWPANEL) // use expansion header if no LCD in use
|
||||
#define SPINDLE_LASER_ENA_PIN 16 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 17
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 24
|
||||
#define Z_STEP_PIN 26
|
||||
#define SPINDLE_LASER_PWM_PIN 46 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 62 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 48
|
||||
#elif !BOTH(ULTRA_LCD, NEWPANEL) // use expansion header if no LCD in use
|
||||
#define SPINDLE_LASER_ENA_PIN 16 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 17
|
||||
#endif
|
||||
#endif
|
||||
|
@ -32,15 +32,15 @@
|
||||
#endif
|
||||
|
||||
#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
|
||||
#define BOARD_INFO_NAME "Azteeg X3"
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 44 // SERVO1 port
|
||||
#define SERVO1_PIN 55 // SERVO2 port
|
||||
#define SERVO0_PIN 44 // SERVO1 port
|
||||
#define SERVO1_PIN 55 // SERVO2 port
|
||||
|
||||
#include "pins_RAMPS_13.h"
|
||||
|
||||
@ -55,17 +55,17 @@
|
||||
#undef DOGLCD_A0
|
||||
#undef DOGLCD_CS
|
||||
#undef BTN_ENC
|
||||
#define DOGLCD_A0 31
|
||||
#define DOGLCD_CS 32
|
||||
#define BTN_ENC 12
|
||||
#define DOGLCD_A0 31
|
||||
#define DOGLCD_CS 32
|
||||
#define BTN_ENC 12
|
||||
|
||||
#define STAT_LED_RED_PIN 64
|
||||
#define STAT_LED_BLUE_PIN 63
|
||||
#define STAT_LED_RED_PIN 64
|
||||
#define STAT_LED_BLUE_PIN 63
|
||||
|
||||
#else
|
||||
|
||||
#define STAT_LED_RED_PIN 6
|
||||
#define STAT_LED_BLUE_PIN 11
|
||||
#define STAT_LED_RED_PIN 6
|
||||
#define STAT_LED_BLUE_PIN 11
|
||||
|
||||
#endif
|
||||
|
||||
@ -79,18 +79,18 @@
|
||||
//
|
||||
// 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_DIR_PIN
|
||||
|
||||
#if HAS_CUTTER
|
||||
#undef SDA // use EXP3 header
|
||||
#undef SDA // use EXP3 header
|
||||
#undef SCL
|
||||
#if SERVO0_PIN == 7
|
||||
#undef SERVO0_PIN
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO0_PIN 11
|
||||
#endif
|
||||
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 20 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 21
|
||||
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 20 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 21
|
||||
#endif
|
||||
|
@ -43,21 +43,21 @@
|
||||
// Tested this pin with bed leveling on a Delta with 1 servo.
|
||||
// Physical wire attachment on EXT1: GND, 5V, D47.
|
||||
//
|
||||
#define SERVO0_PIN 47
|
||||
#define SERVO0_PIN 47
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 3
|
||||
#define Y_STOP_PIN 14
|
||||
#define Z_STOP_PIN 18
|
||||
#define X_STOP_PIN 3
|
||||
#define Y_STOP_PIN 14
|
||||
#define Z_STOP_PIN 18
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 6
|
||||
#define FAN_PIN 6
|
||||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
||||
#define CASE_LIGHT_PIN 44
|
||||
#define CASE_LIGHT_PIN 44
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -67,100 +67,100 @@
|
||||
|
||||
// DIGIPOT slave addresses
|
||||
#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
|
||||
#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
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 18
|
||||
#define Z_MIN_PROBE_PIN 18
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define E2_STEP_PIN 23
|
||||
#define E2_DIR_PIN 25
|
||||
#define E2_ENABLE_PIN 40
|
||||
#define E2_STEP_PIN 23
|
||||
#define E2_DIR_PIN 25
|
||||
#define E2_ENABLE_PIN 40
|
||||
|
||||
#define E3_STEP_PIN 27
|
||||
#define E3_DIR_PIN 29
|
||||
#define E3_ENABLE_PIN 41
|
||||
#define E3_STEP_PIN 27
|
||||
#define E3_DIR_PIN 29
|
||||
#define E3_ENABLE_PIN 41
|
||||
|
||||
#define E4_STEP_PIN 43
|
||||
#define E4_DIR_PIN 37
|
||||
#define E4_ENABLE_PIN 42
|
||||
#define E4_STEP_PIN 43
|
||||
#define E4_DIR_PIN 37
|
||||
#define E4_ENABLE_PIN 42
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_2_PIN 12 // Analog Input
|
||||
#define TEMP_3_PIN 11 // Analog Input
|
||||
#define TEMP_4_PIN 10 // Analog Input
|
||||
#define TC1 4 // Analog Input (Thermo couple on Azteeg X3Pro)
|
||||
#define TC2 5 // Analog Input (Thermo couple on Azteeg X3Pro)
|
||||
#define TEMP_2_PIN 12 // Analog Input
|
||||
#define TEMP_3_PIN 11 // Analog Input
|
||||
#define TEMP_4_PIN 10 // Analog Input
|
||||
#define TC1 4 // Analog Input (Thermo couple on Azteeg X3Pro)
|
||||
#define TC2 5 // Analog Input (Thermo couple on Azteeg X3Pro)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_2_PIN 16
|
||||
#define HEATER_3_PIN 17
|
||||
#define HEATER_4_PIN 4
|
||||
#define HEATER_5_PIN 5
|
||||
#define HEATER_6_PIN 6
|
||||
#define HEATER_7_PIN 11
|
||||
#define HEATER_2_PIN 16
|
||||
#define HEATER_3_PIN 17
|
||||
#define HEATER_4_PIN 4
|
||||
#define HEATER_5_PIN 5
|
||||
#define HEATER_6_PIN 6
|
||||
#define HEATER_7_PIN 11
|
||||
|
||||
#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
|
||||
|
||||
// Fans/Water Pump to cool the hotend cool side.
|
||||
#define ORIG_E0_AUTO_FAN_PIN 5
|
||||
#define ORIG_E1_AUTO_FAN_PIN 5
|
||||
#define ORIG_E2_AUTO_FAN_PIN 5
|
||||
#define ORIG_E3_AUTO_FAN_PIN 5
|
||||
#define ORIG_E0_AUTO_FAN_PIN 5
|
||||
#define ORIG_E1_AUTO_FAN_PIN 5
|
||||
#define ORIG_E2_AUTO_FAN_PIN 5
|
||||
#define ORIG_E3_AUTO_FAN_PIN 5
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#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
|
||||
#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
|
||||
#define STAT_LED_RED_PIN 32
|
||||
#define STAT_LED_BLUE_PIN 35
|
||||
#define STAT_LED_RED_PIN 32
|
||||
#define STAT_LED_BLUE_PIN 35
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#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
|
||||
#define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments
|
||||
#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
|
||||
// as the wiring diagram uses pin 44 for DOGLCD_A0
|
||||
#endif
|
||||
|
||||
//
|
||||
// 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_DIR_PIN
|
||||
|
||||
#if HAS_CUTTER // EXP2 header
|
||||
#if HAS_CUTTER // EXP2 header
|
||||
#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
|
||||
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 20 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 21
|
||||
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 20 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 21
|
||||
#endif
|
||||
|
@ -34,9 +34,9 @@
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 66 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 67
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 66 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 67
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
@ -45,5 +45,5 @@
|
||||
//
|
||||
#undef TEMP_0_PIN
|
||||
#undef TEMP_1_PIN
|
||||
#define TEMP_0_PIN 9 // Analog Input
|
||||
#define TEMP_1_PIN 11 // Analog Input
|
||||
#define TEMP_0_PIN 9 // Analog Input
|
||||
#define TEMP_1_PIN 11 // Analog Input
|
||||
|
@ -34,30 +34,30 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define RAMPS_D8_PIN 10
|
||||
#define RAMPS_D9_PIN 12
|
||||
#define RAMPS_D10_PIN 9
|
||||
#define MOSFET_D_PIN 7
|
||||
#define RAMPS_D8_PIN 10
|
||||
#define RAMPS_D9_PIN 12
|
||||
#define RAMPS_D10_PIN 9
|
||||
#define MOSFET_D_PIN 7
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
//
|
||||
#define ORIG_E0_AUTO_FAN_PIN 11
|
||||
#define ORIG_E1_AUTO_FAN_PIN 6
|
||||
#define ORIG_E2_AUTO_FAN_PIN 6
|
||||
#define ORIG_E3_AUTO_FAN_PIN 6
|
||||
#define ORIG_E0_AUTO_FAN_PIN 11
|
||||
#define ORIG_E1_AUTO_FAN_PIN 6
|
||||
#define ORIG_E2_AUTO_FAN_PIN 6
|
||||
#define ORIG_E3_AUTO_FAN_PIN 6
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 42
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 42
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MAX_PIN 79 // 2
|
||||
#define X_MAX_PIN 79 // 2
|
||||
|
||||
//
|
||||
// Import RAMPS 1.3 pins
|
||||
@ -68,34 +68,33 @@
|
||||
// Z Probe (when not Z_MIN_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
|
||||
#define Z_ENABLE_PIN 77 // 62
|
||||
#define Z_ENABLE_PIN 77 // 62
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define DIGIPOTSS_PIN 22
|
||||
#define DIGIPOTSS_PIN 22
|
||||
#define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 }
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#undef TEMP_1_PIN
|
||||
#define TEMP_1_PIN 14 // Analog Input (15)
|
||||
#define TEMP_1_PIN 14 // Analog Input (15)
|
||||
|
||||
#undef TEMP_BED_PIN
|
||||
#define TEMP_BED_PIN 15 // Analog Input (14)
|
||||
#define TEMP_BED_PIN 15 // Analog Input (14)
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#undef PS_ON_PIN // 12
|
||||
#define PS_ON_PIN 81 // External Power Supply
|
||||
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#undef PS_ON_PIN // 12
|
||||
#define PS_ON_PIN 81 // External Power Supply
|
||||
|
||||
#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
|
||||
// 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
|
||||
#undef Z_MIN_PIN
|
||||
#undef Z_MAX_PIN
|
||||
#define Z_MIN_PIN 19 // IND_S_5V
|
||||
#define Z_MAX_PIN 18 // Z-MIN Label
|
||||
#define Z_MIN_PIN 19 // IND_S_5V
|
||||
#define Z_MAX_PIN 18 // Z-MIN Label
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -113,5 +112,5 @@
|
||||
//
|
||||
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||
#undef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN 8
|
||||
#define HEATER_BED_PIN 8
|
||||
#endif
|
||||
|
@ -34,68 +34,68 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 54 // PF0 / A0
|
||||
#define Y_STOP_PIN 24 // PA2 / AD2
|
||||
#define Z_MIN_PIN 23 // PA1 / AD1
|
||||
#define Z_MAX_PIN 25 // PA3 / AD3
|
||||
#define SERVO0_PIN 40 // PG1 / !RD
|
||||
#define X_STOP_PIN 54 // PF0 / A0
|
||||
#define Y_STOP_PIN 24 // PA2 / AD2
|
||||
#define Z_MIN_PIN 23 // PA1 / AD1
|
||||
#define Z_MAX_PIN 25 // PA3 / AD3
|
||||
#define SERVO0_PIN 40 // PG1 / !RD
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 61 // PF7 / A7
|
||||
#define X_DIR_PIN 62 // PK0 / A8
|
||||
#define X_ENABLE_PIN 60 // PF6 / A6
|
||||
#define X_STEP_PIN 61 // PF7 / A7
|
||||
#define X_DIR_PIN 62 // PK0 / A8
|
||||
#define X_ENABLE_PIN 60 // PF6 / A6
|
||||
|
||||
#define Y_STEP_PIN 64 // PK2 / A10
|
||||
#define Y_DIR_PIN 65 // PK3 / A11
|
||||
#define Y_ENABLE_PIN 63 // PK1 / A9
|
||||
#define Y_STEP_PIN 64 // PK2 / A10
|
||||
#define Y_DIR_PIN 65 // PK3 / A11
|
||||
#define Y_ENABLE_PIN 63 // PK1 / A9
|
||||
|
||||
#define Z_STEP_PIN 67 // PK5 / A13
|
||||
#define Z_DIR_PIN 69 // PK7 / A15
|
||||
#define Z_ENABLE_PIN 66 // PK4 / A12
|
||||
#define Z_MIN_PROBE_PIN 25 // PA3 / AD3
|
||||
#define Z_STEP_PIN 67 // PK5 / A13
|
||||
#define Z_DIR_PIN 69 // PK7 / A15
|
||||
#define Z_ENABLE_PIN 66 // PK4 / A12
|
||||
#define Z_MIN_PROBE_PIN 25 // PA3 / AD3
|
||||
|
||||
#define E0_STEP_PIN 58 // PF4 / A4
|
||||
#define E0_DIR_PIN 59 // PF5 / A5
|
||||
#define E0_ENABLE_PIN 57 // PF3 / A3
|
||||
#define E0_STEP_PIN 58 // PF4 / A4
|
||||
#define E0_DIR_PIN 59 // PF5 / A5
|
||||
#define E0_ENABLE_PIN 57 // PF3 / A3
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 1 // PF1 / A1 Analog
|
||||
#define TEMP_BED_PIN 14 // PK6 / A14 Analog
|
||||
#define TEMP_0_PIN 1 // PF1 / A1 Analog
|
||||
#define TEMP_BED_PIN 14 // PK6 / A14 Analog
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 4 // PG5 / PWM4
|
||||
#define HEATER_BED_PIN 3 // PE5 / PWM3
|
||||
#define HEATER_0_PIN 4 // PG5 / PWM4
|
||||
#define HEATER_BED_PIN 3 // PE5 / PWM3
|
||||
|
||||
#define FAN_PIN 5 // PE3 / PWM5
|
||||
#define FAN_PIN 5 // PE3 / PWM5
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53 // PB0 / SS
|
||||
#define LED_PIN 13 // PB7 / PWM13
|
||||
#define SDSS 53 // PB0 / SS
|
||||
#define LED_PIN 13 // PB7 / PWM13
|
||||
|
||||
#define MISO_PIN 50 // PB3
|
||||
#define MOSI_PIN 51 // PB2
|
||||
#define SCK_PIN 52 // PB1
|
||||
#define MISO_PIN 50 // PB3
|
||||
#define MOSI_PIN 51 // PB2
|
||||
#define SCK_PIN 52 // PB1
|
||||
|
||||
//
|
||||
// LCDs and Controllers
|
||||
//
|
||||
#if HAS_SPI_LCD
|
||||
#if ENABLED(ZONESTAR_LCD)
|
||||
#define LCD_PINS_RS 2
|
||||
#define LCD_PINS_ENABLE 36
|
||||
#define LCD_PINS_D4 37
|
||||
#define LCD_PINS_D5 34
|
||||
#define LCD_PINS_D6 35
|
||||
#define LCD_PINS_D7 32
|
||||
#define ADC_KEYPAD_PIN 12 // Analog
|
||||
#define LCD_PINS_RS 2
|
||||
#define LCD_PINS_ENABLE 36
|
||||
#define LCD_PINS_D4 37
|
||||
#define LCD_PINS_D5 34
|
||||
#define LCD_PINS_D6 35
|
||||
#define LCD_PINS_D7 32
|
||||
#define ADC_KEYPAD_PIN 12 // Analog
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -35,29 +35,29 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
// Power outputs EFBF or EFBE
|
||||
#define MOSFET_D_PIN 7
|
||||
#define MOSFET_D_PIN 7
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDPOWER_PIN 1
|
||||
#define SDPOWER_PIN 1
|
||||
|
||||
#define PS_ON_PIN 12
|
||||
#define PS_ON_PIN 12
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if BOTH(ULTRA_LCD, NEWPANEL)
|
||||
|
||||
#define SD_DETECT_PIN 6
|
||||
#define SD_DETECT_PIN 6
|
||||
|
||||
#endif // NEWPANEL && ULTRA_LCD
|
||||
|
||||
//
|
||||
// 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_DIR_PIN
|
||||
|
@ -41,83 +41,83 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN 6
|
||||
#define SERVO2_PIN 5
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN 6
|
||||
#define SERVO2_PIN 5
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 3
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 2
|
||||
#define X_MAX_PIN 2
|
||||
#endif
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 53
|
||||
#define X_CS_PIN 53
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 49
|
||||
#define Y_CS_PIN 49
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN 40
|
||||
#define Z_CS_PIN 40
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN 42
|
||||
#define E0_CS_PIN 42
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN 44
|
||||
#define E1_CS_PIN 44
|
||||
#endif
|
||||
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 43
|
||||
#define E2_ENABLE_PIN 44
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 43
|
||||
#define E2_ENABLE_PIN 44
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#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
|
||||
#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
|
||||
|
||||
//
|
||||
@ -140,39 +140,39 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 9
|
||||
#define FAN_PIN 9
|
||||
#endif
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 57
|
||||
#define FIL_RUNOUT_PIN 57
|
||||
#endif
|
||||
|
||||
#if !HAS_FILAMENT_SENSOR
|
||||
#define FAN1_PIN 4
|
||||
#define FAN1_PIN 4
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#ifndef SDSS
|
||||
#define SDSS 53
|
||||
#define SDSS 53
|
||||
#endif
|
||||
#define LED_PIN 13
|
||||
#define LED4_PIN 5
|
||||
#define LED_PIN 13
|
||||
#define LED4_PIN 5
|
||||
|
||||
// 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
|
||||
#define PS_ON_PIN 12
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#define CASE_LIGHT_PIN 5
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -180,16 +180,16 @@
|
||||
// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
|
||||
//
|
||||
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||
#define BEEPER_PIN 37
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 41
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define BEEPER_PIN 37
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 41
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#endif
|
||||
|
@ -28,10 +28,10 @@
|
||||
#define BOARD_INFO_NAME "Formbot Raptor2"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
#define FAN_PIN 6
|
||||
#define FAN_PIN 6
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
#endif
|
||||
|
||||
#include "pins_FORMBOT_RAPTOR.h"
|
||||
@ -42,22 +42,22 @@
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
|
||||
#if !NUM_SERVOS // Try to use servo connector first
|
||||
#define SPINDLE_LASER_ENA_PIN 6 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#elif !GREEDY_PANEL // Try to use AUX2
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#if !NUM_SERVOS // Try to use servo connector first
|
||||
#define SPINDLE_LASER_ENA_PIN 6 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#elif !GREEDY_PANEL // Try to use AUX2
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
||||
#if NUM_SERVOS <= 1 // Try to use servo connector first
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#elif !GREEDY_PANEL // Try to use AUX2
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#if NUM_SERVOS <= 1 // Try to use servo connector first
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#elif !GREEDY_PANEL // Try to use AUX2
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -37,84 +37,84 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN -1 // was 6
|
||||
#define SERVO2_PIN -1 // was 5
|
||||
#define SERVO3_PIN -1
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN -1 // was 6
|
||||
#define SERVO2_PIN -1 // was 5
|
||||
#define SERVO3_PIN -1
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 3
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 2
|
||||
#define X_MAX_PIN 2
|
||||
#endif
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 53
|
||||
#define X_CS_PIN 53
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 49
|
||||
#define Y_CS_PIN 49
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN 40
|
||||
#define Z_CS_PIN 40
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN 42
|
||||
#define E0_CS_PIN 42
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN 44
|
||||
#define E1_CS_PIN 44
|
||||
#endif
|
||||
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 43
|
||||
#define E2_ENABLE_PIN 44
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 43
|
||||
#define E2_ENABLE_PIN 44
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 3 // Analog Input
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 3 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#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
|
||||
#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
|
||||
|
||||
//
|
||||
@ -137,36 +137,36 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 58
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 58
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN_PIN 9
|
||||
|
||||
#if HAS_FILAMENT_SENSOR
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
//#define FIL_RUNOUT2_PIN -1
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
//#define FIL_RUNOUT2_PIN -1
|
||||
#else
|
||||
// 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
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define SDSS 53
|
||||
#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.
|
||||
|
||||
// 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
|
||||
#define PS_ON_PIN 12
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#define CASE_LIGHT_PIN 8
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -175,22 +175,22 @@
|
||||
//
|
||||
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN 37
|
||||
#define BEEPER_PIN 37
|
||||
#endif
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
// Allow MAX7219 to steal the KILL pin
|
||||
#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
|
||||
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#endif
|
||||
|
@ -37,116 +37,114 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN -1 // was 6
|
||||
#define SERVO2_PIN -1
|
||||
#define SERVO3_PIN -1
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN -1 // was 6
|
||||
#define SERVO2_PIN -1
|
||||
#define SERVO3_PIN -1
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 3
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 2
|
||||
#define X_MAX_PIN 2
|
||||
#endif
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 53
|
||||
#define X_CS_PIN 53
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 49
|
||||
#define Y_CS_PIN 49
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN 40
|
||||
#define Z_CS_PIN 40
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN 42
|
||||
#define E0_CS_PIN 42
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN 44
|
||||
#define E1_CS_PIN 44
|
||||
#endif
|
||||
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 43
|
||||
#define E2_ENABLE_PIN 44
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 43
|
||||
#define E2_ENABLE_PIN 44
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#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
|
||||
#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
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN1_PIN 12
|
||||
#define FAN_PIN 9
|
||||
#define FAN1_PIN 12
|
||||
|
||||
#define NUM_RUNOUT_SENSORS 2
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
#define FIL_RUNOUT2_PIN 21
|
||||
#define NUM_RUNOUT_SENSORS 2
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
#define FIL_RUNOUT2_PIN 21
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#define SDSS 53
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#define SDSS 53
|
||||
#ifndef LED_PIN
|
||||
#define LED_PIN 13
|
||||
#define LED_PIN 13
|
||||
#endif
|
||||
|
||||
#define SPINDLE_LASER_PWM_PIN -1 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup!
|
||||
#define SPINDLE_LASER_PWM_PIN -1 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup!
|
||||
|
||||
// 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
|
||||
@ -154,20 +152,20 @@
|
||||
// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
|
||||
//
|
||||
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
#ifndef KILL_PIN
|
||||
#define KILL_PIN 41
|
||||
#define KILL_PIN 41
|
||||
#endif
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN 37
|
||||
#define BEEPER_PIN 37
|
||||
#endif
|
||||
#endif
|
||||
|
@ -33,83 +33,83 @@
|
||||
#define BOARD_INFO_NAME "FYSETC F6 1.3"
|
||||
#endif
|
||||
|
||||
#define RESET_PIN 30
|
||||
#define SPI_FLASH_CS 83
|
||||
#define RESET_PIN 30
|
||||
#define SPI_FLASH_CS 83
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 13
|
||||
#define SERVO1_PIN 11 // (PS_ON_PIN)
|
||||
#define SERVO2_PIN 10 // (FIL_RUNOUT_PIN)
|
||||
#define SERVO3_PIN 4 // (RGB_LED_G_PIN)
|
||||
#define SERVO0_PIN 13
|
||||
#define SERVO1_PIN 11 // (PS_ON_PIN)
|
||||
#define SERVO2_PIN 10 // (FIL_RUNOUT_PIN)
|
||||
#define SERVO3_PIN 4 // (RGB_LED_G_PIN)
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 63
|
||||
#define X_MAX_PIN 64
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 12
|
||||
#define X_MIN_PIN 63
|
||||
#define X_MAX_PIN 64
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 12
|
||||
#ifndef Z_MAX_PIN
|
||||
#define Z_MAX_PIN 9
|
||||
#define Z_MAX_PIN 9
|
||||
#endif
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN SERVO2_PIN
|
||||
#define FIL_RUNOUT_PIN SERVO2_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 9 // Servos pin
|
||||
#define Z_MIN_PROBE_PIN 9 // Servos pin
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 70
|
||||
#define X_CS_PIN 70
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 39
|
||||
#define Y_CS_PIN 39
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN 43
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 58
|
||||
#define Z_STEP_PIN 43
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 58
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN 74
|
||||
#define Z_CS_PIN 74
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN 47
|
||||
#define E0_CS_PIN 47
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN 32
|
||||
#define E1_CS_PIN 32
|
||||
#endif
|
||||
|
||||
#define E2_STEP_PIN 59
|
||||
#define E2_DIR_PIN 57
|
||||
#define E2_ENABLE_PIN 40
|
||||
#define E2_STEP_PIN 59
|
||||
#define E2_DIR_PIN 57
|
||||
#define E2_ENABLE_PIN 40
|
||||
#ifndef E2_CS_PIN
|
||||
#define E2_CS_PIN 42
|
||||
#define E2_CS_PIN 42
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -125,76 +125,76 @@
|
||||
* At the moment, F6 rx pins are not pc interrupt pins
|
||||
*/
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN -1 // 71
|
||||
#define X_SERIAL_RX_PIN -1 // 71
|
||||
#endif
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 72
|
||||
#define X_SERIAL_TX_PIN 72
|
||||
#endif
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN -1 // 73
|
||||
#define Y_SERIAL_RX_PIN -1 // 73
|
||||
#endif
|
||||
#ifndef Y_SERIAL_TX_PIN
|
||||
#define Y_SERIAL_TX_PIN 75
|
||||
#define Y_SERIAL_TX_PIN 75
|
||||
#endif
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN -1 // 78
|
||||
#define Z_SERIAL_RX_PIN -1 // 78
|
||||
#endif
|
||||
#ifndef Z_SERIAL_TX_PIN
|
||||
#define Z_SERIAL_TX_PIN 79
|
||||
#define Z_SERIAL_TX_PIN 79
|
||||
#endif
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN -1 // 76
|
||||
#define E0_SERIAL_RX_PIN -1 // 76
|
||||
#endif
|
||||
#ifndef E0_SERIAL_TX_PIN
|
||||
#define E0_SERIAL_TX_PIN 77
|
||||
#define E0_SERIAL_TX_PIN 77
|
||||
#endif
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN -1 // 80
|
||||
#define E1_SERIAL_RX_PIN -1 // 80
|
||||
#endif
|
||||
#ifndef E1_SERIAL_TX_PIN
|
||||
#define E1_SERIAL_TX_PIN 81
|
||||
#define E1_SERIAL_TX_PIN 81
|
||||
#endif
|
||||
#ifndef E2_SERIAL_RX_PIN
|
||||
#define E2_SERIAL_RX_PIN -1 // 22
|
||||
#define E2_SERIAL_RX_PIN -1 // 22
|
||||
#endif
|
||||
#ifndef E2_SERIAL_TX_PIN
|
||||
#define E2_SERIAL_TX_PIN 82
|
||||
#define E2_SERIAL_TX_PIN 82
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 12 // Analog Input
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
#define TEMP_2_PIN 14 // Analog Input
|
||||
#define TEMP_BED_PIN 15 // Analog Input
|
||||
#define TEMP_0_PIN 12 // Analog Input
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
#define TEMP_2_PIN 14 // Analog Input
|
||||
#define TEMP_BED_PIN 15 // Analog Input
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN 9 // Analog Input on X+ endstop
|
||||
#define FILWIDTH_PIN 9 // Analog Input on X+ endstop
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 5
|
||||
#define HEATER_1_PIN 6
|
||||
#define HEATER_2_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
#define HEATER_0_PIN 5
|
||||
#define HEATER_1_PIN 6
|
||||
#define HEATER_2_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 44
|
||||
#define FAN1_PIN 45
|
||||
#define FAN2_PIN 46
|
||||
#define FAN_PIN 44
|
||||
#define FAN1_PIN 45
|
||||
#define FAN2_PIN 46
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define KILL_PIN 41
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define KILL_PIN 41
|
||||
|
||||
#ifndef PS_ON_PIN
|
||||
#define PS_ON_PIN SERVO1_PIN
|
||||
#define PS_ON_PIN SERVO1_PIN
|
||||
#endif
|
||||
|
||||
/**
|
||||
@ -211,69 +211,69 @@
|
||||
//
|
||||
// LCDs and Controllers
|
||||
//
|
||||
#define BEEPER_PIN 37
|
||||
#define SD_DETECT_PIN 49
|
||||
#define BEEPER_PIN 37
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
#if ENABLED(FYSETC_MINI_12864)
|
||||
//
|
||||
// See https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
|
||||
//
|
||||
#define DOGLCD_A0 16
|
||||
#define DOGLCD_CS 17
|
||||
#define DOGLCD_A0 16
|
||||
#define DOGLCD_CS 17
|
||||
|
||||
#if ENABLED(FYSETC_GENERIC_12864_1_1)
|
||||
#define LCD_BACKLIGHT_PIN 27
|
||||
#define LCD_BACKLIGHT_PIN 27
|
||||
#endif
|
||||
|
||||
#define KILL_PIN 41
|
||||
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
|
||||
#define KILL_PIN 41
|
||||
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
|
||||
// Seems to work best if left open.
|
||||
|
||||
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN 25
|
||||
#define RGB_LED_R_PIN 25
|
||||
#endif
|
||||
#ifndef RGB_LED_G_PIN
|
||||
#define RGB_LED_G_PIN 27
|
||||
#define RGB_LED_G_PIN 27
|
||||
#endif
|
||||
#ifndef RGB_LED_B_PIN
|
||||
#define RGB_LED_B_PIN 29
|
||||
#define RGB_LED_B_PIN 29
|
||||
#endif
|
||||
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
||||
#define NEOPIXEL_PIN 25
|
||||
#define NEOPIXEL_PIN 25
|
||||
#endif
|
||||
|
||||
#elif HAS_GRAPHICAL_LCD
|
||||
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
|
||||
#if ENABLED(MKS_MINI_12864)
|
||||
#define DOGLCD_CS 25
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 25
|
||||
#define DOGLCD_A0 27
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
#endif
|
||||
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN 3
|
||||
#define RGB_LED_R_PIN 3
|
||||
#endif
|
||||
#ifndef RGB_LED_G_PIN
|
||||
#define RGB_LED_G_PIN 4
|
||||
#define RGB_LED_G_PIN 4
|
||||
#endif
|
||||
#ifndef RGB_LED_B_PIN
|
||||
#define RGB_LED_B_PIN 9
|
||||
#define RGB_LED_B_PIN 9
|
||||
#endif
|
||||
#ifndef RGB_LED_W_PIN
|
||||
#define RGB_LED_W_PIN -1
|
||||
#define RGB_LED_W_PIN -1
|
||||
#endif
|
||||
|
@ -27,24 +27,24 @@
|
||||
|
||||
#define BOARD_NAME "FYSETC F6 1.4"
|
||||
|
||||
#define Z_MAX_PIN 2
|
||||
#define Z_MAX_PIN 2
|
||||
|
||||
#if HAS_TMC_UART
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
*/
|
||||
#define X_SERIAL_RX_PIN 72
|
||||
#define X_SERIAL_TX_PIN 71
|
||||
#define Y_SERIAL_RX_PIN 73
|
||||
#define Y_SERIAL_TX_PIN 78
|
||||
#define Z_SERIAL_RX_PIN 75
|
||||
#define Z_SERIAL_TX_PIN 79
|
||||
#define E0_SERIAL_RX_PIN 77
|
||||
#define E0_SERIAL_TX_PIN 81
|
||||
#define E1_SERIAL_RX_PIN 76
|
||||
#define E1_SERIAL_TX_PIN 80
|
||||
#define E2_SERIAL_RX_PIN 62
|
||||
#define E2_SERIAL_TX_PIN 82
|
||||
#define X_SERIAL_RX_PIN 72
|
||||
#define X_SERIAL_TX_PIN 71
|
||||
#define Y_SERIAL_RX_PIN 73
|
||||
#define Y_SERIAL_TX_PIN 78
|
||||
#define Z_SERIAL_RX_PIN 75
|
||||
#define Z_SERIAL_TX_PIN 79
|
||||
#define E0_SERIAL_RX_PIN 77
|
||||
#define E0_SERIAL_TX_PIN 81
|
||||
#define E1_SERIAL_RX_PIN 76
|
||||
#define E1_SERIAL_TX_PIN 80
|
||||
#define E2_SERIAL_RX_PIN 62
|
||||
#define E2_SERIAL_TX_PIN 82
|
||||
#endif
|
||||
|
||||
#include "pins_FYSETC_F6_13.h"
|
||||
|
@ -40,8 +40,8 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 3
|
||||
#define Y_STOP_PIN 14
|
||||
#define X_STOP_PIN 3
|
||||
#define Y_STOP_PIN 14
|
||||
|
||||
#undef X_MIN_PIN
|
||||
#undef X_MAX_PIN
|
||||
@ -52,13 +52,13 @@
|
||||
// Steppers
|
||||
//
|
||||
#undef E1_STEP_PIN
|
||||
#define E1_STEP_PIN 32
|
||||
#define E1_STEP_PIN 32
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#undef HEATER_1_PIN
|
||||
#define HEATER_1_PIN 11
|
||||
#define HEATER_1_PIN 11
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
@ -69,5 +69,5 @@
|
||||
|
||||
#if Z_STEP_PIN == 26
|
||||
#undef Z_STEP_PIN
|
||||
#define Z_STEP_PIN 32
|
||||
#define Z_STEP_PIN 32
|
||||
#endif
|
||||
|
@ -37,73 +37,73 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 3
|
||||
#define Y_STOP_PIN 14
|
||||
#define Z_MIN_PIN 68 // Used for bed leveling
|
||||
#define Z_MAX_PIN 66
|
||||
#define X_STOP_PIN 3
|
||||
#define Y_STOP_PIN 14
|
||||
#define Z_MIN_PIN 68 // Used for bed leveling
|
||||
#define Z_MAX_PIN 66
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 63
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 63
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
|
||||
#define E1_STEP_PIN 32
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 32
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13
|
||||
#define TEMP_0_PIN 13
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define FAN_PIN 8
|
||||
#define CONTROLLER_FAN_PIN 9
|
||||
#define HEATER_0_PIN 10
|
||||
#define FAN_PIN 8
|
||||
#define CONTROLLER_FAN_PIN 9
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 25
|
||||
#define SDSS 25
|
||||
|
||||
#define FIL_RUNOUT_PIN 69 // PK7
|
||||
#define KILL_PIN 20 // PD1
|
||||
#define FIL_RUNOUT_PIN 69 // PK7
|
||||
#define KILL_PIN 20 // PD1
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#define SD_DETECT_PIN 21 // PD0
|
||||
#define LCD_SDSS 53
|
||||
#define BEEPER_PIN 6
|
||||
#define SD_DETECT_PIN 21 // PD0
|
||||
#define LCD_SDSS 53
|
||||
#define BEEPER_PIN 6
|
||||
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_A0 27
|
||||
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 37
|
||||
#define LCD_PINS_D5 35
|
||||
#define LCD_PINS_D6 33
|
||||
#define LCD_PINS_D7 31
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 37
|
||||
#define LCD_PINS_D5 35
|
||||
#define LCD_PINS_D6 33
|
||||
#define LCD_PINS_D7 31
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
#define BTN_EN1 17
|
||||
#define BTN_EN2 16
|
||||
#define BTN_ENC 23
|
||||
#define BTN_EN1 17
|
||||
#define BTN_EN2 16
|
||||
#define BTN_ENC 23
|
||||
#endif
|
||||
|
@ -30,28 +30,28 @@
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "MKS BASE 1.4"
|
||||
#define MKS_BASE_VERSION 14
|
||||
#define MKS_BASE_VERSION 14
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
#define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
|
||||
// Other Mods
|
||||
#define CASE_LIGHT_PIN 11 // PB5 ** Pin24 ** PWM11
|
||||
#define SERVO3_PIN 12 // PB6 ** Pin25 ** D12
|
||||
#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 FIL_RUNOUT_PIN 19 // Z+ // PD2 ** Pin45 ** USART1_RX
|
||||
#define CASE_LIGHT_PIN 11 // PB5 ** Pin24 ** PWM11
|
||||
#define SERVO3_PIN 12 // PB6 ** Pin25 ** D12
|
||||
#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 FIL_RUNOUT_PIN 19 // Z+ // PD2 ** Pin45 ** USART1_RX
|
||||
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN 50
|
||||
#define RGB_LED_R_PIN 50
|
||||
#endif
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_G_PIN 51
|
||||
#define RGB_LED_G_PIN 51
|
||||
#endif
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_B_PIN 52
|
||||
#define RGB_LED_B_PIN 52
|
||||
#endif
|
||||
|
||||
#include "pins_MKS_BASE_common.h"
|
||||
|
@ -30,30 +30,30 @@
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "MKS BASE 1.6"
|
||||
#define MKS_BASE_VERSION 16
|
||||
#define MKS_BASE_VERSION 16
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO1_PIN 12 // Digital 12 / Pin 25
|
||||
#define SERVO1_PIN 12 // Digital 12 / Pin 25
|
||||
|
||||
//
|
||||
// Omitted RAMPS pins
|
||||
//
|
||||
#ifndef SERVO2_PIN
|
||||
#define SERVO2_PIN -1
|
||||
#define SERVO2_PIN -1
|
||||
#endif
|
||||
#ifndef SERVO3_PIN
|
||||
#define SERVO3_PIN -1
|
||||
#define SERVO3_PIN -1
|
||||
#endif
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN -1
|
||||
#define FILWIDTH_PIN -1
|
||||
#endif
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN -1
|
||||
#define FIL_RUNOUT_PIN -1
|
||||
#endif
|
||||
#ifndef PS_ON_PIN
|
||||
#define PS_ON_PIN -1
|
||||
#define PS_ON_PIN -1
|
||||
#endif
|
||||
|
||||
#include "pins_MKS_BASE_common.h"
|
||||
|
@ -34,19 +34,19 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
// Power outputs EFBF or EFBE
|
||||
#define MOSFET_D_PIN 7
|
||||
#define MOSFET_D_PIN 7
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER
|
||||
#define SPINDLE_LASER_PWM_PIN 2 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 15 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 19
|
||||
#define SPINDLE_LASER_PWM_PIN 2 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 15 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 19
|
||||
#endif
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 2
|
||||
#define CASE_LIGHT_PIN 2
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -54,22 +54,22 @@
|
||||
//
|
||||
// Microstepping pins
|
||||
//
|
||||
#if MKS_BASE_VERSION >= 14 // |===== 1.4 =====|===== 1.5+ =====|
|
||||
#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 Y_MS1_PIN 59 // PF5 | Pin 92 | A5 | | |
|
||||
#define Y_MS2_PIN 58 // PF4 | Pin 93 | A4 | | |
|
||||
#define Z_MS1_PIN 22 // PA0 | Pin 78 | D22 | | |
|
||||
#define Z_MS2_PIN 39 // PG2 | Pin 70 | D39 | | |
|
||||
#if MKS_BASE_VERSION >= 14 // |===== 1.4 =====|===== 1.5+ =====|
|
||||
#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 Y_MS1_PIN 59 // PF5 | Pin 92 | A5 | | |
|
||||
#define Y_MS2_PIN 58 // PF4 | Pin 93 | A4 | | |
|
||||
#define Z_MS1_PIN 22 // PA0 | Pin 78 | D22 | | |
|
||||
#define Z_MS2_PIN 39 // PG2 | Pin 70 | D39 | | |
|
||||
#if MKS_BASE_VERSION == 14
|
||||
#define E0_MS1_PIN 64 // PK2 | Pin 87 | A10 | | |
|
||||
#define E0_MS2_PIN 63 // PK1 | Pin 88 | A9 | | |
|
||||
#define E0_MS1_PIN 64 // PK2 | Pin 87 | A10 | | |
|
||||
#define E0_MS2_PIN 63 // PK1 | Pin 88 | A9 | | |
|
||||
#else
|
||||
#define E0_MS1_PIN 63 // PK1 | | | Pin 86 | A9 |
|
||||
#define E0_MS2_PIN 64 // PK2 | | | Pin 87 | A10 |
|
||||
#define E0_MS1_PIN 63 // PK1 | | | Pin 86 | A9 |
|
||||
#define E0_MS2_PIN 64 // PK2 | | | Pin 87 | A10 |
|
||||
#endif
|
||||
#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_MS1_PIN 57 // PF3 | Pin 94 | A3 | Pin 93 | A3 |
|
||||
#define E1_MS2_PIN 4 // PG5 | Pin 1 | PWM4 | | D4 | SERVO3_PIN
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
// Power outputs EFBF or EFBE
|
||||
#define MOSFET_D_PIN 7
|
||||
#define MOSFET_D_PIN 7
|
||||
|
||||
//
|
||||
// PSU / SERVO
|
||||
@ -48,8 +48,8 @@
|
||||
// If PSU_CONTROL is specified, always hijack Servo 3
|
||||
//
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
#define SERVO3_PIN -1
|
||||
#define PS_ON_PIN 4
|
||||
#define SERVO3_PIN -1
|
||||
#define PS_ON_PIN 4
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
@ -104,44 +104,44 @@
|
||||
//
|
||||
|
||||
// orange/white SDCD
|
||||
#define SD_DETECT_PIN 49
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
// white ENCA
|
||||
#define BTN_EN1 35
|
||||
#define BTN_EN1 35
|
||||
|
||||
// green ENCB
|
||||
#define BTN_EN2 37
|
||||
#define BTN_EN2 37
|
||||
|
||||
// purple ENCBTN
|
||||
#define BTN_ENC 31
|
||||
#define BTN_ENC 31
|
||||
|
||||
// brown A0
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_A0 27
|
||||
|
||||
// green/white LCS
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_CS 29
|
||||
|
||||
// 50 gray MISO
|
||||
// 51 yellow MOSI
|
||||
// 52 orange SCK
|
||||
|
||||
// blue SDCS
|
||||
//#define SDSS 53
|
||||
//#define SDSS 53
|
||||
|
||||
//
|
||||
// VIKI2 4-wire lead
|
||||
//
|
||||
|
||||
// blue BTN
|
||||
#define KILL_PIN 23
|
||||
#define KILL_PIN 23
|
||||
|
||||
// green BUZZER
|
||||
#define BEEPER_PIN 25
|
||||
#define BEEPER_PIN 25
|
||||
|
||||
// yellow RED-LED
|
||||
#define STAT_LED_RED_PIN 16
|
||||
#define STAT_LED_RED_PIN 16
|
||||
|
||||
// white BLUE-LED
|
||||
#define STAT_LED_BLUE_PIN 17
|
||||
#define STAT_LED_BLUE_PIN 17
|
||||
|
||||
#endif
|
||||
|
@ -35,7 +35,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
// Power outputs EFBF or EFBE
|
||||
#define MOSFET_D_PIN 7
|
||||
#define MOSFET_D_PIN 7
|
||||
|
||||
//
|
||||
// CS Pins wired to avoid conflict with the LCD
|
||||
@ -43,47 +43,47 @@
|
||||
//
|
||||
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 63
|
||||
#define X_CS_PIN 63
|
||||
#endif
|
||||
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 64
|
||||
#define Y_CS_PIN 64
|
||||
#endif
|
||||
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN 65
|
||||
#define Z_CS_PIN 65
|
||||
#endif
|
||||
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN 66
|
||||
#define E0_CS_PIN 66
|
||||
#endif
|
||||
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN 21
|
||||
#define E1_CS_PIN 21
|
||||
#endif
|
||||
|
||||
// TMC2130 Diag Pins (currently just for reference)
|
||||
#define X_DIAG_PIN 3
|
||||
#define Y_DIAG_PIN 14
|
||||
#define Z_DIAG_PIN 18
|
||||
#define E0_DIAG_PIN 2
|
||||
#define E1_DIAG_PIN 15
|
||||
#define X_DIAG_PIN 3
|
||||
#define Y_DIAG_PIN 14
|
||||
#define Z_DIAG_PIN 18
|
||||
#define E0_DIAG_PIN 2
|
||||
#define E1_DIAG_PIN 15
|
||||
|
||||
#ifndef SERVO1_PIN
|
||||
#define SERVO1_PIN 12
|
||||
#define SERVO1_PIN 12
|
||||
#endif
|
||||
#ifndef SERVO2_PIN
|
||||
#define SERVO2_PIN 39
|
||||
#define SERVO2_PIN 39
|
||||
#endif
|
||||
#ifndef SERVO3_PIN
|
||||
#define SERVO3_PIN 32
|
||||
#define SERVO3_PIN 32
|
||||
#endif
|
||||
|
||||
#ifndef E1_SERIAL_TX_PIN
|
||||
#define E1_SERIAL_TX_PIN 20
|
||||
#define E1_SERIAL_TX_PIN 20
|
||||
#endif
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN 21
|
||||
#define E1_SERIAL_RX_PIN 21
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
@ -66,19 +66,19 @@
|
||||
//
|
||||
#ifndef SERVO0_PIN
|
||||
#ifdef IS_RAMPS_13
|
||||
#define SERVO0_PIN 7
|
||||
#define SERVO0_PIN 7
|
||||
#else
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO0_PIN 11
|
||||
#endif
|
||||
#endif
|
||||
#ifndef SERVO1_PIN
|
||||
#define SERVO1_PIN 6
|
||||
#define SERVO1_PIN 6
|
||||
#endif
|
||||
#ifndef SERVO2_PIN
|
||||
#define SERVO2_PIN 5
|
||||
#define SERVO2_PIN 5
|
||||
#endif
|
||||
#ifndef SERVO3_PIN
|
||||
#define SERVO3_PIN 4
|
||||
#define SERVO3_PIN 4
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -86,26 +86,26 @@
|
||||
//
|
||||
#ifndef X_STOP_PIN
|
||||
#ifndef X_MIN_PIN
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 3
|
||||
#endif
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 2
|
||||
#define X_MAX_PIN 2
|
||||
#endif
|
||||
#endif
|
||||
#ifndef Y_STOP_PIN
|
||||
#ifndef Y_MIN_PIN
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MIN_PIN 14
|
||||
#endif
|
||||
#ifndef Y_MAX_PIN
|
||||
#define Y_MAX_PIN 15
|
||||
#define Y_MAX_PIN 15
|
||||
#endif
|
||||
#endif
|
||||
#ifndef Z_STOP_PIN
|
||||
#ifndef Z_MIN_PIN
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MIN_PIN 18
|
||||
#endif
|
||||
#ifndef Z_MAX_PIN
|
||||
#define Z_MAX_PIN 19
|
||||
#define Z_MAX_PIN 19
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -113,67 +113,67 @@
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 53
|
||||
#define X_CS_PIN 53
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 49
|
||||
#define Y_CS_PIN 49
|
||||
#endif
|
||||
|
||||
#ifndef Z_STEP_PIN
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_STEP_PIN 46
|
||||
#endif
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN 40
|
||||
#define Z_CS_PIN 40
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN 42
|
||||
#define E0_CS_PIN 42
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN 44
|
||||
#define E1_CS_PIN 44
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#ifndef TEMP_0_PIN
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#endif
|
||||
#ifndef TEMP_1_PIN
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#endif
|
||||
#ifndef TEMP_BED_PIN
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
#endif
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#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
|
||||
#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
|
||||
|
||||
//
|
||||
@ -197,74 +197,74 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#ifndef MOSFET_D_PIN
|
||||
#define MOSFET_D_PIN -1
|
||||
#define MOSFET_D_PIN -1
|
||||
#endif
|
||||
#ifndef RAMPS_D8_PIN
|
||||
#define RAMPS_D8_PIN 8
|
||||
#define RAMPS_D8_PIN 8
|
||||
#endif
|
||||
#ifndef RAMPS_D9_PIN
|
||||
#define RAMPS_D9_PIN 9
|
||||
#define RAMPS_D9_PIN 9
|
||||
#endif
|
||||
#ifndef RAMPS_D10_PIN
|
||||
#define RAMPS_D10_PIN 10
|
||||
#define RAMPS_D10_PIN 10
|
||||
#endif
|
||||
|
||||
#define HEATER_0_PIN RAMPS_D10_PIN
|
||||
#define HEATER_0_PIN RAMPS_D10_PIN
|
||||
|
||||
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
|
||||
#define HEATER_BED_PIN RAMPS_D8_PIN
|
||||
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
|
||||
#define HEATER_1_PIN RAMPS_D9_PIN
|
||||
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
||||
#define HEATER_1_PIN RAMPS_D9_PIN
|
||||
#define HEATER_BED_PIN RAMPS_D8_PIN
|
||||
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
|
||||
#define FAN1_PIN RAMPS_D8_PIN
|
||||
#elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
|
||||
#define HEATER_BED_PIN RAMPS_D8_PIN
|
||||
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
|
||||
#define HEATER_BED_PIN RAMPS_D8_PIN
|
||||
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
|
||||
#define HEATER_1_PIN RAMPS_D9_PIN
|
||||
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
||||
#define HEATER_1_PIN RAMPS_D9_PIN
|
||||
#define HEATER_BED_PIN RAMPS_D8_PIN
|
||||
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
|
||||
#define FAN1_PIN RAMPS_D8_PIN
|
||||
#elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
|
||||
#define HEATER_BED_PIN RAMPS_D8_PIN
|
||||
#if HOTENDS == 1
|
||||
#define FAN1_PIN MOSFET_D_PIN
|
||||
#define FAN1_PIN MOSFET_D_PIN
|
||||
#else
|
||||
#define HEATER_1_PIN MOSFET_D_PIN
|
||||
#define HEATER_1_PIN MOSFET_D_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#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
|
||||
#define FAN_PIN RAMPS_D8_PIN
|
||||
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
||||
#define FAN_PIN 4 // IO pin. Buffer needed
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN_PIN RAMPS_D9_PIN
|
||||
#define FAN_PIN RAMPS_D8_PIN
|
||||
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
||||
#define FAN_PIN 4 // IO pin. Buffer needed
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN_PIN RAMPS_D9_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
||||
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
||||
#endif
|
||||
|
||||
// RAMPS 1.4 DIO 4 on the servos connector
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
#endif
|
||||
|
||||
#ifndef PS_ON_PIN
|
||||
#define PS_ON_PIN 12
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
|
||||
#if NUM_SERVOS <= 1 // Prefer the servo connector
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#if NUM_SERVOS <= 1 // Prefer the servo connector
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#elif HAS_FREE_AUX2_PINS
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -272,14 +272,14 @@
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER && !defined(SPINDLE_LASER_ENA_PIN)
|
||||
#if !NUM_SERVOS // Use servo connector if possible
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#if !NUM_SERVOS // Use servo connector if possible
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#elif HAS_FREE_AUX2_PINS
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#else
|
||||
#error "No auto-assignable Spindle/Laser pins available."
|
||||
#endif
|
||||
@ -290,13 +290,13 @@
|
||||
//
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#ifndef TMC_SW_MOSI
|
||||
#define TMC_SW_MOSI 66
|
||||
#define TMC_SW_MOSI 66
|
||||
#endif
|
||||
#ifndef TMC_SW_MISO
|
||||
#define TMC_SW_MISO 44
|
||||
#define TMC_SW_MISO 44
|
||||
#endif
|
||||
#ifndef TMC_SW_SCK
|
||||
#define TMC_SW_SCK 64
|
||||
#define TMC_SW_SCK 64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -307,11 +307,11 @@
|
||||
* Hardware serial communication ports.
|
||||
* 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 Y_HARDWARE_SERIAL Serial1
|
||||
//#define Y_HARDWARE_SERIAL Serial1
|
||||
//#define Y2_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define Z2_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define E1_HARDWARE_SERIAL Serial1
|
||||
@ -324,91 +324,91 @@
|
||||
//
|
||||
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 40
|
||||
#define X_SERIAL_TX_PIN 40
|
||||
#endif
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN 63
|
||||
#define X_SERIAL_RX_PIN 63
|
||||
#endif
|
||||
#ifndef X2_SERIAL_TX_PIN
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef X2_SERIAL_RX_PIN
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef Y_SERIAL_TX_PIN
|
||||
#define Y_SERIAL_TX_PIN 59
|
||||
#define Y_SERIAL_TX_PIN 59
|
||||
#endif
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN 64
|
||||
#define Y_SERIAL_RX_PIN 64
|
||||
#endif
|
||||
#ifndef Y2_SERIAL_TX_PIN
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef Y2_SERIAL_RX_PIN
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef Z_SERIAL_TX_PIN
|
||||
#define Z_SERIAL_TX_PIN 42
|
||||
#define Z_SERIAL_TX_PIN 42
|
||||
#endif
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN 65
|
||||
#define Z_SERIAL_RX_PIN 65
|
||||
#endif
|
||||
#ifndef Z2_SERIAL_TX_PIN
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef Z2_SERIAL_RX_PIN
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef E0_SERIAL_TX_PIN
|
||||
#define E0_SERIAL_TX_PIN 44
|
||||
#define E0_SERIAL_TX_PIN 44
|
||||
#endif
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN 66
|
||||
#define E0_SERIAL_RX_PIN 66
|
||||
#endif
|
||||
#ifndef E1_SERIAL_TX_PIN
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E2_SERIAL_TX_PIN
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E2_SERIAL_RX_PIN
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E3_SERIAL_TX_PIN
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E3_SERIAL_RX_PIN
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E4_SERIAL_TX_PIN
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E4_SERIAL_RX_PIN
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E5_SERIAL_TX_PIN
|
||||
#define E5_SERIAL_TX_PIN -1
|
||||
#define E5_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E5_SERIAL_RX_PIN
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E6_SERIAL_TX_PIN
|
||||
#define E6_SERIAL_TX_PIN -1
|
||||
#define E6_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E6_SERIAL_RX_PIN
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E7_SERIAL_TX_PIN
|
||||
#define E7_SERIAL_TX_PIN -1
|
||||
#define E7_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E7_SERIAL_RX_PIN
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -416,13 +416,13 @@
|
||||
// Průša i3 MK2 Multiplexer Support
|
||||
//
|
||||
#ifndef E_MUX0_PIN
|
||||
#define E_MUX0_PIN 40 // Z_CS_PIN
|
||||
#define E_MUX0_PIN 40 // Z_CS_PIN
|
||||
#endif
|
||||
#ifndef E_MUX1_PIN
|
||||
#define E_MUX1_PIN 42 // E0_CS_PIN
|
||||
#define E_MUX1_PIN 42 // E0_CS_PIN
|
||||
#endif
|
||||
#ifndef E_MUX2_PIN
|
||||
#define E_MUX2_PIN 44 // E1_CS_PIN
|
||||
#define E_MUX2_PIN 44 // E1_CS_PIN
|
||||
#endif
|
||||
|
||||
//////////////////////////
|
||||
@ -436,62 +436,62 @@
|
||||
//
|
||||
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||
|
||||
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||
#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||
#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||
|
||||
#elif BOTH(NEWPANEL, PANEL_ONE)
|
||||
|
||||
#define LCD_PINS_RS 40
|
||||
#define LCD_PINS_ENABLE 42
|
||||
#define LCD_PINS_D4 65
|
||||
#define LCD_PINS_D5 66
|
||||
#define LCD_PINS_D6 44
|
||||
#define LCD_PINS_D7 64
|
||||
#define LCD_PINS_RS 40
|
||||
#define LCD_PINS_ENABLE 42
|
||||
#define LCD_PINS_D4 65
|
||||
#define LCD_PINS_D5 66
|
||||
#define LCD_PINS_D6 44
|
||||
#define LCD_PINS_D7 64
|
||||
|
||||
#else
|
||||
|
||||
#if ENABLED(CR10_STOCKDISPLAY)
|
||||
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 25
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 25
|
||||
|
||||
#if DISABLED(NEWPANEL)
|
||||
#define BEEPER_PIN 37
|
||||
#define BEEPER_PIN 37
|
||||
#endif
|
||||
|
||||
#elif ENABLED(ZONESTAR_LCD)
|
||||
|
||||
#define LCD_PINS_RS 64
|
||||
#define LCD_PINS_ENABLE 44
|
||||
#define LCD_PINS_D4 63
|
||||
#define LCD_PINS_D5 40
|
||||
#define LCD_PINS_D6 42
|
||||
#define LCD_PINS_D7 65
|
||||
#define LCD_PINS_RS 64
|
||||
#define LCD_PINS_ENABLE 44
|
||||
#define LCD_PINS_D4 63
|
||||
#define LCD_PINS_D5 40
|
||||
#define LCD_PINS_D6 42
|
||||
#define LCD_PINS_D7 65
|
||||
|
||||
#else
|
||||
|
||||
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
|
||||
#define LCD_PINS_DC 25 // Set as output on init
|
||||
#define LCD_PINS_RS 27 // Pull low for 1s to init
|
||||
#define LCD_PINS_DC 25 // Set as output on init
|
||||
#define LCD_PINS_RS 27 // Pull low for 1s to init
|
||||
// DOGM SPI LCD Support
|
||||
#define DOGLCD_CS 16
|
||||
#define DOGLCD_MOSI 17
|
||||
#define DOGLCD_SCK 23
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#define DOGLCD_CS 16
|
||||
#define DOGLCD_MOSI 17
|
||||
#define DOGLCD_SCK 23
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#else
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#endif
|
||||
|
||||
#define LCD_PINS_D7 29
|
||||
#define LCD_PINS_D7 29
|
||||
|
||||
#if DISABLED(NEWPANEL)
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -499,10 +499,10 @@
|
||||
#if DISABLED(NEWPANEL)
|
||||
// Buttons attached to a shift register
|
||||
// Not wired yet
|
||||
//#define SHIFT_CLK 38
|
||||
//#define SHIFT_LD 42
|
||||
//#define SHIFT_OUT 40
|
||||
//#define SHIFT_EN 17
|
||||
//#define SHIFT_CLK 38
|
||||
//#define SHIFT_LD 42
|
||||
//#define SHIFT_OUT 40
|
||||
//#define SHIFT_EN 17
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -514,99 +514,99 @@
|
||||
|
||||
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||
|
||||
#define BEEPER_PIN 37
|
||||
#define BEEPER_PIN 37
|
||||
|
||||
#if ENABLED(CR10_STOCKDISPLAY)
|
||||
#define BTN_EN1 17
|
||||
#define BTN_EN2 23
|
||||
#define BTN_EN1 17
|
||||
#define BTN_EN2 23
|
||||
#else
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#endif
|
||||
|
||||
#define BTN_ENC 35
|
||||
#define BTN_ENC 35
|
||||
#ifndef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 49
|
||||
#define SD_DETECT_PIN 49
|
||||
#endif
|
||||
#ifndef KILL_PIN
|
||||
#define KILL_PIN 41
|
||||
#define KILL_PIN 41
|
||||
#endif
|
||||
|
||||
#if ENABLED(BQ_LCD_SMART_CONTROLLER)
|
||||
#define LCD_BACKLIGHT_PIN 39
|
||||
#define LCD_BACKLIGHT_PIN 39
|
||||
#endif
|
||||
|
||||
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN2 59
|
||||
#define BTN_ENC 63
|
||||
#define SD_DETECT_PIN 42
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN2 59
|
||||
#define BTN_ENC 63
|
||||
#define SD_DETECT_PIN 42
|
||||
|
||||
#elif ENABLED(LCD_I2C_PANELOLU2)
|
||||
|
||||
#define BTN_EN1 47
|
||||
#define BTN_EN2 43
|
||||
#define BTN_ENC 32
|
||||
#define LCD_SDSS SDSS
|
||||
#define KILL_PIN 41
|
||||
#define BTN_EN1 47
|
||||
#define BTN_EN2 43
|
||||
#define BTN_ENC 32
|
||||
#define LCD_SDSS SDSS
|
||||
#define KILL_PIN 41
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
#define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
|
||||
#define BTN_EN2 42
|
||||
#define BTN_ENC -1
|
||||
#define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
|
||||
#define BTN_EN2 42
|
||||
#define BTN_ENC -1
|
||||
|
||||
#define LCD_SDSS SDSS
|
||||
#define SD_DETECT_PIN 49
|
||||
#define LCD_SDSS SDSS
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
#elif ANY(VIKI2, miniVIKI)
|
||||
|
||||
#define DOGLCD_CS 45
|
||||
#define DOGLCD_A0 44
|
||||
#define DOGLCD_CS 45
|
||||
#define DOGLCD_A0 44
|
||||
#define LCD_SCREEN_ROT_180
|
||||
|
||||
#define BEEPER_PIN 33
|
||||
#define STAT_LED_RED_PIN 32
|
||||
#define STAT_LED_BLUE_PIN 35
|
||||
#define BEEPER_PIN 33
|
||||
#define STAT_LED_RED_PIN 32
|
||||
#define STAT_LED_BLUE_PIN 35
|
||||
|
||||
#define BTN_EN1 22
|
||||
#define BTN_EN2 7
|
||||
#define BTN_ENC 39
|
||||
#define BTN_EN1 22
|
||||
#define BTN_EN2 7
|
||||
#define BTN_ENC 39
|
||||
|
||||
#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
|
||||
#define KILL_PIN 31
|
||||
#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
|
||||
#define KILL_PIN 31
|
||||
|
||||
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
||||
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_A0 27
|
||||
|
||||
#define BEEPER_PIN 23
|
||||
#define LCD_BACKLIGHT_PIN 33
|
||||
#define BEEPER_PIN 23
|
||||
#define LCD_BACKLIGHT_PIN 33
|
||||
|
||||
#define BTN_EN1 35
|
||||
#define BTN_EN2 37
|
||||
#define BTN_ENC 31
|
||||
#define BTN_EN1 35
|
||||
#define BTN_EN2 37
|
||||
#define BTN_ENC 31
|
||||
|
||||
#define LCD_SDSS SDSS
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 41
|
||||
#define LCD_SDSS SDSS
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 41
|
||||
|
||||
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864)
|
||||
|
||||
#define BEEPER_PIN 37
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
#define BEEPER_PIN 37
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
#ifndef KILL_PIN
|
||||
#define KILL_PIN 41
|
||||
#define KILL_PIN 41
|
||||
#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_CS 25
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 25
|
||||
|
||||
// GLCD features
|
||||
// Uncomment screen orientation
|
||||
@ -615,50 +615,50 @@
|
||||
//#define LCD_SCREEN_ROT_270
|
||||
|
||||
// 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_EN2 33
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
|
||||
#elif ENABLED(FYSETC_MINI_12864)
|
||||
|
||||
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
|
||||
|
||||
#define DOGLCD_A0 16
|
||||
#define DOGLCD_CS 17
|
||||
#define DOGLCD_A0 16
|
||||
#define DOGLCD_CS 17
|
||||
|
||||
#define BTN_EN1 33
|
||||
#define BTN_EN2 31
|
||||
#define BTN_EN1 33
|
||||
#define BTN_EN2 31
|
||||
|
||||
//#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
|
||||
//#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
|
||||
|
||||
#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)
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN 25
|
||||
#define RGB_LED_R_PIN 25
|
||||
#endif
|
||||
#ifndef RGB_LED_G_PIN
|
||||
#define RGB_LED_G_PIN 27
|
||||
#define RGB_LED_G_PIN 27
|
||||
#endif
|
||||
#ifndef RGB_LED_B_PIN
|
||||
#define RGB_LED_B_PIN 29
|
||||
#define RGB_LED_B_PIN 29
|
||||
#endif
|
||||
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
||||
#define NEOPIXEL_PIN 25
|
||||
#define NEOPIXEL_PIN 25
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#elif ENABLED(MINIPANEL)
|
||||
|
||||
#define BEEPER_PIN 42
|
||||
#define BEEPER_PIN 42
|
||||
// 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_CS 66
|
||||
#define DOGLCD_A0 44
|
||||
#define DOGLCD_CS 66
|
||||
|
||||
// GLCD features
|
||||
// Uncomment screen orientation
|
||||
@ -666,16 +666,16 @@
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
//#define LCD_SCREEN_ROT_270
|
||||
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 63
|
||||
#define BTN_ENC 59
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 63
|
||||
#define BTN_ENC 59
|
||||
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 64
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 64
|
||||
|
||||
#elif ENABLED(ZONESTAR_LCD)
|
||||
|
||||
#define ADC_KEYPAD_PIN 12
|
||||
#define ADC_KEYPAD_PIN 12
|
||||
|
||||
#elif ENABLED(AZSMZ_12864)
|
||||
|
||||
@ -684,22 +684,22 @@
|
||||
#else
|
||||
|
||||
// Beeper on AUX-4
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
// Buttons are directly attached to AUX-2
|
||||
#if ENABLED(PANEL_ONE)
|
||||
#define BTN_EN1 59 // AUX2 PIN 3
|
||||
#define BTN_EN2 63 // AUX2 PIN 4
|
||||
#define BTN_ENC 49 // AUX3 PIN 7
|
||||
#define BTN_EN1 59 // AUX2 PIN 3
|
||||
#define BTN_EN2 63 // AUX2 PIN 4
|
||||
#define BTN_ENC 49 // AUX3 PIN 7
|
||||
#else
|
||||
#define BTN_EN1 37
|
||||
#define BTN_EN2 35
|
||||
#define BTN_ENC 31
|
||||
#define BTN_EN1 37
|
||||
#define BTN_EN2 35
|
||||
#define BTN_ENC 31
|
||||
#endif
|
||||
|
||||
#if ENABLED(G3D_PANEL)
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 41
|
||||
#define SD_DETECT_PIN 49
|
||||
#define KILL_PIN 41
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -708,16 +708,16 @@
|
||||
#endif // HAS_SPI_LCD
|
||||
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_CLK 44
|
||||
#define SHIFT_LD 42
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_CLK 44
|
||||
#define SHIFT_LD 42
|
||||
#ifndef BTN_EN1
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN1 64
|
||||
#endif
|
||||
#ifndef BTN_EN2
|
||||
#define BTN_EN2 59
|
||||
#define BTN_EN2 59
|
||||
#endif
|
||||
#ifndef BTN_ENC
|
||||
#define BTN_ENC 63
|
||||
#define BTN_ENC 63
|
||||
#endif
|
||||
#endif
|
||||
|
@ -32,31 +32,31 @@
|
||||
//
|
||||
|
||||
// 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
|
||||
#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
|
||||
|
||||
#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)
|
||||
#define CASE_LIGHT_PIN 65
|
||||
#define CASE_LIGHT_PIN 65
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
#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
|
||||
|
||||
#define EXP1_PIN 65 // A11 - Used by CR2020 Industrial series for case
|
||||
#define EXP2_PIN 66 // A12
|
||||
#define EXP3_PIN 11 // SERVO0_PIN
|
||||
#define EXP4_PIN 12 // PS_ON_PIN
|
||||
#define EXP1_PIN 65 // A11 - Used by CR2020 Industrial series for case
|
||||
#define EXP2_PIN 66 // A12
|
||||
#define EXP3_PIN 11 // SERVO0_PIN
|
||||
#define EXP4_PIN 12 // PS_ON_PIN
|
||||
|
||||
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series
|
||||
#define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series
|
||||
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series
|
||||
#define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series
|
||||
|
@ -27,12 +27,12 @@
|
||||
|
||||
#define BOARD_INFO_NAME "Dagoma3D F5 RAMPS"
|
||||
|
||||
#define X_STOP_PIN 2
|
||||
#define Y_STOP_PIN 3
|
||||
#define Z_STOP_PIN 15
|
||||
#define FIL_RUNOUT_PIN 39
|
||||
#define X_STOP_PIN 2
|
||||
#define Y_STOP_PIN 3
|
||||
#define Z_STOP_PIN 15
|
||||
#define FIL_RUNOUT_PIN 39
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN 7
|
||||
#define ORIG_E0_AUTO_FAN_PIN 7
|
||||
|
||||
//
|
||||
// Import RAMPS 1.4 pins
|
||||
|
@ -37,80 +37,80 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MAX_PIN 2
|
||||
#define Y_MIN_PIN 16
|
||||
#define Y_MAX_PIN 17
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MAX_PIN 2
|
||||
#define Y_MIN_PIN 16
|
||||
#define Y_MAX_PIN 17
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 19
|
||||
#define Z_MIN_PROBE_PIN 19
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 26
|
||||
#define X_DIR_PIN 28
|
||||
#define X_ENABLE_PIN 24
|
||||
#define X_STEP_PIN 26
|
||||
#define X_DIR_PIN 28
|
||||
#define X_ENABLE_PIN 24
|
||||
|
||||
#define Y_STEP_PIN 38
|
||||
#define Y_DIR_PIN 40
|
||||
#define Y_ENABLE_PIN 36
|
||||
#define Y_STEP_PIN 38
|
||||
#define Y_DIR_PIN 40
|
||||
#define Y_ENABLE_PIN 36
|
||||
|
||||
#define Z_STEP_PIN 44
|
||||
#define Z_DIR_PIN 46
|
||||
#define Z_ENABLE_PIN 42
|
||||
#define Z_STEP_PIN 44
|
||||
#define Z_DIR_PIN 46
|
||||
#define Z_ENABLE_PIN 42
|
||||
|
||||
#define E0_STEP_PIN 32
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
#define E0_STEP_PIN 32
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 2 // Analog Input
|
||||
#define TEMP_BED_PIN 1 // Analog Input
|
||||
#define TEMP_0_PIN 2 // Analog Input
|
||||
#define TEMP_BED_PIN 1 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#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
|
||||
#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
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#if ENABLED(RAMPS_V_1_0)
|
||||
#define HEATER_0_PIN 12
|
||||
#define HEATER_BED_PIN -1
|
||||
#define HEATER_0_PIN 12
|
||||
#define HEATER_BED_PIN -1
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 11
|
||||
#define FAN_PIN 11
|
||||
#endif
|
||||
#else // RAMPS_V_1_1 or RAMPS_V_1_2
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_BED_PIN 8
|
||||
#else // RAMPS_V_1_1 or RAMPS_V_1_2
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_BED_PIN 8
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 9
|
||||
#define FAN_PIN 9
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDPOWER_PIN 48
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define CASE_LIGHT_PIN 45 // Hardware PWM
|
||||
#define SDPOWER_PIN 48
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define CASE_LIGHT_PIN 45 // Hardware PWM
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 41 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 43
|
||||
#define SPINDLE_LASER_ENA_PIN 41 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 43
|
||||
|
@ -44,8 +44,8 @@
|
||||
|
||||
#define BOARD_INFO_NAME "RAMPS 1.4 Plus"
|
||||
|
||||
#define RAMPS_D8_PIN 10
|
||||
#define RAMPS_D10_PIN 8
|
||||
#define RAMPS_D8_PIN 10
|
||||
#define RAMPS_D10_PIN 8
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
@ -60,13 +60,13 @@
|
||||
#undef E1_DIR_PIN
|
||||
#undef E1_ENABLE_PIN
|
||||
|
||||
#define E0_STEP_PIN 36
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
#define E0_STEP_PIN 36
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 24
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 24
|
||||
|
||||
#undef X_CS_PIN
|
||||
#undef Y_CS_PIN
|
||||
@ -77,10 +77,10 @@
|
||||
#if ENABLED(ULTRA_LCD, REPRAPWORLD_GRAPHICAL_LCD, CR10_STOCKDISPLAY) && !BOTH(NEWPANEL, PANEL_ONE)
|
||||
#if DISABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
|
||||
#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
|
||||
#define LCD_PINS_ENABLE 44 // 3DYMY boards pin 17 -> 44
|
||||
#define LCD_PINS_ENABLE 44 // 3DYMY boards pin 17 -> 44
|
||||
#endif
|
||||
#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
|
||||
|
@ -33,15 +33,15 @@
|
||||
// Z Probe (when not Z_MIN_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
|
||||
|
||||
//
|
||||
// MOSFET changes
|
||||
//
|
||||
#define RAMPS_D9_PIN 8 // FAN (by default)
|
||||
#define RAMPS_D10_PIN 9 // EXTRUDER 1
|
||||
#define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
|
||||
#define RAMPS_D9_PIN 8 // FAN (by default)
|
||||
#define RAMPS_D10_PIN 9 // EXTRUDER 1
|
||||
#define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
@ -52,18 +52,18 @@
|
||||
#undef E0_STEP_PIN
|
||||
#undef E0_DIR_PIN
|
||||
#undef E0_ENABLE_PIN
|
||||
#define E0_STEP_PIN 36
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
#define E0_STEP_PIN 36
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
|
||||
#undef E1_STEP_PIN
|
||||
#undef E1_DIR_PIN
|
||||
#undef E1_ENABLE_PIN
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 24
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 28
|
||||
#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
|
||||
@ -71,33 +71,33 @@
|
||||
#undef TEMP_0_PIN
|
||||
#undef TEMP_1_PIN
|
||||
#undef TEMP_BED_PIN
|
||||
#define TEMP_0_PIN 14 // Analog Input
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
#define TEMP_BED_PIN 15 // Analog Input
|
||||
#define TEMP_0_PIN 14 // Analog Input
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
#define TEMP_BED_PIN 15 // Analog Input
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
#undef MAX6675_SS_PIN
|
||||
#if DISABLED(SDSUPPORT)
|
||||
#define MAX6675_SS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
|
||||
#define MAX6675_SS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
|
||||
#else
|
||||
#define MAX6675_SS_PIN 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
|
||||
#define 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
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#undef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN 10
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8 // Same as RAMPS_13_EEF
|
||||
#define FAN_PIN 8 // Same as RAMPS_13_EEF
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#undef PS_ON_PIN
|
||||
#define PS_ON_PIN -1
|
||||
#define PS_ON_PIN -1
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -106,33 +106,33 @@
|
||||
#if ENABLED(RIGIDBOT_PANEL)
|
||||
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN -1
|
||||
#define BEEPER_PIN -1
|
||||
|
||||
// Direction buttons
|
||||
#define BTN_UP 37
|
||||
#define BTN_DWN 35
|
||||
#define BTN_LFT 33
|
||||
#define BTN_RT 32
|
||||
#define BTN_UP 37
|
||||
#define BTN_DWN 35
|
||||
#define BTN_LFT 33
|
||||
#define BTN_RT 32
|
||||
|
||||
// 'R' button
|
||||
#undef BTN_ENC
|
||||
#define BTN_ENC 31
|
||||
#define BTN_ENC 31
|
||||
|
||||
// Disable encoder
|
||||
#undef BTN_EN1
|
||||
#define BTN_EN1 -1
|
||||
#define BTN_EN1 -1
|
||||
#undef BTN_EN2
|
||||
#define BTN_EN2 -1
|
||||
#define BTN_EN2 -1
|
||||
|
||||
#undef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 22
|
||||
#define SD_DETECT_PIN 22
|
||||
|
||||
#elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||
|
||||
#undef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 22
|
||||
#define SD_DETECT_PIN 22
|
||||
|
||||
#undef KILL_PIN
|
||||
#define KILL_PIN 32
|
||||
#define KILL_PIN 32
|
||||
|
||||
#endif
|
||||
|
@ -40,12 +40,12 @@
|
||||
#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_ADDRESS 0
|
||||
#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_GAIN 1 // value of 1 here sets gain of 2
|
||||
#define DAC_DISABLE_PIN 42 // set low to enable DAC
|
||||
#define DAC_OR_ADDRESS 0x01
|
||||
#define DAC_STEPPER_ADDRESS 0
|
||||
#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_GAIN 1 // value of 1 here sets gain of 2
|
||||
#define DAC_DISABLE_PIN 42 // set low to enable DAC
|
||||
#define DAC_OR_ADDRESS 0x01
|
||||
|
||||
#ifndef DAC_MOTOR_CURRENT_DEFAULT
|
||||
#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
|
||||
|
@ -37,16 +37,16 @@
|
||||
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26 // (RUMBA E1 pins)
|
||||
#define E0_DIR_PIN 25
|
||||
#define E0_ENABLE_PIN 27
|
||||
#define E0_STEP_PIN 26 // (RUMBA E1 pins)
|
||||
#define E0_DIR_PIN 25
|
||||
#define E0_ENABLE_PIN 27
|
||||
|
||||
#define E1_STEP_PIN 29 // (RUMBA E2 pins)
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 39
|
||||
#define E1_STEP_PIN 29 // (RUMBA E2 pins)
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 39
|
||||
|
||||
#define Z2_STEP_PIN 23 // (RUMBA E0 pins)
|
||||
#define Z2_DIR_PIN 22
|
||||
#define Z2_ENABLE_PIN 24
|
||||
#define Z2_STEP_PIN 23 // (RUMBA E0 pins)
|
||||
#define Z2_DIR_PIN 22
|
||||
#define Z2_ENABLE_PIN 24
|
||||
|
||||
#include "pins_RUMBA.h"
|
||||
|
@ -41,56 +41,56 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 5
|
||||
#define SERVO0_PIN 5
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 37
|
||||
#define X_MAX_PIN 36
|
||||
#define Y_MIN_PIN 35
|
||||
#define Y_MAX_PIN 34
|
||||
#define Z_MIN_PIN 33
|
||||
#define Z_MAX_PIN 32
|
||||
#define X_MIN_PIN 37
|
||||
#define X_MAX_PIN 36
|
||||
#define Y_MIN_PIN 35
|
||||
#define Y_MAX_PIN 34
|
||||
#define Z_MIN_PIN 33
|
||||
#define Z_MAX_PIN 32
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 17
|
||||
#define X_DIR_PIN 16
|
||||
#define X_ENABLE_PIN 48
|
||||
#define X_STEP_PIN 17
|
||||
#define X_DIR_PIN 16
|
||||
#define X_ENABLE_PIN 48
|
||||
|
||||
#define Y_STEP_PIN 54
|
||||
#define Y_DIR_PIN 47
|
||||
#define Y_ENABLE_PIN 55
|
||||
#define Y_STEP_PIN 54
|
||||
#define Y_DIR_PIN 47
|
||||
#define Y_ENABLE_PIN 55
|
||||
|
||||
#define Z_STEP_PIN 57
|
||||
#define Z_DIR_PIN 56
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_STEP_PIN 57
|
||||
#define Z_DIR_PIN 56
|
||||
#define Z_ENABLE_PIN 62
|
||||
|
||||
#ifndef E0_STEP_PIN
|
||||
#define E0_STEP_PIN 23
|
||||
#define E0_DIR_PIN 22
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 23
|
||||
#define E0_DIR_PIN 22
|
||||
#define E0_ENABLE_PIN 24
|
||||
#endif
|
||||
|
||||
#ifndef E1_STEP_PIN
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 25
|
||||
#define E1_ENABLE_PIN 27
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 25
|
||||
#define E1_ENABLE_PIN 27
|
||||
#endif
|
||||
|
||||
#if E1_STEP_PIN != 29
|
||||
#define E2_STEP_PIN 29
|
||||
#define E2_DIR_PIN 28
|
||||
#define E2_ENABLE_PIN 39
|
||||
#define E2_STEP_PIN 29
|
||||
#define E2_DIR_PIN 28
|
||||
#define E2_ENABLE_PIN 39
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -98,134 +98,134 @@
|
||||
//
|
||||
#ifndef TEMP_0_PIN
|
||||
#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
|
||||
#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
|
||||
|
||||
#ifndef TEMP_1_PIN
|
||||
#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
|
||||
#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
|
||||
|
||||
#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
|
||||
#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
|
||||
|
||||
// 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
|
||||
//#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
|
||||
|
||||
#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
|
||||
#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
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_2_PIN 6
|
||||
#define HEATER_3_PIN 8
|
||||
#define HEATER_BED_PIN 9
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_2_PIN 6
|
||||
#define HEATER_3_PIN 8
|
||||
#define HEATER_BED_PIN 9
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#define FAN_PIN 7
|
||||
#endif
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN 8
|
||||
#define FAN1_PIN 8
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 45
|
||||
#define KILL_PIN 46
|
||||
#define CASE_LIGHT_PIN 45
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 45
|
||||
#define KILL_PIN 46
|
||||
#define CASE_LIGHT_PIN 45
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#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
|
||||
#ifndef SPINDLE_LASER_ENA_PIN
|
||||
#define SPINDLE_LASER_ENA_PIN 14 // Pullup!
|
||||
#define SPINDLE_LASER_ENA_PIN 14 // Pullup!
|
||||
#endif
|
||||
#ifndef SPINDLE_DIR_PIN
|
||||
#define SPINDLE_DIR_PIN 15
|
||||
#define SPINDLE_DIR_PIN 15
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
|
||||
#define LCD_PINS_DC 38 // Set as output on init
|
||||
#define LCD_PINS_RS 41 // Pull low for 1s to init
|
||||
#define LCD_PINS_DC 38 // Set as output on init
|
||||
#define LCD_PINS_RS 41 // Pull low for 1s to init
|
||||
// DOGM SPI LCD Support
|
||||
#define DOGLCD_CS 19
|
||||
#define DOGLCD_MOSI 42
|
||||
#define DOGLCD_SCK 18
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#define DOGLCD_CS 19
|
||||
#define DOGLCD_MOSI 42
|
||||
#define DOGLCD_SCK 18
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#elif ENABLED(FYSETC_MINI_12864)
|
||||
#define DOGLCD_CS 42
|
||||
#define DOGLCD_A0 19
|
||||
#define DOGLCD_MOSI 51
|
||||
#define DOGLCD_SCK 52
|
||||
#define DOGLCD_CS 42
|
||||
#define DOGLCD_A0 19
|
||||
#define DOGLCD_MOSI 51
|
||||
#define DOGLCD_SCK 52
|
||||
|
||||
//#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
|
||||
//#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
|
||||
|
||||
#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)
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN 41
|
||||
#define RGB_LED_R_PIN 41
|
||||
#endif
|
||||
#ifndef RGB_LED_G_PIN
|
||||
#define RGB_LED_G_PIN 38
|
||||
#define RGB_LED_G_PIN 38
|
||||
#endif
|
||||
#ifndef RGB_LED_B_PIN
|
||||
#define RGB_LED_B_PIN 40
|
||||
#define RGB_LED_B_PIN 40
|
||||
#endif
|
||||
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
||||
#define NEOPIXEL_PIN 25
|
||||
#define NEOPIXEL_PIN 25
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define LCD_PINS_RS 19
|
||||
#define LCD_PINS_ENABLE 42
|
||||
#define LCD_PINS_D4 18
|
||||
#define LCD_PINS_D5 38
|
||||
#define LCD_PINS_D6 41
|
||||
#define LCD_PINS_RS 19
|
||||
#define LCD_PINS_ENABLE 42
|
||||
#define LCD_PINS_D4 18
|
||||
#define LCD_PINS_D5 38
|
||||
#define LCD_PINS_D6 41
|
||||
#endif
|
||||
|
||||
#define LCD_PINS_D7 40
|
||||
#define LCD_PINS_D7 40
|
||||
|
||||
//
|
||||
// Beeper, SD Card, Encoder
|
||||
//
|
||||
#define BEEPER_PIN 44
|
||||
#define BEEPER_PIN 44
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
#endif
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 12
|
||||
#define BTN_ENC 43
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 12
|
||||
#define BTN_ENC 43
|
||||
#endif
|
||||
|
@ -27,24 +27,24 @@
|
||||
|
||||
#define BOARD_INFO_NAME "Tango"
|
||||
|
||||
#define FAN_PIN 8
|
||||
#define FAN1_PIN -1
|
||||
#define FAN_PIN 8
|
||||
#define FAN1_PIN -1
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN 7
|
||||
#define ORIG_E0_AUTO_FAN_PIN 7
|
||||
|
||||
#ifndef TEMP_0_PIN
|
||||
#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
|
||||
#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
|
||||
|
||||
#ifndef TEMP_1_PIN
|
||||
#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
|
||||
#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
|
||||
|
||||
|
@ -31,10 +31,10 @@
|
||||
// Servos
|
||||
//
|
||||
#if MB(TRIGORILLA_14_11)
|
||||
#define SERVO0_PIN 5
|
||||
#define SERVO1_PIN 4
|
||||
#define SERVO2_PIN 11
|
||||
#define SERVO3_PIN 6
|
||||
#define SERVO0_PIN 5
|
||||
#define SERVO1_PIN 4
|
||||
#define SERVO2_PIN 11
|
||||
#define SERVO3_PIN 6
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -42,48 +42,48 @@
|
||||
//
|
||||
//#define ANYCUBIC_4_MAX_PRO_ENDSTOPS
|
||||
#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
|
||||
#define X_MAX_PIN 43
|
||||
#define Y_MIN_PIN 19
|
||||
#define X_MAX_PIN 43
|
||||
#define Y_MIN_PIN 19
|
||||
#endif
|
||||
|
||||
// Labeled pins
|
||||
#define TRIGORILLA_HEATER_BED_PIN 8
|
||||
#define TRIGORILLA_HEATER_0_PIN 10
|
||||
#define TRIGORILLA_HEATER_1_PIN 45 // Anycubic Kossel: Unused
|
||||
#define TRIGORILLA_HEATER_BED_PIN 8
|
||||
#define TRIGORILLA_HEATER_0_PIN 10
|
||||
#define TRIGORILLA_HEATER_1_PIN 45 // Anycubic Kossel: Unused
|
||||
|
||||
#define TRIGORILLA_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
|
||||
#define TRIGORILLA_FAN1_PIN 7 // Anycubic Kossel: Unused
|
||||
#define TRIGORILLA_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
|
||||
#define TRIGORILLA_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
|
||||
#define TRIGORILLA_FAN1_PIN 7 // Anycubic Kossel: Unused
|
||||
#define TRIGORILLA_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
|
||||
|
||||
// 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
|
||||
#if !TEMP_SENSOR_BED
|
||||
// EEF
|
||||
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
|
||||
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
|
||||
#else
|
||||
// EEB
|
||||
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN
|
||||
#define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h
|
||||
#define RAMPS_D8_PINTRIGORILLA_HEATER_BED_PIN
|
||||
#define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h
|
||||
#endif
|
||||
#elif TEMP_SENSOR_BED
|
||||
// EFB (Anycubic Kossel default)
|
||||
#define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN
|
||||
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN
|
||||
#define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN
|
||||
#define RAMPS_D8_PINTRIGORILLA_HEATER_BED_PIN
|
||||
#else
|
||||
// EFF
|
||||
#define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN
|
||||
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
|
||||
#define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN
|
||||
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
|
||||
#endif
|
||||
|
||||
#if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB
|
||||
#define FAN1_PIN TRIGORILLA_FAN1_PIN
|
||||
#if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB
|
||||
#define FAN1_PIN TRIGORILLA_FAN1_PIN
|
||||
#endif
|
||||
#define FAN2_PIN TRIGORILLA_FAN2_PIN
|
||||
#define ORIG_E0_AUTO_FAN_PIN TRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config
|
||||
#define FAN2_PIN TRIGORILLA_FAN2_PIN
|
||||
#define ORIG_E0_AUTO_FAN_PINTRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
@ -96,25 +96,25 @@
|
||||
// LCD Display output pins
|
||||
#if BOTH(NEWPANEL, PANEL_ONE)
|
||||
#undef LCD_PINS_D6
|
||||
#define LCD_PINS_D6 57
|
||||
#define LCD_PINS_D6 57
|
||||
#endif
|
||||
|
||||
// LCD Display input pins
|
||||
#if ENABLED(NEWPANEL)
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#undef DOGLCD_A0
|
||||
#define DOGLCD_A0 23
|
||||
#define DOGLCD_A0 23
|
||||
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
#undef LCD_BACKLIGHT_PIN
|
||||
#define LCD_BACKLIGHT_PIN 67
|
||||
#define LCD_BACKLIGHT_PIN 67
|
||||
#endif
|
||||
#elif ENABLED(MINIPANEL)
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
#undef DOGLCD_A0
|
||||
#define DOGLCD_A0 42
|
||||
#define DOGLCD_A0 42
|
||||
#endif
|
||||
|
||||
#endif // HAS_SPI_LCD
|
||||
|
@ -34,70 +34,70 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN 12
|
||||
#define SERVO2_PIN 5
|
||||
#define SERVO3_PIN 4
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO1_PIN 12
|
||||
#define SERVO2_PIN 5
|
||||
#define SERVO3_PIN 4
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MAX_PIN 2
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MAX_PIN 2
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN SERVO3_PIN
|
||||
#define Z_MIN_PROBE_PIN SERVO3_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_CS_PIN 57
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_CS_PIN 57
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_CS_PIN 58
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_CS_PIN 58
|
||||
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_CS_PIN 53
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_CS_PIN 53
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_CS_PIN 49
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_CS_PIN 49
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_CS_PIN E0_CS_PIN
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_CS_PIN E0_CS_PIN
|
||||
|
||||
#define E2_STEP_PIN 63
|
||||
#define E2_DIR_PIN 22
|
||||
#define E2_ENABLE_PIN 59
|
||||
#define E2_CS_PIN E0_CS_PIN
|
||||
#define E2_STEP_PIN 63
|
||||
#define E2_DIR_PIN 22
|
||||
#define E2_ENABLE_PIN 59
|
||||
#define E2_CS_PIN E0_CS_PIN
|
||||
|
||||
#define E3_STEP_PIN 32
|
||||
#define E3_DIR_PIN 40
|
||||
#define E3_ENABLE_PIN 39
|
||||
#define E3_CS_PIN E0_CS_PIN
|
||||
#define E3_STEP_PIN 32
|
||||
#define E3_DIR_PIN 40
|
||||
#define E3_ENABLE_PIN 39
|
||||
#define E3_CS_PIN E0_CS_PIN
|
||||
|
||||
#define E4_STEP_PIN 43
|
||||
#define E4_DIR_PIN 42
|
||||
#define E4_ENABLE_PIN 47
|
||||
#define E4_CS_PIN E0_CS_PIN
|
||||
#define E4_STEP_PIN 43
|
||||
#define E4_DIR_PIN 42
|
||||
#define E4_ENABLE_PIN 47
|
||||
#define E4_CS_PIN E0_CS_PIN
|
||||
|
||||
#if HAS_TMC_UART
|
||||
/**
|
||||
@ -122,34 +122,34 @@
|
||||
// Software serial
|
||||
//
|
||||
|
||||
#define X_SERIAL_TX_PIN -1 // 59
|
||||
#define X_SERIAL_RX_PIN -1 // 63
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
#define X_SERIAL_TX_PIN -1 // 59
|
||||
#define X_SERIAL_RX_PIN -1 // 63
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
|
||||
#define Y_SERIAL_TX_PIN -1 // 64
|
||||
#define Y_SERIAL_RX_PIN -1 // 40
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
#define Y_SERIAL_TX_PIN -1 // 64
|
||||
#define Y_SERIAL_RX_PIN -1 // 40
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
|
||||
#define Z_SERIAL_TX_PIN -1 // 44
|
||||
#define Z_SERIAL_RX_PIN -1 // 42
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
#define Z_SERIAL_TX_PIN -1 // 44
|
||||
#define Z_SERIAL_RX_PIN -1 // 42
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
|
||||
#define E0_SERIAL_TX_PIN -1 // 66
|
||||
#define E0_SERIAL_RX_PIN -1 // 65
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#define E0_SERIAL_TX_PIN -1 // 66
|
||||
#define E0_SERIAL_RX_PIN -1 // 65
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -170,16 +170,16 @@
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13
|
||||
#define TEMP_1_PIN 15
|
||||
#define TEMP_2_PIN 10
|
||||
#define TEMP_3_PIN 11
|
||||
#define TEMP_BED_PIN 14
|
||||
#define TEMP_0_PIN 13
|
||||
#define TEMP_1_PIN 15
|
||||
#define TEMP_2_PIN 10
|
||||
#define TEMP_3_PIN 11
|
||||
#define TEMP_BED_PIN 14
|
||||
|
||||
#if TEMP_SENSOR_CHAMBER > 0
|
||||
#define TEMP_CHAMBER_PIN 12
|
||||
#define TEMP_CHAMBER_PIN 12
|
||||
#else
|
||||
#define TEMP_4_PIN 12
|
||||
#define TEMP_4_PIN 12
|
||||
#endif
|
||||
|
||||
// SPI for Max6675 or Max31855 Thermocouple
|
||||
@ -192,50 +192,50 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_2_PIN 44
|
||||
#define HEATER_BED_PIN 8
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_2_PIN 44
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN_PIN 9
|
||||
|
||||
#if EXTRUDERS >= 5
|
||||
#define HEATER_4_PIN 6
|
||||
#define HEATER_4_PIN 6
|
||||
#else
|
||||
#define FAN1_PIN 6
|
||||
#define FAN1_PIN 6
|
||||
#endif
|
||||
|
||||
#if EXTRUDERS >= 4
|
||||
#define HEATER_3_PIN 45
|
||||
#define HEATER_3_PIN 45
|
||||
#else
|
||||
#define FAN2_PIN 45
|
||||
#define FAN2_PIN 45
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
|
||||
//#ifndef FILWIDTH_PIN
|
||||
// #define FILWIDTH_PIN 5 // Analog Input
|
||||
//#endif
|
||||
|
||||
// DIO 4 (Servos plug) for the runout sensor.
|
||||
//#define FIL_RUNOUT_PIN SERVO3_PIN
|
||||
//#define FIL_RUNOUT_PIN SERVO3_PIN
|
||||
|
||||
#ifndef PS_ON_PIN
|
||||
#define PS_ON_PIN 12
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
//
|
||||
// Case Light
|
||||
//
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
|
||||
#if !NUM_SERVOS // Prefer the servo connector
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#elif HAS_FREE_AUX2_PINS // Try to use AUX 2
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#if !NUM_SERVOS // Prefer the servo connector
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#elif HAS_FREE_AUX2_PINS // Try to use AUX 2
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -243,14 +243,14 @@
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
|
||||
#if !NUM_SERVOS // Prefer the servo connector
|
||||
#define SPINDLE_LASER_ENABLE_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#elif HAS_FREE_AUX2_PINS // Try to use AUX 2
|
||||
#define SPINDLE_LASER_ENABLE_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#if !NUM_SERVOS // Prefer the servo connector
|
||||
#define SPINDLE_LASER_ENABLE_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#elif HAS_FREE_AUX2_PINS // Try to use AUX 2
|
||||
#define SPINDLE_LASER_ENABLE_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -278,63 +278,63 @@
|
||||
//
|
||||
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||
|
||||
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||
#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||
#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||
|
||||
#elif BOTH(NEWPANEL, PANEL_ONE)
|
||||
|
||||
#define LCD_PINS_RS 40
|
||||
#define LCD_PINS_ENABLE 42
|
||||
#define LCD_PINS_D4 65
|
||||
#define LCD_PINS_D5 66
|
||||
#define LCD_PINS_D6 44
|
||||
#define LCD_PINS_D7 64
|
||||
#define LCD_PINS_RS 40
|
||||
#define LCD_PINS_ENABLE 42
|
||||
#define LCD_PINS_D4 65
|
||||
#define LCD_PINS_D5 66
|
||||
#define LCD_PINS_D6 44
|
||||
#define LCD_PINS_D7 64
|
||||
|
||||
#elif ENABLED(ZONESTAR_LCD)
|
||||
|
||||
#define LCD_PINS_RS 64
|
||||
#define LCD_PINS_ENABLE 44
|
||||
#define LCD_PINS_D4 63
|
||||
#define LCD_PINS_D5 40
|
||||
#define LCD_PINS_D6 42
|
||||
#define LCD_PINS_D7 65
|
||||
#define ADC_KEYPAD_PIN 12
|
||||
#define LCD_PINS_RS 64
|
||||
#define LCD_PINS_ENABLE 44
|
||||
#define LCD_PINS_D4 63
|
||||
#define LCD_PINS_D5 40
|
||||
#define LCD_PINS_D6 42
|
||||
#define LCD_PINS_D7 65
|
||||
#define ADC_KEYPAD_PIN 12
|
||||
|
||||
#else
|
||||
|
||||
#if ENABLED(CR10_STOCKDISPLAY)
|
||||
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 25
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 25
|
||||
|
||||
#if DISABLED(NEWPANEL)
|
||||
#define BEEPER_PIN 37
|
||||
#define BEEPER_PIN 37
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
|
||||
#define LCD_PINS_DC 25 // Set as output on init
|
||||
#define LCD_PINS_RS 27 // Pull low for 1s to init
|
||||
#define LCD_PINS_DC 25 // Set as output on init
|
||||
#define LCD_PINS_RS 27 // Pull low for 1s to init
|
||||
// DOGM SPI LCD Support
|
||||
#define DOGLCD_CS 16
|
||||
#define DOGLCD_MOSI 17
|
||||
#define DOGLCD_SCK 23
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#define DOGLCD_CS 16
|
||||
#define DOGLCD_MOSI 17
|
||||
#define DOGLCD_SCK 23
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#else
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#endif
|
||||
|
||||
#define LCD_PINS_D7 29
|
||||
#define LCD_PINS_D7 29
|
||||
|
||||
#if DISABLED(NEWPANEL)
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -342,10 +342,10 @@
|
||||
#if DISABLED(NEWPANEL)
|
||||
// Buttons attached to a shift register
|
||||
// Not wired yet
|
||||
//#define SHIFT_CLK 38
|
||||
//#define SHIFT_LD 42
|
||||
//#define SHIFT_OUT 40
|
||||
//#define SHIFT_EN 17
|
||||
//#define SHIFT_CLK 38
|
||||
//#define SHIFT_LD 42
|
||||
//#define SHIFT_OUT 40
|
||||
//#define SHIFT_EN 17
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -357,155 +357,155 @@
|
||||
|
||||
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||
|
||||
#define BEEPER_PIN 37
|
||||
#define BEEPER_PIN 37
|
||||
|
||||
#if ENABLED(CR10_STOCKDISPLAY)
|
||||
#define BTN_EN1 17
|
||||
#define BTN_EN2 23
|
||||
#define BTN_EN1 17
|
||||
#define BTN_EN2 23
|
||||
#else
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#endif
|
||||
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 41
|
||||
#define BTN_ENC 35
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 41
|
||||
|
||||
#if ENABLED(BQ_LCD_SMART_CONTROLLER)
|
||||
#define LCD_BACKLIGHT_PIN 39
|
||||
#define LCD_BACKLIGHT_PIN 39
|
||||
#endif
|
||||
|
||||
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN2 59
|
||||
#define BTN_ENC 63
|
||||
#define SD_DETECT_PIN 42
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN2 59
|
||||
#define BTN_ENC 63
|
||||
#define SD_DETECT_PIN 42
|
||||
|
||||
#elif ENABLED(LCD_I2C_PANELOLU2)
|
||||
|
||||
#define BTN_EN1 47
|
||||
#define BTN_EN2 43
|
||||
#define BTN_ENC 32
|
||||
#define LCD_SDSS 53
|
||||
//#define KILL_PIN 41
|
||||
#define BTN_EN1 47
|
||||
#define BTN_EN2 43
|
||||
#define BTN_ENC 32
|
||||
#define LCD_SDSS 53
|
||||
//#define KILL_PIN 41
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
#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_ENC -1
|
||||
#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_ENC -1
|
||||
|
||||
#define LCD_SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
#define LCD_SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
#elif EITHER(VIKI2, miniVIKI)
|
||||
|
||||
#define DOGLCD_CS 45
|
||||
#define DOGLCD_A0 44
|
||||
#define DOGLCD_CS 45
|
||||
#define DOGLCD_A0 44
|
||||
#define LCD_SCREEN_ROT_180
|
||||
|
||||
#define BEEPER_PIN 33
|
||||
#define STAT_LED_RED_PIN 32
|
||||
#define STAT_LED_BLUE_PIN 35
|
||||
#define BEEPER_PIN 33
|
||||
#define STAT_LED_RED_PIN 32
|
||||
#define STAT_LED_BLUE_PIN 35
|
||||
|
||||
#define BTN_EN1 22
|
||||
#define BTN_EN2 7
|
||||
#define BTN_ENC 39
|
||||
#define BTN_EN1 22
|
||||
#define BTN_EN2 7
|
||||
#define BTN_ENC 39
|
||||
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
|
||||
//#define KILL_PIN 31
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
|
||||
//#define KILL_PIN 31
|
||||
|
||||
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
||||
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_A0 27
|
||||
|
||||
#define BEEPER_PIN 23
|
||||
#define LCD_BACKLIGHT_PIN 33
|
||||
#define BEEPER_PIN 23
|
||||
#define LCD_BACKLIGHT_PIN 33
|
||||
|
||||
#define BTN_EN1 35
|
||||
#define BTN_EN2 37
|
||||
#define BTN_ENC 31
|
||||
#define BTN_EN1 35
|
||||
#define BTN_EN2 37
|
||||
#define BTN_ENC 31
|
||||
|
||||
#define LCD_SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 41
|
||||
#define LCD_SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 41
|
||||
|
||||
#elif ENABLED(MKS_MINI_12864)
|
||||
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 25
|
||||
#define DOGLCD_A0 27
|
||||
#define DOGLCD_CS 25
|
||||
|
||||
// GLCD features
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
// Uncomment screen orientation
|
||||
//#define LCD_SCREEN_ROT_90
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
//#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_EN2 33
|
||||
#define BTN_ENC 35
|
||||
//#define SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 64
|
||||
#define BTN_EN1 31
|
||||
#define BTN_EN2 33
|
||||
#define BTN_ENC 35
|
||||
//#define SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 64
|
||||
|
||||
#elif ENABLED(MINIPANEL)
|
||||
|
||||
#define BEEPER_PIN 42
|
||||
#define BEEPER_PIN 42
|
||||
// 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_CS 66
|
||||
#define DOGLCD_A0 44
|
||||
#define DOGLCD_CS 66
|
||||
|
||||
// GLCD features
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
// Uncomment screen orientation
|
||||
//#define LCD_SCREEN_ROT_90
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
//#define LCD_SCREEN_ROT_270
|
||||
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 63
|
||||
#define BTN_ENC 59
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 63
|
||||
#define BTN_ENC 59
|
||||
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 64
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 64
|
||||
|
||||
#else
|
||||
|
||||
// Beeper on AUX-4
|
||||
#define BEEPER_PIN 33
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
// Buttons are directly attached to AUX-2
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_CLK 44
|
||||
#define SHIFT_LD 42
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN2 59
|
||||
#define BTN_ENC 63
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_CLK 44
|
||||
#define SHIFT_LD 42
|
||||
#define BTN_EN1 64
|
||||
#define BTN_EN2 59
|
||||
#define BTN_ENC 63
|
||||
#elif ENABLED(PANEL_ONE)
|
||||
#define BTN_EN1 59 // AUX2 PIN 3
|
||||
#define BTN_EN2 63 // AUX2 PIN 4
|
||||
#define BTN_ENC 49 // AUX3 PIN 7
|
||||
#define BTN_EN1 59 // AUX2 PIN 3
|
||||
#define BTN_EN2 63 // AUX2 PIN 4
|
||||
#define BTN_ENC 49 // AUX3 PIN 7
|
||||
#else
|
||||
#define BTN_EN1 37
|
||||
#define BTN_EN2 35
|
||||
#define BTN_ENC 31
|
||||
#define BTN_EN1 37
|
||||
#define BTN_EN2 35
|
||||
#define BTN_ENC 31
|
||||
#endif
|
||||
|
||||
#if ENABLED(G3D_PANEL)
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 41
|
||||
#define SD_DETECT_PIN 49
|
||||
//#define KILL_PIN 41
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -44,97 +44,97 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 22
|
||||
#define Y_STOP_PIN 26
|
||||
#define Z_STOP_PIN 29
|
||||
#define X_STOP_PIN 22
|
||||
#define Y_STOP_PIN 26
|
||||
#define Z_STOP_PIN 29
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 25
|
||||
#define X_DIR_PIN 23
|
||||
#define X_ENABLE_PIN 27
|
||||
#define X_STEP_PIN 25
|
||||
#define X_DIR_PIN 23
|
||||
#define X_ENABLE_PIN 27
|
||||
|
||||
#define Y_STEP_PIN 32
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 31
|
||||
#define Y_STEP_PIN 32
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 31
|
||||
|
||||
#define Z_STEP_PIN 35
|
||||
#define Z_DIR_PIN 36
|
||||
#define Z_ENABLE_PIN 34
|
||||
#define Z_STEP_PIN 35
|
||||
#define Z_DIR_PIN 36
|
||||
#define Z_ENABLE_PIN 34
|
||||
|
||||
#define E0_STEP_PIN 42
|
||||
#define E0_DIR_PIN 43
|
||||
#define E0_ENABLE_PIN 37
|
||||
#define E0_STEP_PIN 42
|
||||
#define E0_DIR_PIN 43
|
||||
#define E0_ENABLE_PIN 37
|
||||
|
||||
#define E1_STEP_PIN 49
|
||||
#define E1_DIR_PIN 47
|
||||
#define E1_ENABLE_PIN 48
|
||||
#define E1_STEP_PIN 49
|
||||
#define E1_DIR_PIN 47
|
||||
#define E1_ENABLE_PIN 48
|
||||
|
||||
#define MOTOR_CURRENT_PWM_XY_PIN 44
|
||||
#define MOTOR_CURRENT_PWM_Z_PIN 45
|
||||
#define MOTOR_CURRENT_PWM_E_PIN 46
|
||||
#define MOTOR_CURRENT_PWM_XY_PIN 44
|
||||
#define MOTOR_CURRENT_PWM_Z_PIN 45
|
||||
#define MOTOR_CURRENT_PWM_E_PIN 46
|
||||
// Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
|
||||
#ifndef MOTOR_CURRENT_PWM_RANGE
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#endif
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 8 // Analog Input
|
||||
#define TEMP_1_PIN 9 // Analog Input
|
||||
#define TEMP_BED_PIN 10 // Analog Input
|
||||
#define TEMP_0_PIN 8 // Analog Input
|
||||
#define TEMP_1_PIN 9 // Analog Input
|
||||
#define TEMP_BED_PIN 10 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#define FAN_PIN 7
|
||||
#endif
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN 77
|
||||
#define ORIG_E0_AUTO_FAN_PIN 77
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 39
|
||||
#define LED_PIN 8
|
||||
#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 SDSS 53
|
||||
#define SD_DETECT_PIN 39
|
||||
#define LED_PIN 8
|
||||
#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.
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#define BEEPER_PIN 18
|
||||
#define BEEPER_PIN 18
|
||||
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 15
|
||||
#define LCD_PINS_D4 14
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 6
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 15
|
||||
#define LCD_PINS_D4 14
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 6
|
||||
|
||||
// Buttons are directly attached
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 41
|
||||
#define BTN_ENC 19
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 41
|
||||
#define BTN_ENC 19
|
||||
|
||||
//
|
||||
// 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
|
||||
#define SPINDLE_DIR_PIN 16
|
||||
#define SPINDLE_LASER_ENA_PIN 17 // Pullup!
|
||||
#define SPINDLE_LASER_PWM_PIN 8 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 16
|
||||
#define SPINDLE_LASER_ENA_PIN 17 // Pullup!
|
||||
#define SPINDLE_LASER_PWM_PIN 8 // Hardware PWM
|
||||
#else
|
||||
#undef LED_PIN
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#endif
|
||||
|
@ -44,114 +44,114 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO0_PIN 11
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 22
|
||||
#define X_MAX_PIN 24
|
||||
#define Y_MIN_PIN 26
|
||||
#define Y_MAX_PIN 28
|
||||
#define Z_MIN_PIN 30
|
||||
#define Z_MAX_PIN 32
|
||||
#define X_MIN_PIN 22
|
||||
#define X_MAX_PIN 24
|
||||
#define Y_MIN_PIN 26
|
||||
#define Y_MAX_PIN 28
|
||||
#define Z_MIN_PIN 30
|
||||
#define Z_MAX_PIN 32
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 25
|
||||
#define X_DIR_PIN 23
|
||||
#define X_ENABLE_PIN 27
|
||||
#define X_STEP_PIN 25
|
||||
#define X_DIR_PIN 23
|
||||
#define X_ENABLE_PIN 27
|
||||
|
||||
#define Y_STEP_PIN 31
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 29
|
||||
#define Y_STEP_PIN 31
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 29
|
||||
|
||||
#define Z_STEP_PIN 37
|
||||
#define Z_DIR_PIN 39
|
||||
#define Z_ENABLE_PIN 35
|
||||
#define Z_STEP_PIN 37
|
||||
#define Z_DIR_PIN 39
|
||||
#define Z_ENABLE_PIN 35
|
||||
|
||||
#define E0_STEP_PIN 43
|
||||
#define E0_DIR_PIN 45
|
||||
#define E0_ENABLE_PIN 41
|
||||
#define E0_STEP_PIN 43
|
||||
#define E0_DIR_PIN 45
|
||||
#define E0_ENABLE_PIN 41
|
||||
|
||||
#define E1_STEP_PIN 49
|
||||
#define E1_DIR_PIN 47
|
||||
#define E1_ENABLE_PIN 48
|
||||
#define E1_STEP_PIN 49
|
||||
#define E1_DIR_PIN 47
|
||||
#define E1_ENABLE_PIN 48
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 8 // Analog Input
|
||||
#define TEMP_1_PIN 9 // Analog Input
|
||||
#define TEMP_BED_PIN 10 // Analog Input
|
||||
#define TEMP_0_PIN 8 // Analog Input
|
||||
#define TEMP_1_PIN 9 // Analog Input
|
||||
#define TEMP_BED_PIN 10 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#define FAN_PIN 7
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
|
||||
#define CASE_LIGHT_PIN 8
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if HAS_SPI_LCD
|
||||
|
||||
#define BEEPER_PIN 18
|
||||
#define BEEPER_PIN 18
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 6
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 6
|
||||
|
||||
// Buttons directly attached
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 42
|
||||
#define BTN_ENC 19
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 42
|
||||
#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
|
||||
#define SHIFT_CLK 38
|
||||
#define SHIFT_LD 42
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_EN 17
|
||||
#define SHIFT_CLK 38
|
||||
#define SHIFT_LD 42
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_EN 17
|
||||
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 5
|
||||
#define LCD_PINS_D4 6
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 20
|
||||
#define LCD_PINS_D7 19
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 5
|
||||
#define LCD_PINS_D4 6
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 20
|
||||
#define LCD_PINS_D7 19
|
||||
|
||||
#define SD_DETECT_PIN -1
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
#endif // !NEWPANEL
|
||||
|
||||
@ -160,6 +160,6 @@
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 11 // use the EXP3 PWM header
|
||||
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 11 // use the EXP3 PWM header
|
||||
|
@ -80,134 +80,134 @@
|
||||
// Limit Switches
|
||||
//
|
||||
#if ENABLED(BOARD_REV_1_1_TO_1_3)
|
||||
#define X_MIN_PIN 15 // SW1
|
||||
#define X_MAX_PIN 14 // SW2
|
||||
#define Y_MIN_PIN 17 // SW3
|
||||
#define Y_MAX_PIN 16 // SW4
|
||||
#define Z_MIN_PIN 19 // SW5
|
||||
#define Z_MAX_PIN 18 // SW6
|
||||
#define X_MIN_PIN 15 // SW1
|
||||
#define X_MAX_PIN 14 // SW2
|
||||
#define Y_MIN_PIN 17 // SW3
|
||||
#define Y_MAX_PIN 16 // SW4
|
||||
#define Z_MIN_PIN 19 // SW5
|
||||
#define Z_MAX_PIN 18 // SW6
|
||||
#endif
|
||||
|
||||
#if ENABLED(BOARD_REV_1_0)
|
||||
#if HAS_CUTTER
|
||||
#define X_STOP_PIN 13 // SW1 (didn't change) - also has a useable hardware PWM
|
||||
#define Y_STOP_PIN 12 // SW2
|
||||
#define Z_STOP_PIN 11 // SW3
|
||||
#define X_STOP_PIN 13 // SW1 (didn't change) - also has a useable hardware PWM
|
||||
#define Y_STOP_PIN 12 // SW2
|
||||
#define Z_STOP_PIN 11 // SW3
|
||||
#else
|
||||
#define X_MIN_PIN 13 // SW1
|
||||
#define X_MAX_PIN 12 // SW2
|
||||
#define Y_MIN_PIN 11 // SW3
|
||||
#define Y_MAX_PIN 10 // SW4
|
||||
#define Z_MIN_PIN 9 // SW5
|
||||
#define Z_MAX_PIN 8 // SW6
|
||||
#define X_MIN_PIN 13 // SW1
|
||||
#define X_MAX_PIN 12 // SW2
|
||||
#define Y_MIN_PIN 11 // SW3
|
||||
#define Y_MAX_PIN 10 // SW4
|
||||
#define Z_MIN_PIN 9 // SW5
|
||||
#define Z_MAX_PIN 8 // SW6
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(BOARD_REV_1_5)
|
||||
#define X_MIN_PIN 22
|
||||
#define X_MAX_PIN 24
|
||||
#define Y_MIN_PIN 26
|
||||
#define Y_MAX_PIN 28
|
||||
#define Z_MIN_PIN 30
|
||||
#define Z_MAX_PIN 32
|
||||
#define X_MIN_PIN 22
|
||||
#define X_MAX_PIN 24
|
||||
#define Y_MIN_PIN 26
|
||||
#define Y_MAX_PIN 28
|
||||
#define Z_MIN_PIN 30
|
||||
#define Z_MAX_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#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
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 25
|
||||
#define X_DIR_PIN 23
|
||||
#define X_ENABLE_PIN 27
|
||||
#define X_STEP_PIN 25
|
||||
#define X_DIR_PIN 23
|
||||
#define X_ENABLE_PIN 27
|
||||
|
||||
#define Y_STEP_PIN 31
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 29
|
||||
#define Y_STEP_PIN 31
|
||||
#define Y_DIR_PIN 33
|
||||
#define Y_ENABLE_PIN 29
|
||||
|
||||
#define Z_STEP_PIN 37
|
||||
#define Z_DIR_PIN 39
|
||||
#define Z_ENABLE_PIN 35
|
||||
#define Z_STEP_PIN 37
|
||||
#define Z_DIR_PIN 39
|
||||
#define Z_ENABLE_PIN 35
|
||||
|
||||
#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
|
||||
#define E0_STEP_PIN 49
|
||||
#define E0_DIR_PIN 47
|
||||
#define E0_ENABLE_PIN 48
|
||||
#define E0_STEP_PIN 49
|
||||
#define E0_DIR_PIN 47
|
||||
#define E0_ENABLE_PIN 48
|
||||
#else
|
||||
#define E0_STEP_PIN 43
|
||||
#define E0_DIR_PIN 45
|
||||
#define E0_ENABLE_PIN 41
|
||||
#define E0_STEP_PIN 43
|
||||
#define E0_DIR_PIN 45
|
||||
#define E0_ENABLE_PIN 41
|
||||
|
||||
#define E1_STEP_PIN 49
|
||||
#define E1_DIR_PIN 47
|
||||
#define E1_ENABLE_PIN 48
|
||||
#define E1_STEP_PIN 49
|
||||
#define E1_DIR_PIN 47
|
||||
#define E1_ENABLE_PIN 48
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 8 // Analog Input
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
#define TEMP_0_PIN 8 // Analog Input
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
//#define HEATER_1_PIN 3 // used for case light Rev A said "1"
|
||||
#define HEATER_BED_PIN 4
|
||||
#define HEATER_0_PIN 2
|
||||
//#define HEATER_1_PIN 3 // used for case light Rev A said "1"
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if ANY(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3)
|
||||
|
||||
#define LCD_PINS_RS 24
|
||||
#define LCD_PINS_ENABLE 22
|
||||
#define LCD_PINS_D4 36
|
||||
#define LCD_PINS_D5 34
|
||||
#define LCD_PINS_D6 32
|
||||
#define LCD_PINS_D7 30
|
||||
#define LCD_PINS_RS 24
|
||||
#define LCD_PINS_ENABLE 22
|
||||
#define LCD_PINS_D4 36
|
||||
#define LCD_PINS_D5 34
|
||||
#define LCD_PINS_D6 32
|
||||
#define LCD_PINS_D7 30
|
||||
|
||||
#elif ENABLED(BOARD_REV_1_5, ULTRA_LCD)
|
||||
|
||||
#define BEEPER_PIN 18
|
||||
#define BEEPER_PIN 18
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 6
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
#define LCD_PINS_D7 6
|
||||
|
||||
// Buttons directly attached
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 42
|
||||
#define BTN_ENC 19
|
||||
#define BTN_EN1 40
|
||||
#define BTN_EN2 42
|
||||
#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
|
||||
#define SHIFT_CLK 38
|
||||
#define SHIFT_LD 42
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_EN 17
|
||||
#define SHIFT_CLK 38
|
||||
#define SHIFT_LD 42
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_EN 17
|
||||
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 5
|
||||
#define LCD_PINS_D4 6
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 20
|
||||
#define LCD_PINS_D7 19
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 5
|
||||
#define LCD_PINS_D4 6
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 20
|
||||
#define LCD_PINS_D7 19
|
||||
|
||||
#endif // !NEWPANEL
|
||||
|
||||
@ -217,17 +217,17 @@
|
||||
// case light - see spindle section for more info on available hardware PWMs
|
||||
//
|
||||
#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
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER
|
||||
#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_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!
|
||||
#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_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!
|
||||
#elif ENABLED(BOARD_REV_1_1_TO_1_3)
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
#if EXTRUDERS == 1
|
||||
#define SPINDLE_DIR_PIN 43
|
||||
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 41 // Pullup!
|
||||
#elif TEMP_SENSOR_BED == 0 // Can't use E0 so see if HEATER_BED_PIN is available
|
||||
#define SPINDLE_DIR_PIN 43
|
||||
#define SPINDLE_LASER_PWM_PIN 45 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 41 // Pullup!
|
||||
#elif TEMP_SENSOR_BED == 0 // Can't use E0 so see if HEATER_BED_PIN is available
|
||||
#undef HEATER_BED_PIN
|
||||
#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_ENA_PIN 40 // Pullup! (Probably pin 6 on the 10-pin
|
||||
#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_ENA_PIN 40 // Pullup! (Probably pin 6 on the 10-pin
|
||||
// connector closest to the E0 socket)
|
||||
#endif
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#define BOARD_INFO_NAME "VORON Design v2"
|
||||
|
||||
#define RAMPS_D8_PIN 11
|
||||
#define RAMPS_D8_PIN 11
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
@ -36,10 +36,10 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#undef FAN_PIN
|
||||
#define FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on.
|
||||
#define CONTROLLER_FAN_PIN 8
|
||||
#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 FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on.
|
||||
#define CONTROLLER_FAN_PIN 8
|
||||
#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)
|
||||
|
||||
//
|
||||
// LCDs and Controllers
|
||||
|
@ -28,24 +28,24 @@
|
||||
|
||||
#include "pins_MKS_GEN_13.h"
|
||||
|
||||
#define ZRIB_V20_D6_PIN 6 // Fan
|
||||
#define ZRIB_V20_D9_PIN 9 // Fan2
|
||||
#define ZRIB_V20_A10_PIN 10
|
||||
#define ZRIB_V20_D16_PIN 16
|
||||
#define ZRIB_V20_D17_PIN 17
|
||||
#define ZRIB_V20_D23_PIN 23
|
||||
#define ZRIB_V20_D25_PIN 25
|
||||
#define ZRIB_V20_D27_PIN 27
|
||||
#define ZRIB_V20_D29_PIN 29
|
||||
#define ZRIB_V20_D37_PIN 37
|
||||
#define ZRIB_V20_D6_PIN 6 // Fan
|
||||
#define ZRIB_V20_D9_PIN 9 // Fan2
|
||||
#define ZRIB_V20_A10_PIN 10
|
||||
#define ZRIB_V20_D16_PIN 16
|
||||
#define ZRIB_V20_D17_PIN 17
|
||||
#define ZRIB_V20_D23_PIN 23
|
||||
#define ZRIB_V20_D25_PIN 25
|
||||
#define ZRIB_V20_D27_PIN 27
|
||||
#define ZRIB_V20_D29_PIN 29
|
||||
#define ZRIB_V20_D37_PIN 37
|
||||
|
||||
#define ORIG_E0_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_E3_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_E2_AUTO_FAN_PIN ZRIB_V20_D6_PIN
|
||||
#define ORIG_E3_AUTO_FAN_PIN ZRIB_V20_D6_PIN
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN 11 // Analog Input
|
||||
#define FILWIDTH_PIN 11 // Analog Input
|
||||
#endif
|
||||
|
||||
#if ENABLED(ZONESTAR_LCD)
|
||||
@ -58,12 +58,12 @@
|
||||
#undef ADC_KEYPAD_PIN
|
||||
#undef BEEPER_PIN
|
||||
|
||||
#define LCD_PINS_RS ZRIB_V20_D16_PIN
|
||||
#define LCD_PINS_ENABLE ZRIB_V20_D17_PIN
|
||||
#define LCD_PINS_D4 ZRIB_V20_D23_PIN
|
||||
#define LCD_PINS_D5 ZRIB_V20_D25_PIN
|
||||
#define LCD_PINS_D6 ZRIB_V20_D27_PIN
|
||||
#define LCD_PINS_D7 ZRIB_V20_D29_PIN
|
||||
#define ADC_KEYPAD_PIN ZRIB_V20_A10_PIN
|
||||
#define BEEPER_PIN ZRIB_V20_D37_PIN
|
||||
#define LCD_PINS_RS ZRIB_V20_D16_PIN
|
||||
#define LCD_PINS_ENABLE ZRIB_V20_D17_PIN
|
||||
#define LCD_PINS_D4 ZRIB_V20_D23_PIN
|
||||
#define LCD_PINS_D5 ZRIB_V20_D25_PIN
|
||||
#define LCD_PINS_D6 ZRIB_V20_D27_PIN
|
||||
#define LCD_PINS_D7 ZRIB_V20_D29_PIN
|
||||
#define ADC_KEYPAD_PIN ZRIB_V20_A10_PIN
|
||||
#define BEEPER_PIN ZRIB_V20_D37_PIN
|
||||
#endif
|
||||
|
@ -37,129 +37,129 @@
|
||||
// Servos
|
||||
//
|
||||
#ifndef SERVO0_PIN
|
||||
#define SERVO0_PIN 11
|
||||
#define SERVO0_PIN 11
|
||||
#endif
|
||||
#ifndef SERVO3_PIN
|
||||
#define SERVO3_PIN 4
|
||||
#define SERVO3_PIN 4
|
||||
#endif
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 3
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 2
|
||||
#define X_MAX_PIN 2
|
||||
#endif
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#define Z_MIN_PROBE_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#define X_STEP_PIN 54
|
||||
#define X_DIR_PIN 55
|
||||
#define X_ENABLE_PIN 38
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN -1
|
||||
#define X_CS_PIN -1
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#define Y_STEP_PIN 60
|
||||
#define Y_DIR_PIN 61
|
||||
#define Y_ENABLE_PIN 56
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN -1
|
||||
#define Y_CS_PIN -1
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#define Z_STEP_PIN 46
|
||||
#define Z_DIR_PIN 48
|
||||
#define Z_ENABLE_PIN 62
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN -1
|
||||
#define Z_CS_PIN -1
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 26
|
||||
#define E0_DIR_PIN 28
|
||||
#define E0_ENABLE_PIN 24
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN -1
|
||||
#define E0_CS_PIN -1
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#define E1_STEP_PIN 36
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN -1
|
||||
#define E1_CS_PIN -1
|
||||
#endif
|
||||
|
||||
// Red
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 40
|
||||
#define E2_ENABLE_PIN 65
|
||||
#define E2_STEP_PIN 42
|
||||
#define E2_DIR_PIN 40
|
||||
#define E2_ENABLE_PIN 65
|
||||
#ifndef E2_CS_PIN
|
||||
#define E2_CS_PIN -1
|
||||
#define E2_CS_PIN -1
|
||||
#endif
|
||||
|
||||
// Black
|
||||
#define E3_STEP_PIN 44
|
||||
#define E3_DIR_PIN 64
|
||||
#define E3_ENABLE_PIN 66
|
||||
#define E3_STEP_PIN 44
|
||||
#define E3_DIR_PIN 64
|
||||
#define E3_ENABLE_PIN 66
|
||||
#ifndef E3_CS_PIN
|
||||
#define E3_CS_PIN -1
|
||||
#define E3_CS_PIN -1
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_2_PIN 5 // Analog Input (BLACK)
|
||||
#define TEMP_3_PIN 9 // Analog Input (RED)
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
#define TEMP_0_PIN 13 // Analog Input
|
||||
#define TEMP_1_PIN 15 // Analog Input
|
||||
#define TEMP_2_PIN 5 // Analog Input (BLACK)
|
||||
#define TEMP_3_PIN 9 // Analog Input (RED)
|
||||
#define TEMP_BED_PIN 14 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_2_PIN 6
|
||||
#define HEATER_3_PIN 5
|
||||
#define HEATER_BED_PIN 8
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_2_PIN 6
|
||||
#define HEATER_3_PIN 5
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN_PIN 9
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
||||
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
||||
#endif
|
||||
|
||||
// Оn the servos connector
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
#endif
|
||||
|
||||
#ifndef PS_ON_PIN
|
||||
#define PS_ON_PIN 12
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
|
||||
#if NUM_SERVOS <= 1 // Prefer the servo connector
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#if NUM_SERVOS <= 1 // Prefer the servo connector
|
||||
#define CASE_LIGHT_PIN 6 // Hardware PWM
|
||||
#elif HAS_FREE_AUX2_PINS
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -167,14 +167,14 @@
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
|
||||
#if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 5
|
||||
#elif HAS_FREE_AUX2_PINS
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 65
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -183,13 +183,13 @@
|
||||
//
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#ifndef TMC_SW_MOSI
|
||||
#define TMC_SW_MOSI 66
|
||||
#define TMC_SW_MOSI 66
|
||||
#endif
|
||||
#ifndef TMC_SW_MISO
|
||||
#define TMC_SW_MISO 44
|
||||
#define TMC_SW_MISO 44
|
||||
#endif
|
||||
#ifndef TMC_SW_SCK
|
||||
#define TMC_SW_SCK 64
|
||||
#define TMC_SW_SCK 64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -217,90 +217,90 @@
|
||||
//
|
||||
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 40
|
||||
#define X_SERIAL_TX_PIN 40
|
||||
#endif
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN 63
|
||||
#define X_SERIAL_RX_PIN 63
|
||||
#endif
|
||||
#ifndef X2_SERIAL_TX_PIN
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef X2_SERIAL_RX_PIN
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef Y_SERIAL_TX_PIN
|
||||
#define Y_SERIAL_TX_PIN 59
|
||||
#define Y_SERIAL_TX_PIN 59
|
||||
#endif
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN 64
|
||||
#define Y_SERIAL_RX_PIN 64
|
||||
#endif
|
||||
#ifndef Y2_SERIAL_TX_PIN
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef Y2_SERIAL_RX_PIN
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef Z_SERIAL_TX_PIN
|
||||
#define Z_SERIAL_TX_PIN 42
|
||||
#define Z_SERIAL_TX_PIN 42
|
||||
#endif
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN 65
|
||||
#define Z_SERIAL_RX_PIN 65
|
||||
#endif
|
||||
#ifndef Z2_SERIAL_TX_PIN
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef Z2_SERIAL_RX_PIN
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
|
||||
#ifndef E0_SERIAL_TX_PIN
|
||||
#define E0_SERIAL_TX_PIN 44
|
||||
#define E0_SERIAL_TX_PIN 44
|
||||
#endif
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN 66
|
||||
#define E0_SERIAL_RX_PIN 66
|
||||
#endif
|
||||
#ifndef E1_SERIAL_TX_PIN
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E2_SERIAL_TX_PIN
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E2_SERIAL_RX_PIN
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E3_SERIAL_TX_PIN
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E3_SERIAL_RX_PIN
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E4_SERIAL_TX_PIN
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E4_SERIAL_RX_PIN
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E5_SERIAL_TX_PIN
|
||||
#define E5_SERIAL_TX_PIN -1
|
||||
#define E5_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E5_SERIAL_RX_PIN
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E6_SERIAL_TX_PIN
|
||||
#define E6_SERIAL_TX_PIN -1
|
||||
#define E6_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E6_SERIAL_RX_PIN
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#ifndef E7_SERIAL_TX_PIN
|
||||
#define E7_SERIAL_TX_PIN -1
|
||||
#define E7_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E7_SERIAL_RX_PIN
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user