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_ORTUR_4.h 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. * Ortur 4 Arduino Mega based on RAMPS v1.4 pin assignments
  25. */
  26. #define BOARD_INFO_NAME "Ortur 4.3"
  27. #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
  28. //
  29. // Servos
  30. //
  31. #define SERVO0_PIN 29
  32. //
  33. // Limit Switches
  34. //
  35. #define X_MAX_PIN 18
  36. #define Z_MIN_PIN 63
  37. #define Z_MIN_PROBE_PIN 2
  38. #define FIL_RUNOUT_PIN 59
  39. //
  40. // Steppers
  41. //
  42. #define E0_STEP_PIN 36
  43. #define E0_DIR_PIN 34
  44. #define E0_ENABLE_PIN 30
  45. #define E0_CS_PIN 44
  46. #define E1_STEP_PIN 26
  47. #define E1_DIR_PIN 28
  48. #define E1_ENABLE_PIN 24
  49. #define E1_CS_PIN 42
  50. //
  51. // Temperature Sensors
  52. //
  53. #define TEMP_0_PIN 15 // Analog Input
  54. #define TEMP_1_PIN 13 // Analog Input
  55. #if HAS_TMC_UART
  56. #define X_SERIAL_TX_PIN 59
  57. #define X_SERIAL_RX_PIN 63
  58. #define Y_SERIAL_TX_PIN 64
  59. #define Y_SERIAL_RX_PIN 40
  60. #define Z_SERIAL_TX_PIN 44
  61. #define Z_SERIAL_RX_PIN 42
  62. #define E0_SERIAL_TX_PIN 66
  63. #define E0_SERIAL_RX_PIN 65
  64. #endif
  65. #include "pins_RAMPS.h"
  66. //
  67. // LCD / Controller
  68. //
  69. #if IS_RRD_FG_SC
  70. #undef BEEPER_PIN
  71. #define BEEPER_PIN 35
  72. #undef LCD_PINS_RS
  73. #undef LCD_PINS_ENABLE
  74. #undef LCD_PINS_D4
  75. #define LCD_PINS_RS 27
  76. #define LCD_PINS_ENABLE 23
  77. #define LCD_PINS_D4 37
  78. #undef LCD_SDSS
  79. #undef SD_DETECT_PIN
  80. #define LCD_SDSS 53
  81. #define SD_DETECT_PIN 49
  82. #undef BTN_EN1
  83. #undef BTN_EN2
  84. #undef BTN_ENC
  85. #define BTN_EN1 29
  86. #define BTN_EN2 25
  87. #define BTN_ENC 16
  88. #endif