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_CNCONTROLS_12.h 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /**
  2. * CartesioV12 pin assignments
  3. */
  4. #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
  5. #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
  6. #endif
  7. #define BOARD_NAME "CN Controls V12"
  8. //
  9. // Limit Switches
  10. //
  11. #define X_STOP_PIN 19
  12. #define Y_STOP_PIN 22
  13. #define Z_STOP_PIN 23
  14. //
  15. // Steppers
  16. //
  17. #define X_STEP_PIN 25
  18. #define X_DIR_PIN 27
  19. #define X_ENABLE_PIN 26
  20. #define Y_STEP_PIN 28
  21. #define Y_DIR_PIN 30
  22. #define Y_ENABLE_PIN 29
  23. #define Z_STEP_PIN 31
  24. #define Z_DIR_PIN 33
  25. #define Z_ENABLE_PIN 32
  26. #define E0_STEP_PIN 57
  27. #define E0_DIR_PIN 55
  28. #define E0_ENABLE_PIN 58
  29. #define E1_STEP_PIN 61
  30. #define E1_DIR_PIN 62
  31. #define E1_ENABLE_PIN 60
  32. #define E2_STEP_PIN 46
  33. #define E2_DIR_PIN 66
  34. #define E2_ENABLE_PIN 44
  35. #define E3_STEP_PIN 45
  36. #define E3_DIR_PIN 69
  37. #define E3_ENABLE_PIN 47
  38. //
  39. // Temperature Sensors
  40. //
  41. #define TEMP_0_PIN 0 // Analog Input
  42. #define TEMP_1_PIN 9 // Analog Input. 9 for tool2 -> 13 for chambertemp
  43. #define TEMP_2_PIN 13 // Analog Input. 10 for tool3 -> 13 for chambertemp
  44. #define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 13 for chambertemp
  45. #define TEMP_BED_PIN 14 // Analog Input
  46. //#define TEMP_CHAMBER_PIN 13 // Analog Input
  47. //
  48. // Heaters / Fans
  49. //
  50. #define HEATER_0_PIN 11
  51. #define HEATER_1_PIN 9
  52. #define HEATER_2_PIN 6
  53. #define HEATER_3_PIN 3
  54. #define HEATER_BED_PIN 24
  55. #ifndef FAN_PIN
  56. #define FAN_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools
  57. #endif
  58. #define ORIG_E0_AUTO_FAN_PIN 7
  59. #define ORIG_E1_AUTO_FAN_PIN 7
  60. #define ORIG_E2_AUTO_FAN_PIN 7
  61. #define ORIG_E3_AUTO_FAN_PIN 7
  62. //
  63. // Misc. Functions
  64. //
  65. #define SDSS 53
  66. #define SD_DETECT_PIN 15
  67. // Tools
  68. //#define TOOL_0_PIN 56
  69. //#define TOOL_0_PWM_PIN 10 // red warning led at dual extruder
  70. //#define TOOL_1_PIN 59
  71. //#define TOOL_1_PWM_PIN 8 // lights at dual extruder
  72. //#define TOOL_2_PIN 4
  73. //#define TOOL_2_PWM_PIN 5
  74. //#define TOOL_3_PIN 14
  75. //#define TOOL_3_PWM_PIN 2
  76. // Common I/O
  77. #ifndef FIL_RUNOUT_PIN
  78. #define FIL_RUNOUT_PIN 18
  79. #endif
  80. //#define PWM_1_PIN 12
  81. //#define PWM_2_PIN 13
  82. //#define SPARE_IO 17
  83. //
  84. // LCD / Controller
  85. //
  86. #define BEEPER_PIN 16
  87. // Pins for DOGM SPI LCD Support
  88. #define DOGLCD_A0 39
  89. #define DOGLCD_CS 35
  90. #define DOGLCD_MOSI 48
  91. #define DOGLCD_SCK 49
  92. #define LCD_SCREEN_ROT_180
  93. // The encoder and click button
  94. #define BTN_EN1 36
  95. #define BTN_EN2 34
  96. #define BTN_ENC 38
  97. // Hardware buttons for manual movement of XYZ
  98. #define SHIFT_OUT 42
  99. #define SHIFT_LD 41
  100. #define SHIFT_CLK 40
  101. //#define UI1 43
  102. //#define UI2 37
  103. #define STAT_LED_BLUE_PIN -1
  104. #define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN