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

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