My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pins_CNCONTROLS_11.h 2.8KB

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