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 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /**
  2. * CartesioV12 pin assignments
  3. */
  4. #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
  5. #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define BOARD_NAME "CN Controls V12"
  8. //#define LARGE_FLASH true
  9. #define X_ENABLE_PIN 26
  10. #define X_STEP_PIN 25
  11. #define X_DIR_PIN 27
  12. #define X_MIN_PIN 19
  13. #define X_MAX_PIN -1
  14. #define Y_ENABLE_PIN 29
  15. #define Y_STEP_PIN 28
  16. #define Y_DIR_PIN 30
  17. #define Y_MIN_PIN 22
  18. #define Y_MAX_PIN -1
  19. #define Z_ENABLE_PIN 32
  20. #define Z_STEP_PIN 31
  21. #define Z_DIR_PIN 33
  22. #define Z_MIN_PIN 23
  23. #define Z_MAX_PIN -1
  24. #define E0_ENABLE_PIN 58
  25. #define E0_STEP_PIN 57
  26. #define E0_DIR_PIN 55
  27. #define HEATER_0_PIN 11
  28. #define TEMP_0_PIN 0 // ANALOG INPUT !!
  29. #define E1_ENABLE_PIN 60
  30. #define E1_STEP_PIN 61
  31. #define E1_DIR_PIN 62
  32. #define HEATER_1_PIN 9
  33. #define TEMP_1_PIN 9 // 9 for tool3 -> 13 for chambertemp
  34. #define E2_ENABLE_PIN 44
  35. #define E2_STEP_PIN 46
  36. #define E2_DIR_PIN 66
  37. #define HEATER_2_PIN 6
  38. #define TEMP_2_PIN 13 // 10 for tool3 -> 13 for chambertemp
  39. #define E3_ENABLE_PIN 47
  40. #define E3_STEP_PIN 45
  41. #define E3_DIR_PIN 69
  42. #define HEATER_3_PIN 3
  43. #define TEMP_3_PIN 11 // 11 for tool4 -> 13 for chambertemp
  44. #define HEATER_BED_PIN 24
  45. #define TEMP_BED_PIN 14 // ANALOG INPUT !!
  46. // Tools
  47. //#define TOOL_0_PIN 56
  48. //#define TOOL_0_PWM_PIN 10 // red warning led at dual extruder
  49. //#define TOOL_1_PIN 59
  50. //#define TOOL_1_PWM_PIN 8 // lights at dual extruder
  51. //#define TOOL_2_PIN 4
  52. //#define TOOL_2_PWM_PIN 5
  53. //#define TOOL_3_PIN 14
  54. //#define TOOL_3_PWM_PIN 2
  55. // Common I/O
  56. //#define TEMP_CHAMBER_PIN 13 // ANALOG INPUT !!
  57. #define FIL_RUNOUT_PIN 18
  58. //#define PWM_1_PIN 12
  59. //#define PWM_2_PIN 13
  60. //#define SPARE_IO 17
  61. #define FAN_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools
  62. // User interface
  63. #define BEEPER_PIN 16
  64. // Pins for DOGM SPI LCD Support
  65. #define DOGLCD_A0 39
  66. #define DOGLCD_CS 35
  67. #define DOGLCD_MOSI 48
  68. #define DOGLCD_SCK 49
  69. #define LCD_SCREEN_ROT_180
  70. // The encoder and click button
  71. #define BTN_EN1 36
  72. #define BTN_EN2 34
  73. #define BTN_ENC 38
  74. // Hardware buttons for manual movement of XYZ
  75. #define SHIFT_OUT 42
  76. #define SHIFT_LD 41
  77. #define SHIFT_CLK 40
  78. //#define UI1 43
  79. //#define UI2 37
  80. // Other
  81. #define SDSS 53
  82. #define SD_DETECT_PIN 15
  83. #define STAT_LED_BLUE -1
  84. #define STAT_LED_RED 10 // TOOL_0_PWM_PIN