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_INTAMSYS40.h 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * Intamsys Funmat HT V4.0 Mainboard
  25. * 4988 Drivers Tested
  26. * 2208 version exists and may or may not work
  27. */
  28. #if NOT_TARGET(__AVR_ATmega2560__)
  29. #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
  30. #endif
  31. #define BOARD_INFO_NAME "Intamsys 4.0"
  32. //
  33. // Servos
  34. //
  35. #define SERVO0_PIN 12 // Uses High Temp Present Jumper Pin
  36. //
  37. // Limit Switches
  38. //
  39. #define X_STOP_PIN 22
  40. #define Y_STOP_PIN 26
  41. #define Z_MIN_PIN 29
  42. #define Z_MAX_PIN 69
  43. #ifndef Z_MIN_PROBE_PIN
  44. #define Z_MIN_PROBE_PIN 69
  45. #endif
  46. #define FIL_RUNOUT_PIN 10
  47. //
  48. // Steppers
  49. //
  50. #define X_STEP_PIN 25
  51. #define X_DIR_PIN 23
  52. #define X_ENABLE_PIN 27 // 44
  53. #define Y_STEP_PIN 32 // 33
  54. #define Y_DIR_PIN 33 // 31, 32
  55. #define Y_ENABLE_PIN 31 // 32
  56. #define Z_STEP_PIN 35 // 35
  57. #define Z_DIR_PIN 36
  58. #define Z_ENABLE_PIN 34 // 34
  59. #define E0_STEP_PIN 42
  60. #define E0_DIR_PIN 43
  61. #define E0_ENABLE_PIN 37
  62. #define E1_STEP_PIN 49
  63. #define E1_DIR_PIN 47
  64. #define E1_ENABLE_PIN 48
  65. #define MOTOR_CURRENT_PWM_X_PIN 11
  66. #define MOTOR_CURRENT_PWM_Y_PIN 44
  67. #define MOTOR_CURRENT_PWM_Z_PIN 45
  68. #define MOTOR_CURRENT_PWM_E_PIN 46
  69. // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
  70. #ifndef MOTOR_CURRENT_PWM_RANGE
  71. #define MOTOR_CURRENT_PWM_RANGE 2000
  72. #endif
  73. #define DEFAULT_PWM_MOTOR_CURRENT { 1300, 1300, 1250 }
  74. //
  75. // Temperature Sensors
  76. //
  77. #define TEMP_0_PIN 8 // Analog Input D62
  78. #define TEMP_BED_PIN 10 // Analog Input D64
  79. #define TEMP_CHAMBER_PIN 9 // Analog Input D63
  80. //
  81. // Heaters / Fans
  82. //
  83. #define HEATER_0_PIN 2 // PWM
  84. #define HEATER_BED_PIN 4 // PWM
  85. #define HEATER_CHAMBER_PIN 3 // PWM
  86. #define FAN_PIN 7 // PWM
  87. //
  88. // Misc. Functions
  89. //
  90. #define SDSS 53
  91. #define SD_DETECT_PIN 39
  92. #if ENABLED(CASE_LIGHT_ENABLE)
  93. #define CASE_LIGHT_PIN 8
  94. #endif
  95. #if ENABLED(PSU_CONTROL)
  96. #define PS_ON_PIN 38 // UPS Module
  97. #endif
  98. //
  99. // LCD Controller
  100. //
  101. #define BEEPER_PIN 18
  102. #if HAS_WIRED_LCD
  103. #define LCD_PINS_RS 20
  104. #define LCD_PINS_ENABLE 30
  105. #define LCD_PINS_D4 14
  106. #define LCD_PINS_D5 21
  107. #define LCD_PINS_D6 5
  108. #define LCD_PINS_D7 6
  109. #define BTN_EN1 40
  110. #define BTN_EN2 41
  111. #define BTN_ENC 19
  112. #endif
  113. ///////////////////// SPARE HEADERS //////////////
  114. /**
  115. * J25
  116. * 1 D54
  117. * 2 D55
  118. * 3 D56
  119. * 4 D57
  120. * 5 D58
  121. * 6 D59
  122. * 7 D60
  123. * 8 D61
  124. Hotend High Temp Connected : D12
  125. */