My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_FELIX2.h 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /****************************************************************************************
  2. * FELIXprinters v2.0/3.0 pin assignment
  3. *
  4. ****************************************************************************************/
  5. #if MOTHERBOARD == BOARD_FELIX2
  6. #define KNOWN_BOARD 1
  7. //////////////////FIX THIS//////////////
  8. #ifndef __AVR_ATmega1280__
  9. #ifndef __AVR_ATmega2560__
  10. #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
  11. #endif
  12. #endif
  13. #define LARGE_FLASH true
  14. #define X_STEP_PIN 54
  15. #define X_DIR_PIN 55
  16. #define X_ENABLE_PIN 38
  17. #define X_MIN_PIN 3
  18. #define X_MAX_PIN -1
  19. #define Y_STEP_PIN 60
  20. #define Y_DIR_PIN 61
  21. #define Y_ENABLE_PIN 56
  22. #define Y_MIN_PIN 14
  23. #define Y_MAX_PIN -1
  24. #define Z_STEP_PIN 46
  25. #define Z_DIR_PIN 48
  26. #define Z_ENABLE_PIN 62
  27. #define Z_MIN_PIN 18
  28. #define Z_MAX_PIN -1
  29. #define Z2_STEP_PIN -1
  30. #define Z2_DIR_PIN -1
  31. #define Z2_ENABLE_PIN -1
  32. #define E0_STEP_PIN 26
  33. #define E0_DIR_PIN 28
  34. #define E0_ENABLE_PIN 24
  35. #define E1_STEP_PIN 36
  36. #define E1_DIR_PIN 34
  37. #define E1_ENABLE_PIN 30
  38. #define SDPOWER 1
  39. #define SDSS 53
  40. #define LED_PIN 13
  41. #define FAN_PIN 9 // (Sprinter config)
  42. #define PS_ON_PIN 12
  43. #define KILL_PIN -1
  44. #define HEATER_0_PIN 10 // EXTRUDER 1
  45. #define HEATER_1_PIN 7 // EXTRUDER 2 (FAN On Sprinter)
  46. #define HEATER_2_PIN -1
  47. #define HEATER_BED_PIN 8 // BED
  48. #define TEMP_0_PIN 13 // ANALOG NUMBERING
  49. #define TEMP_1_PIN 15 // ANALOG NUMBERING
  50. #define TEMP_2_PIN -1 // ANALOG NUMBERING
  51. #define TEMP_BED_PIN 14 // ANALOG NUMBERING
  52. #ifdef ULTRA_LCD
  53. #ifdef NEWPANEL
  54. //encoder rotation values
  55. #define encrot0 0
  56. #define encrot1 2
  57. #define encrot2 3
  58. #define encrot3 1
  59. #define BLEN_A 0
  60. #define BLEN_B 1
  61. #define BLEN_C 2
  62. #define LCD_PINS_RS 16
  63. #define LCD_PINS_ENABLE 17
  64. #define LCD_PINS_D4 23
  65. #define LCD_PINS_D5 25
  66. #define LCD_PINS_D6 27
  67. #define LCD_PINS_D7 29
  68. //arduino pin which triggers an piezzo beeper
  69. #define BEEPER 33 // Beeper on AUX-4
  70. //buttons are directly attached using AUX-2
  71. #define BTN_EN1 37
  72. #define BTN_EN2 35
  73. #define BTN_ENC 31 //the click
  74. #define SDCARDDETECT 6 // Ramps does not use this port
  75. #endif //NEWPANEL
  76. #endif //ULTRA_LCD
  77. // SPI for Max6675 Thermocouple
  78. #ifndef SDSUPPORT
  79. // these pins are defined in the SD library if building with SD support
  80. #define MAX_SCK_PIN 52
  81. #define MAX_MISO_PIN 50
  82. #define MAX_MOSI_PIN 51
  83. #define MAX6675_SS 53
  84. #else
  85. #define MAX6675_SS 49
  86. #endif
  87. #endif//MOTHERBOARD == BOARD_FELIX2