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_3DRAG.h 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * 3DRAG (and K8200 / K8400) Arduino Mega with RAMPS v1.4 pin assignments
  24. */
  25. #ifndef BOARD_NAME
  26. #define BOARD_NAME "3Drag"
  27. #endif
  28. #ifndef DEFAULT_MACHINE_NAME
  29. #define DEFAULT_MACHINE_NAME "3Drag"
  30. #endif
  31. #ifndef DEFAULT_SOURCE_CODE_URL
  32. #define DEFAULT_SOURCE_CODE_URL "http://3dprint.elettronicain.it/"
  33. #endif
  34. //
  35. // Heaters / Fans
  36. //
  37. #define RAMPS_D8_PIN 9
  38. #define RAMPS_D9_PIN 8
  39. #define MOSFET_D_PIN 12
  40. #include "pins_RAMPS.h"
  41. //
  42. // Limit Switches
  43. //
  44. #undef Z_MAX_PIN
  45. #define Z_MAX_PIN -1
  46. //
  47. // Steppers
  48. //
  49. #undef Z_ENABLE_PIN
  50. #define Z_ENABLE_PIN 63
  51. //
  52. // Heaters / Fans
  53. //
  54. #define HEATER_2_PIN 6
  55. //
  56. // Misc. Functions
  57. //
  58. #undef SDSS
  59. #define SDSS 25
  60. #undef SD_DETECT_PIN
  61. #define SD_DETECT_PIN 53
  62. //
  63. // LCD / Controller
  64. //
  65. #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
  66. #undef BEEPER_PIN
  67. #define BEEPER_PIN -1
  68. #undef LCD_PINS_RS
  69. #undef LCD_PINS_ENABLE
  70. #undef LCD_PINS_D4
  71. #undef LCD_PINS_D5
  72. #undef LCD_PINS_D6
  73. #undef LCD_PINS_D7
  74. #define LCD_PINS_RS 27
  75. #define LCD_PINS_ENABLE 29
  76. #define LCD_PINS_D4 37
  77. #define LCD_PINS_D5 35
  78. #define LCD_PINS_D6 33
  79. #define LCD_PINS_D7 31
  80. // Buttons
  81. #undef BTN_EN1
  82. #undef BTN_EN2
  83. #undef BTN_ENC
  84. #define BTN_EN1 16
  85. #define BTN_EN2 17
  86. #define BTN_ENC 23
  87. #else
  88. #define BEEPER_PIN 33
  89. #endif // ULTRA_LCD && NEWPANEL