My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pins_CNCONTROLS_12.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. //Tools
  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 TOOL_0_PIN 56
  30. // #define TOOL_0_PWM_PIN 10 // used for red warning led at dual extruder
  31. #define E1_ENABLE_PIN 60
  32. #define E1_STEP_PIN 61
  33. #define E1_DIR_PIN 62
  34. #define HEATER_1_PIN 9
  35. #define TEMP_1_PIN 9 // 9 for tool3 -> 13 for chambertemp
  36. // #define TOOL_1_PIN 59
  37. // #define TOOL_1_PWM_PIN 8 // used for lights at dual extruder
  38. #define E2_ENABLE_PIN 44
  39. #define E2_STEP_PIN 46
  40. #define E2_DIR_PIN 66
  41. #define HEATER_2_PIN 6
  42. #define TEMP_2_PIN 13 // 10 for tool3 -> 13 for chambertemp
  43. // #define TOOL_2_PIN 4
  44. // #define TOOL_2_PWM_PIN 5
  45. #define E3_ENABLE_PIN 47
  46. #define E3_STEP_PIN 45
  47. #define E3_DIR_PIN 69
  48. #define HEATER_3_PIN 3
  49. #define TEMP_3_PIN 11 // 11 for tool4 -> 13 for chambertemp
  50. // #define TOOL_3_PIN 14
  51. // #define TOOL_3_PWM_PIN 2
  52. #define HEATER_BED_PIN 24
  53. #define TEMP_BED_PIN 14 // ANALOG INPUT !!
  54. //common I/O
  55. //#define TEMP_CHAMBER_PIN 13 // ANALOG INPUT !!
  56. //#define FILAMENT_RUNOUT_SENSOR 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 //the click switch
  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