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_RAMPS_PLUS.h 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. * Arduino Mega with RAMPS v1.4Plus, also known as 3DYMY version, pin assignments
  25. *
  26. * Applies to the following boards:
  27. *
  28. * RAMPS_PLUS_EFB (Extruder, Fan, Bed)
  29. * RAMPS_PLUS_EEB (Extruder, Extruder, Bed)
  30. * RAMPS_PLUS_EFF (Extruder, Fan, Fan)
  31. * RAMPS_PLUS_EEF (Extruder, Extruder, Fan)
  32. * RAMPS_PLUS_SF (Spindle, Controller Fan)
  33. *
  34. * Differences from RAMPS v1.4:
  35. * - Swap heater E0 with E1
  36. * - Swap pins 8 and 10. Bed/Fan/Hotend as labeled on the board are on pins 8/9/10.
  37. * - Change EXP1/2 pins
  38. */
  39. #include "env_validate.h"
  40. #define BOARD_INFO_NAME "RAMPS 1.4 Plus"
  41. #define MOSFET_A_PIN 8
  42. #define MOSFET_C_PIN 10
  43. //
  44. // Steppers
  45. //
  46. #define X_CS_PIN -1
  47. #define Y_CS_PIN -1
  48. #define Z_CS_PIN -1
  49. // Swap E0 / E1 on 3DYMY
  50. #define E0_STEP_PIN 36
  51. #define E0_DIR_PIN 34
  52. #define E0_ENABLE_PIN 30
  53. #define E0_CS_PIN -1
  54. #define E1_STEP_PIN 26
  55. #define E1_DIR_PIN 28
  56. #define E1_ENABLE_PIN 24
  57. #define E1_CS_PIN -1
  58. /** 3DYMY Expansion Headers
  59. * ------ ------
  60. * 37 | 1 2 | 35 (MISO) 50 | 1 2 | 52 (SCK)
  61. * 31 | 3 4 | 41 29 | 3 4 | 53
  62. * 33 5 6 | 23 25 5 6 | 51 (MOSI)
  63. * 42 | 7 8 | 44 49 | 7 8 | 27
  64. * GND | 9 10 | 5V GND | 9 10 | --
  65. * ------ ------
  66. * EXP1 EXP2
  67. */
  68. #define EXP1_01_PIN 37
  69. #define EXP1_02_PIN 35
  70. #define EXP1_03_PIN 31
  71. #define EXP1_04_PIN 41
  72. #define EXP1_05_PIN 33
  73. #define EXP1_06_PIN 23
  74. #define EXP1_07_PIN 42
  75. #define EXP1_08_PIN 44
  76. #define EXP2_01_PIN 50
  77. #define EXP2_02_PIN 52
  78. #define EXP2_03_PIN 29
  79. #define EXP2_04_PIN 53
  80. #define EXP2_05_PIN 25
  81. #define EXP2_06_PIN 51
  82. #define EXP2_07_PIN 49
  83. #define EXP2_08_PIN 27
  84. #include "pins_RAMPS.h"